Added experiment stoptime annotation and various fixes for OpenModelica compatibility