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.001167/0.001167, allocations: 116.9 kB / 17.76 MB, free: 5.34 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.001293/0.001293, allocations: 184.7 kB / 18.69 MB, free: 4.414 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.262/1.262, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1744/0.1744, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.013e-05, allocations: 5.938 kB / 458.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005702/0.005734, allocations: 4.517 MB / 463.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.008348, allocations: 1.406 MB / 464.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.008681, allocations: 11.94 kB / 464.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008828/0.009571, allocations: 301.5 kB / 465 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007459/0.01036, allocations: 282.7 kB / 465.3 MB, free: 392 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007179/0.01109, allocations: 255.4 kB / 465.5 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.01212, allocations: 0.7289 MB / 466.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.01251, allocations: 157.2 kB / 466.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005622/0.01308, allocations: 290.9 kB / 466.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000528/0.01362, allocations: 259 kB / 466.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.998e-05/0.01371, allocations: 24 kB / 467 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.01421, allocations: 187.6 kB / 467.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0006327/0.01486, allocations: 0.6146 MB / 467.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003605/0.01523, allocations: 426.7 kB / 468.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.01539, allocations: 59.81 kB / 468.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-05/0.01548, allocations: 15.88 kB / 468.2 MB, free: 13.39 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.001968/0.01745, allocations: 1.71 MB / 470 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002299/0.01769, allocations: 151.4 kB / 470.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001328/0.01903, allocations: 1.073 MB / 471.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001082/0.01915, allocations: 71.81 kB / 471.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Alias: time 0.001488/0.02065, allocations: 1.083 MB / 472.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001031/0.02076, allocations: 51.92 kB / 472.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of Detect States: time 0.0004345/0.0212, allocations: 301 kB / 472.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of Events: time 0.0001344/0.02134, allocations: 67.91 kB / 472.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of Partitioning: time 0.000412/0.02176, allocations: 329.4 kB / 473.1 MB, free: 8.238 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)