Hi deli Thanks a lot for your suggestions.
I tried to apply the load torque using torque component that you suggested.
What we expect is electromagnetic torque should also have followed a sinusoidal pattern corresponding to load torque.
However, electromagnetic torque produced is a horizontal straight line .
Could you please suggest where am I going wrong ?