Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 121.1 kB / 17.76 MB, free: 5.293 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.001287/0.001287, allocations: 184.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.243/1.243, 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/package.mo): time 0.1658/0.1658, allocations: 38.03 MB / 330.6 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.196e-05, allocations: 5.656 kB / 458.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.006436/0.006458, allocations: 5.642 MB / 464.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.01005, allocations: 2.61 MB / 467 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003413/0.01039, allocations: 23.88 kB / 467 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.0114, allocations: 366.1 kB / 467.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009008/0.0123, allocations: 477.7 kB / 467.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009071/0.01321, allocations: 458.2 kB / 468.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.01432, allocations: 1.166 MB / 469.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005387/0.01486, allocations: 379.8 kB / 469.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004524/0.01531, allocations: 410.4 kB / 470.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.01569, allocations: 366.2 kB / 470.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.229e-05/0.01579, allocations: 72 kB / 470.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006558/0.01644, allocations: 435 kB / 471.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0007668/0.01721, allocations: 1.12 MB / 472.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004525/0.01766, allocations: 0.7204 MB / 472.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.01779, allocations: 123.6 kB / 473.1 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001299/0.01792, allocations: 31.86 kB / 473.1 MB, free: 8.488 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: 146 (126) * Number of variables: 146 (123) Notification: Performance of Bindings: time 0.00221/0.02013, allocations: 2.471 MB / 475.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002194/0.02035, allocations: 250.5 kB / 475.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001457/0.02181, allocations: 1.455 MB / 477.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simplify1: time 0.0002571/0.02206, allocations: 223.5 kB / 477.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of Alias: time 0.00248/0.02454, allocations: 2.001 MB / 479.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001921/0.02473, allocations: 175.5 kB / 479.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of Detect States: time 0.0004201/0.02515, allocations: 346.1 kB / 480 MB, free: 1.016 MB / 350.1 MB Notification: Performance of Events: time 0.0002289/0.02538, allocations: 168 kB / 480.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0005856/0.02597, allocations: 0.5135 MB / 480.7 MB, free: 328 kB / 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_117)