Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 109.5 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.001287/0.001287, allocations: 184.2 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.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1657/0.1657, allocations: 38.04 MB / 330.6 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.099e-05, allocations: 2.281 kB / 458.8 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005848/0.005877, allocations: 4.505 MB / 463.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.008496, allocations: 1.418 MB / 464.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003414/0.008859, allocations: 11.94 kB / 464.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009399/0.009811, allocations: 286.6 kB / 465 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008119/0.01068, allocations: 286.7 kB / 465.3 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007711/0.01147, allocations: 247.4 kB / 465.5 MB, free: 140 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.01251, allocations: 0.7366 MB / 466.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.0129, allocations: 161.2 kB / 466.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000575/0.01348, allocations: 290.9 kB / 466.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.01399, allocations: 255 kB / 466.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.963e-05/0.01407, allocations: 24 kB / 467 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.01452, allocations: 187.6 kB / 467.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0005939/0.01512, allocations: 0.6224 MB / 467.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003322/0.01546, allocations: 422.7 kB / 468.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.01562, allocations: 59.81 kB / 468.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.501e-05/0.0157, allocations: 11.94 kB / 468.2 MB, free: 13.38 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: 135 (60) * Number of variables: 135 (63) Notification: Performance of Bindings: time 0.001869/0.01758, allocations: 1.71 MB / 470 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002073/0.0178, allocations: 143.4 kB / 470.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001222/0.01903, allocations: 1.073 MB / 471.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001054/0.01914, allocations: 71.88 kB / 471.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Alias: time 0.001523/0.02068, allocations: 1.083 MB / 472.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001118/0.0208, allocations: 55.91 kB / 472.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of Events: time 0.0001463/0.02095, allocations: 75.91 kB / 472.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of Detect States: time 0.0004463/0.02141, allocations: 301.4 kB / 472.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004006/0.02182, allocations: 333.4 kB / 473.1 MB, free: 8.227 MB / 350.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {meter.v[1], meter.v[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: meter.v[1:2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) meter.p = {meter.v[1:2] * meter.i[1:2], -{-meter.v[2], meter.v[1]} * meter.i[1:2], meter.v[3] * meter.i[3]} ($RES_SIM_13)