This example tests the basic version of the three phase PLL acting on a distorted signal. Note that performance is satisfying as long as the input is balanced, i.e. as long as no negative sequence and/or zero component is added.