This function returns the Complex natural logarithm of the Complex input.
function log extends Modelica.Icons.Function; input Complex c1 "Complex number"; output Complex c2 "= log(c1)"; end log;