This function returns the Complex square root (principal square root) of the Complex input.
function sqrt extends Modelica.Icons.Function; input Complex c1 "Complex number"; output Complex c2 "= sqrt(c1)"; end sqrt;