Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Fault.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.Fault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Fault") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Fault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Fault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00231/0.00231, allocations: 196.5 kB / 17.29 MB, free: 4.465 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.857/1.857, allocations: 194.2 MB / 212.2 MB, free: 2.375 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.001806/0.001806, allocations: 118.2 kB / 256.6 MB, free: 4.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2056/0.2056, allocations: 37.95 MB / 338.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/2.881e-05, allocations: 2.281 kB / 401.7 MB, free: 68.81 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Fault): time 0.01025/0.0103, allocations: 7.925 MB / 409.7 MB, free: 60.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004786/0.01516, allocations: 1.949 MB / 411.6 MB, free: 58.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.01631, allocations: 43.75 kB / 411.7 MB, free: 58.85 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007031/0.01709, allocations: 131.1 kB / 411.8 MB, free: 58.72 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.01845, allocations: 410.2 kB / 412.2 MB, free: 58.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009096/0.01938, allocations: 267.7 kB / 412.4 MB, free: 58.06 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.02078, allocations: 1.191 MB / 413.6 MB, free: 56.87 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004095/0.0212, allocations: 191.1 kB / 413.8 MB, free: 56.67 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008965/0.02212, allocations: 0.4901 MB / 414.3 MB, free: 56.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.02279, allocations: 434.2 kB / 414.7 MB, free: 55.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.02291, allocations: 60 kB / 414.8 MB, free: 55.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/0.02319, allocations: 87.91 kB / 414.9 MB, free: 55.61 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.0009116/0.02412, allocations: 1.187 MB / 416.1 MB, free: 54.41 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.0004606/0.02459, allocations: 0.7324 MB / 416.8 MB, free: 53.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.02482, allocations: 115.6 kB / 416.9 MB, free: 53.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0001021/0.02493, allocations: 8 kB / 416.9 MB, free: 53.54 MB / 314.7 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for k Notification: Performance of Bindings: time 0.002887/0.02783, allocations: 2.808 MB / 419.7 MB, free: 50.62 MB / 314.7 MB Notification: Performance of simplify1: time 0.0001521/0.028, allocations: 95.84 kB / 419.8 MB, free: 50.53 MB / 314.7 MB Notification: Performance of Alias: time 0.001368/0.02938, allocations: 0.9372 MB / 420.8 MB, free: 49.45 MB / 314.7 MB Notification: Performance of simplify2: time 9.164e-05/0.02949, allocations: 87.8 kB / 420.9 MB, free: 49.37 MB / 314.7 MB Notification: Performance of Events: time 0.0003083/0.02981, allocations: 229.9 kB / 421.1 MB, free: 49.12 MB / 314.7 MB Notification: Performance of DetectStates: time 0.0004353/0.03026, allocations: 331.5 kB / 421.4 MB, free: 48.8 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.