Reduced FEA-state space modeling of stationary magnetic devices