With designing stator teeth by using grain oriented silicon sheets (GO) and other parts still with non-grain oriented silicon sheets (NGO), the electromagnetic performance of interior permanent magnet synchronous machine (GO-IPMSM) can be improved greatly, however its torque ripple will be increased as well. For reducing its torque ripple, optimizing its rotor barrier shape is an effective way. In this paper, the polynomial method is proposed to establish the rotor barrier shape, and the genetic algorithm (GA) method is employed for the optimization process. In case the optimized GO-IPMSM can work normally, its anti irreversible demagnetization ability is analyzed as well. As shown, with the GO is adopted for designing the stator teeth and its rotor barrier shape is optimized, though its torque ability and efficiency have been increased, its anti irreversible demagnetization risk ability is reduced, however the proposed machine can still operate safely.