Current harmonic elimination for dual three‐phase PMSM based on a spatial analytical model of flux linkage