I am trying to perform an AC Sweep to determine small signal response of a UPFC but I am getting an error stating "State Discontinuity after Switching." Would anyone be able to help? I tried to initialize from Steady-state but still getting the same error message.