Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001962/0.001962, allocations: 180.8 kB / 7.456 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.076/1.076, allocations: 205.2 MB / 213.1 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009872/0.0009872, allocations: 86.86 kB / 261.1 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05846/0.05846, allocations: 14 MB / 323 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.251e-06/6.261e-06, allocations: 0 / 380.2 MB, free: 74.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08303/0.08305, allocations: 51.12 MB / 431.3 MB, free: 23.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2514/0.3345, allocations: 89.76 MB / 0.5088 GB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/0.3349, allocations: 74.14 kB / 0.5089 GB, free: 10.04 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/Electrical/BaseClasses/PortAC.mo:49:3-50:32:writable] Error: Variable S.re not found in scope PowerGrids.Electrical.BaseClasses.PortAC$bus$port. Error: Error occurred while flattening model PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad