changes from c++ to modelica (currently not working)