Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen.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-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 173.3 kB / 16.11 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 222.3 MB, free: 13.64 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.0009562/0.000956, allocations: 98.23 kB / 270.6 MB, free: 13.15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.07119/0.07119, allocations: 14.21 MB / 333.1 MB, free: 8.574 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005327/0.0005328, allocations: 10.38 kB / 397.6 MB, free: 49.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1182, allocations: 51.13 MB / 448.8 MB, free: 3.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4253/0.5436, allocations: 103.4 MB / 0.5392 GB, free: 29.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.5439, allocations: 96.41 kB / 0.5393 GB, free: 29.2 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/Electrical/BaseClasses/PortAC.mo:49:3-50:32:writable] Error: Variable S.re not found in scope PowerGrids.Electrical.BaseClasses.PortAC$NTLV$port. Error: Error occurred while flattening model PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithControlledGen