Analytical modelling of air‐gap magnetic field of interior permanent magnet synchronous motors