Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.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.PowerWorld.Test.HydroPlantTest1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hydroPlant.P_control|hydroPlant.P_generator|hydroPlant.primaryControl.y|hydroPlant.reservoirLevel.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hydroPlant.P_control|hydroPlant.P_generator|hydroPlant.primaryControl.y|hydroPlant.reservoirLevel.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 109.5 kB / 17.75 MB, free: 5.324 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.001075/0.001075, allocations: 188.2 kB / 18.68 MB, free: 4.406 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.353/1.353, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1838/0.1838, allocations: 38.05 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.209e-05, allocations: 2.281 kB / 458.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.00611/0.00613, allocations: 5.13 MB / 463.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003495/0.009643, allocations: 2.136 MB / 466 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.009972, allocations: 23.88 kB / 466.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007708/0.01075, allocations: 262.4 kB / 466.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006883/0.01149, allocations: 334.2 kB / 466.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000756/0.01226, allocations: 406.2 kB / 467 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.01347, allocations: 1.014 MB / 468 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006818/0.01416, allocations: 487.7 kB / 468.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/0.01461, allocations: 358.5 kB / 468.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.01499, allocations: 306.6 kB / 469.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.624e-05/0.01508, allocations: 64 kB / 469.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.01557, allocations: 299.3 kB / 469.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0009152/0.0165, allocations: 1.016 MB / 470.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005515/0.01706, allocations: 0.6507 MB / 471.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.01726, allocations: 111.6 kB / 471.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001411/0.01741, allocations: 39.8 kB / 471.3 MB, free: 10.27 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: 127 (116) * Number of variables: 127 (113) Notification: Performance of Bindings: time 0.002973/0.02039, allocations: 2.979 MB / 474.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001284/0.02052, allocations: 127.8 kB / 474.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of Early Inline: time 0.002386/0.02291, allocations: 1.787 MB / 476.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001426/0.02307, allocations: 111.8 kB / 476.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of Alias: time 0.003469/0.02655, allocations: 2.821 MB / 479.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001024/0.02666, allocations: 91.86 kB / 479.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of Events: time 0.0002247/0.02689, allocations: 158.3 kB / 479.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of Detect States: time 0.0007505/0.02765, allocations: 431.8 kB / 479.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004819/0.02814, allocations: 425.8 kB / 480.2 MB, free: 0.8711 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: hydroPlant.terminal.v[2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) hydroPlant.p = {hydroPlant.terminal.v * hydroPlant.terminal.i, -{-hydroPlant.terminal.v[2], hydroPlant.terminal.v[1]} * hydroPlant.terminal.i} ($RES_BND_111)