Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine.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.AC1ph_DC.Elementary.DoublelLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001377/0.001377, 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.735/1.735, 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.002181/0.00218, allocations: 125.8 kB / 256.6 MB, free: 4.328 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2187/0.2187, allocations: 37.95 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.105e-05, allocations: 5.125 kB / 401.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.DoublelLine): time 0.009789/0.009836, allocations: 10.37 MB / 412.1 MB, free: 58.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005417/0.01531, allocations: 2.918 MB / 415 MB, free: 55.47 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000907/0.01625, allocations: 59.62 kB / 415.1 MB, free: 55.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009469/0.01727, allocations: 290.3 kB / 415.4 MB, free: 55.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.01898, allocations: 0.751 MB / 416.1 MB, free: 54.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008475/0.01984, allocations: 351.5 kB / 416.5 MB, free: 54.03 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.0213, allocations: 1.889 MB / 418.4 MB, free: 52.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000435/0.02175, allocations: 304 kB / 418.7 MB, free: 51.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009214/0.02268, allocations: 0.8171 MB / 419.5 MB, free: 51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008902/0.02358, allocations: 0.7942 MB / 420.3 MB, free: 50.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.02371, allocations: 84 kB / 420.4 MB, free: 50.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.02418, allocations: 231.5 kB / 420.6 MB, free: 49.89 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.001071/0.02526, allocations: 1.741 MB / 422.3 MB, free: 48.14 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.0005119/0.02578, allocations: 1.034 MB / 423.4 MB, free: 47.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.02597, allocations: 147.6 kB / 423.5 MB, free: 46.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0001142/0.0261, allocations: 12 kB / 423.5 MB, free: 46.93 MB / 314.7 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for k Notification: Performance of Bindings: time 0.002981/0.02908, allocations: 4.208 MB / 427.7 MB, free: 42.57 MB / 314.7 MB Notification: Performance of simplify1: time 0.0001376/0.02923, allocations: 159.8 kB / 427.9 MB, free: 42.41 MB / 314.7 MB Notification: Performance of Alias: time 0.001481/0.03072, allocations: 1.368 MB / 429.2 MB, free: 40.84 MB / 314.7 MB Notification: Performance of simplify2: time 0.0001096/0.03084, allocations: 143.8 kB / 429.4 MB, free: 40.7 MB / 314.7 MB Notification: Performance of Events: time 0.0002612/0.03111, allocations: 300.8 kB / 429.7 MB, free: 40.4 MB / 314.7 MB Notification: Performance of DetectStates: time 0.0005199/0.03164, allocations: 414.8 kB / 430.1 MB, free: 40 MB / 314.7 MB Error: Internal error NBVariable.getVarPointer failed for k, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.