Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 117.1 kB / 17.76 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 188.6 kB / 18.68 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1601/0.1601, allocations: 38.05 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.4e-05, allocations: 2.281 kB / 458.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003865/0.003887, allocations: 3.445 MB / 462.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.005701, allocations: 1.52 MB / 463.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.707e-05/0.005809, allocations: 7.938 kB / 463.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007015/0.006517, allocations: 259 kB / 464 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.007001, allocations: 279 kB / 464.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.007273, allocations: 127.6 kB / 464.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.007668, allocations: 370.9 kB / 464.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.007896, allocations: 89.48 kB / 464.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.008099, allocations: 151.4 kB / 465 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.008258, allocations: 111.5 kB / 465.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.008288, allocations: 16 kB / 465.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.00865, allocations: 271.3 kB / 465.4 MB, free: 292 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.00023/0.008888, allocations: 304.9 kB / 465.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001318/0.009027, allocations: 209.5 kB / 465.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.009071, allocations: 31.88 kB / 465.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.239e-05/0.009098, allocations: 0 / 465.9 MB, free: 15.75 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 (33) * Number of variables: 49 (32) Notification: Performance of Bindings: time 0.0009045/0.01001, allocations: 0.898 MB / 466.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.683e-05/0.01005, allocations: 39.84 kB / 466.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0005036/0.01056, allocations: 0.5295 MB / 467.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simplify1: time 4.246e-05/0.01061, allocations: 31.94 kB / 467.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Alias: time 0.0006083/0.01123, allocations: 0.5031 MB / 467.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simplify2: time 4.004e-05/0.01128, allocations: 31.95 kB / 467.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001548/0.01144, allocations: 120 kB / 468.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Events: time 3.824e-05/0.01148, allocations: 31.97 kB / 468.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of Partitioning: time 0.000186/0.01168, allocations: 177 kB / 468.3 MB, free: 13.14 MB / 350.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: load.terminal.v[2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) {load.terminal.v * load.terminal.i, -{-load.terminal.v[2], load.terminal.v[1]} * load.terminal.i} = {load.P, load.P * tan(load.phi)} ($RES_SIM_6)