Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 113.3 kB / 17.75 MB, free: 5.32 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.00116/0.001161, allocations: 188.4 kB / 18.69 MB, free: 4.395 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.216/1.216, 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.158/0.158, allocations: 38.05 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.106e-05, allocations: 2.281 kB / 458.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005947/0.005977, allocations: 4.572 MB / 463.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.008187, allocations: 1.305 MB / 464.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.008478, allocations: 11.94 kB / 464.7 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.009571, allocations: 399.9 kB / 465.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000721/0.0103, allocations: 258.8 kB / 465.3 MB, free: 360 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.01082, allocations: 171.6 kB / 465.5 MB, free: 188 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000791/0.01163, allocations: 0.6193 MB / 466.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.01203, allocations: 197.5 kB / 466.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/0.01249, allocations: 254.9 kB / 466.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.01292, allocations: 207.2 kB / 466.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.01298, allocations: 20 kB / 466.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.01327, allocations: 127.7 kB / 466.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0004095/0.01369, allocations: 0.5218 MB / 467.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002482/0.01394, allocations: 355.4 kB / 467.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.01406, allocations: 51.81 kB / 467.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.991e-05/0.01411, allocations: 8 kB / 467.8 MB, free: 13.83 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: 92 (50) * Number of variables: 92 (50) Notification: Performance of Bindings: time 0.001436/0.01556, allocations: 1.496 MB / 469.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001095/0.01567, allocations: 59.83 kB / 469.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0006978/0.01638, allocations: 0.6945 MB / 470.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simplify1: time 6.315e-05/0.01645, allocations: 47.92 kB / 470.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of Alias: time 0.001059/0.01752, allocations: 0.8581 MB / 471 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simplify2: time 5.696e-05/0.01758, allocations: 39.94 kB / 471 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002477/0.01784, allocations: 186.2 kB / 471.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Events: time 5.801e-05/0.01791, allocations: 39.89 kB / 471.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002352/0.01815, allocations: 227.2 kB / 471.4 MB, free: 9.914 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: sensor.term_p.v[2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) sensor.p = {sensor.term_p.v[1:2] * sensor.term_p.i[1:2], -{-sensor.term_p.v[2], sensor.term_p.v[1]} * sensor.term_p.i[1:2], sensor.term_p.v[3] * sensor.term_p.i[3]} / sensor.S_base ($RES_SIM_19)