Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation.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 -lv=LOG_INIT_HOMOTOPY since it seems broken on HelloWorld Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithReferenceCalculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation,fileNamePrefix="PowerGrids_PowerGrids_Examples_Tutorial_GridOperation_Controlled_ControlledGridWithReferenceCalculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.733/1.733, allocations: 205.2 MB / 218.5 MB, free: 9.152 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.0009621/0.0009619, allocations: 82.59 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06196/0.06196, allocations: 14.03 MB / 328.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.265e-05, allocations: 7.984 kB / 389.8 MB, free: 66.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09532, allocations: 51.11 MB / 440.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/0.5004, allocations: 102.8 MB / 0.5309 GB, free: 8.156 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.5006, allocations: 82.52 kB / 0.531 GB, free: 8.113 MB / 346.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$GEN$port. Error: Error occurred while flattening model PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculation Notification: Performance of FrontEnd: time 0.02033/0.521, allocations: 8.603 MB / 0.5394 GB, free: 1.055 MB / 346.7 MB