Here the three phase PLL is tested at the output voltages of a three phase PWM inverter. Note that there are distortions present at the outputs but keep in mind that normally such a PWM inverter is used with a line inductor, the voltage to synchronize with is measured at the input of the line inductor and this voltage contains less harmonics than the voltage directly at the input of the inverter.