Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001558/0.001559, allocations: 196.5 kB / 17.29 MB, free: 4.488 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.721/1.721, allocations: 194.2 MB / 212.2 MB, free: 2.379 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001991/0.001991, allocations: 128.3 kB / 256.6 MB, free: 4.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2384/0.2384, allocations: 37.94 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.394e-05/3.41e-05, allocations: 5.781 kB / 401.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008718/0.008776, allocations: 7.356 MB / 409.1 MB, free: 61.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005043/0.01387, allocations: 2.377 MB / 411.5 MB, free: 59.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.0155, allocations: 47.69 kB / 411.5 MB, free: 58.99 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.0175, allocations: 0.6657 MB / 412.2 MB, free: 58.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.019, allocations: 350.5 kB / 412.5 MB, free: 57.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.02045, allocations: 355.4 kB / 412.9 MB, free: 57.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.02194, allocations: 0.944 MB / 413.8 MB, free: 56.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009466/0.0229, allocations: 378.3 kB / 414.2 MB, free: 56.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009469/0.02386, allocations: 406.3 kB / 414.6 MB, free: 55.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007829/0.02466, allocations: 358.6 kB / 414.9 MB, free: 55.55 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.02479, allocations: 36 kB / 415 MB, free: 55.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006406/0.02544, allocations: 187.7 kB / 415.2 MB, free: 55.33 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.0008648/0.02631, allocations: 0.862 MB / 416 MB, free: 54.46 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.0005662/0.02689, allocations: 0.567 MB / 416.6 MB, free: 53.89 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.02721, allocations: 87.69 kB / 416.7 MB, free: 53.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0001137/0.02733, allocations: 4 kB / 416.7 MB, free: 53.8 MB / 314.7 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i2