Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 113.1 kB / 17.75 MB, free: 5.301 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.001193/0.001194, allocations: 188.6 kB / 18.69 MB, free: 4.375 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.225/1.225, 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.1586/0.1586, allocations: 38.05 MB / 330.6 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.057e-05, allocations: 2.281 kB / 458.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004948/0.004977, allocations: 4.03 MB / 462.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.006611, allocations: 0.8998 MB / 463.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.00687, allocations: 15.88 kB / 463.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.007092, allocations: 47.56 kB / 463.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005581/0.007677, allocations: 187 kB / 464 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.007936, allocations: 87.83 kB / 464 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000582/0.008527, allocations: 458.4 kB / 464.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.008734, allocations: 64.72 kB / 464.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.009095, allocations: 175.2 kB / 464.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.009495, allocations: 167.3 kB / 464.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.009562, allocations: 20 kB / 464.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.00965, allocations: 12 kB / 464.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003861/0.01004, allocations: 435.2 kB / 465.3 MB, free: 292 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002043/0.01025, allocations: 296.2 kB / 465.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.01036, allocations: 43.81 kB / 465.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.03e-05/0.01042, allocations: 15.88 kB / 465.7 MB, free: 15.93 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: 55 (42) * Number of variables: 55 (40) Notification: Performance of Bindings: time 0.001222/0.01165, allocations: 1.17 MB / 466.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.000125/0.01178, allocations: 71.64 kB / 466.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0004278/0.01221, allocations: 455.5 kB / 467.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simplify1: time 5.908e-05/0.01228, allocations: 43.94 kB / 467.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of Alias: time 0.0009265/0.01321, allocations: 0.7294 MB / 468.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simplify2: time 4.991e-05/0.01328, allocations: 39.94 kB / 468.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001724/0.01345, allocations: 124.1 kB / 468.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Events: time 5.977e-05/0.01352, allocations: 31.97 kB / 468.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001853/0.01371, allocations: 168.7 kB / 468.5 MB, free: 12.83 MB / 350.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {meter.v_ab[1], meter.v_ab[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: meter.v_ab. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) meter.p = meter.v_ab * meter.i_ab ($RES_SIM_12)