Implementation of classes for generating modelica