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.001247/0.001247, 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.001312/0.001312, 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.351/1.351, 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.1773/0.1773, allocations: 38.05 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/2.984e-05, allocations: 2.281 kB / 458.8 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005733/0.005772, allocations: 4.049 MB / 462.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.007242, allocations: 0.8997 MB / 463.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.007407, allocations: 15.94 kB / 463.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.007625, allocations: 43.58 kB / 463.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.008128, allocations: 183 kB / 463.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.008336, allocations: 83.83 kB / 464 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.008843, allocations: 462.4 kB / 464.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.00905, allocations: 68.72 kB / 464.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.009314, allocations: 183.2 kB / 464.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.009605, allocations: 151.4 kB / 464.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.009646, allocations: 16 kB / 464.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.009693, allocations: 20 kB / 464.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003336/0.01003, allocations: 439.1 kB / 465.3 MB, free: 328 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001617/0.0102, allocations: 284.1 kB / 465.6 MB, free: 40 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.951e-05/0.0103, allocations: 51.89 kB / 465.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.86e-05/0.01034, allocations: 7.906 kB / 465.7 MB, free: 15.98 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.001178/0.01153, allocations: 1.174 MB / 466.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001051/0.01164, allocations: 71.75 kB / 466.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0004646/0.01211, allocations: 463.5 kB / 467.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simplify1: time 4.867e-05/0.01217, allocations: 35.95 kB / 467.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Alias: time 0.0009332/0.01311, allocations: 0.7334 MB / 468.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simplify2: time 3.68e-05/0.01316, allocations: 35.95 kB / 468.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Events: time 3.674e-05/0.0132, allocations: 31.97 kB / 468.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001819/0.01339, allocations: 131.3 kB / 468.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002008/0.0136, allocations: 168.7 kB / 468.5 MB, free: 12.87 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)