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.001201/0.001201, allocations: 111.8 kB / 17.75 MB, free: 5.348 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.001215/0.001215, allocations: 185.8 kB / 18.68 MB, free: 4.426 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.29/1.29, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1681/0.1681, allocations: 38.04 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.389e-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.004328/0.004361, allocations: 3.44 MB / 462.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.006273, allocations: 1.512 MB / 463.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.006392, allocations: 7.938 kB / 463.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000752/0.00715, allocations: 258.9 kB / 464 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.007701, allocations: 275 kB / 464.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.00801, allocations: 131.6 kB / 464.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.008416, allocations: 363 kB / 464.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.008677, allocations: 105.4 kB / 464.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.008884, allocations: 151.4 kB / 465 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.009051, allocations: 107.5 kB / 465.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.009081, allocations: 12 kB / 465.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.009457, allocations: 267.3 kB / 465.4 MB, free: 312 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.0002334/0.009699, allocations: 300.9 kB / 465.6 MB, free: 8 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001501/0.009856, allocations: 201.7 kB / 465.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.009904, allocations: 35.88 kB / 465.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-05/0.009938, allocations: 4 kB / 465.9 MB, free: 15.77 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.0009451/0.01089, allocations: 0.9043 MB / 466.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of FunctionAlias: time 4.45e-05/0.01094, allocations: 31.91 kB / 466.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0005463/0.01149, allocations: 0.5373 MB / 467.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simplify1: time 3.807e-05/0.01154, allocations: 27.95 kB / 467.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of Alias: time 0.0006464/0.01219, allocations: 0.5069 MB / 467.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simplify2: time 3.319e-05/0.01224, allocations: 31.94 kB / 467.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of Events: time 4.451e-05/0.01229, allocations: 27.97 kB / 468 MB, free: 13.49 MB / 350.1 MB Notification: Performance of Detect States: time 0.000168/0.01246, allocations: 138.7 kB / 468.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001887/0.01266, allocations: 165.1 kB / 468.2 MB, free: 13.16 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)