SpacePhasorsLibrary with space phasormodels 
Basic space phasor models 

Blocks for space phasor transformation 

Functions for space phasor transformation 
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This package contains components, blocks and functions to utilize space phasor theory.
Space phasors are defined as vectors of length = 2, the first element representing the real part and the second element representing the imaginary part of the space phasor.
You may have a look at a short summary of space phasor theory at https://www.haumer.at/refimg/SpacePhasors.pdf