Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad.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.OneBusImpedanceOneVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007963/0.007963, allocations: 172 kB / 15.11 MB, free: 5.98 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.48/1.48, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0009133/0.0009134, allocations: 86.88 kB / 269.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05241/0.05241, allocations: 14.18 MB / 332 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 8.281 kB / 393.6 MB, free: 51.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1005, allocations: 51.13 MB / 444.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.2171, allocations: 83.49 MB / 0.5159 GB, free: 3.277 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.2174, allocations: 71.97 kB / 0.5159 GB, free: 3.207 MB / 362.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$bus1$port. Error: Error occurred while flattening model PowerGrids.Electrical.Test.OneBusImpedanceOneVariableLoad Notification: Performance of FrontEnd: time 0.2047/0.4222, allocations: 5.666 MB / 0.5215 GB, free: 82.61 MB / 362.7 MB