A Generalized Per-Phase Equivalent Circuit Model of the PMSM With Predictable Core Loss