Phase lag in output 3 phase 2-level inverter ouput
As @AJN stated,
reference wave frequency =50Hz
for 1.5 degrees 1/50∗1.5/360=83μs , the step time of simulations is 50μs ,so there is around 1.5 steps of delay. whatever the cause might be, if we decrease the step time even more, we can get very less time delay for 1.5 steps which means very less phase delay.
For my problem I changed my step time from 5e-6 to 5e-8 and got my desired results, though the simulation takes a lot of time with this much low step size, I can get accurate results with this step time