Text this: A Semi-Analytical Approach for State-Space Electromagnetic Transient Simulation