Added global precision error and modelica output functions