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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001049/0.00105, allocations: 117 kB / 17.75 MB, free: 5.285 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.001157/0.001157, allocations: 188.6 kB / 18.68 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 224.6 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1826/0.1826, allocations: 37.98 MB / 309.9 MB, free: 5.949 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.146e-05, allocations: 2.281 kB / 432.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.005817/0.005858, allocations: 5.634 MB / 438.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.008913, allocations: 2.657 MB / 440.8 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.009251, allocations: 23.88 kB / 440.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.0103, allocations: 370 kB / 441.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007561/0.01109, allocations: 465.8 kB / 441.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008671/0.01197, allocations: 462.1 kB / 442.1 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009752/0.01296, allocations: 1.166 MB / 443.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005327/0.0135, allocations: 0.5152 MB / 443.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.01389, allocations: 414.3 kB / 444.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.01421, allocations: 366.3 kB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.739e-05/0.01428, allocations: 68 kB / 444.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004872/0.01478, allocations: 435 kB / 445 MB, free: 3.145 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005145/0.0153, allocations: 1.12 MB / 446.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002773/0.01558, allocations: 0.7276 MB / 446.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.715e-05/0.01568, allocations: 115.6 kB / 447 MB, free: 1.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001252/0.01581, allocations: 35.75 kB / 447 MB, free: 1.129 MB / 318.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.002734/0.01855, allocations: 3.252 MB / 450.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0001261/0.01868, allocations: 127.8 kB / 450.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Early Inline: time 0.00235/0.02104, allocations: 1.975 MB / 452.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001487/0.0212, allocations: 135.8 kB / 452.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of Alias: time 0.003466/0.02467, allocations: 2.86 MB / 455.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simplify2: time 0.0001103/0.0248, allocations: 103.8 kB / 455.4 MB, free: 8.23 MB / 334.1 MB Notification: Performance of Events: time 0.0002587/0.02506, allocations: 171.8 kB / 455.6 MB, free: 8.062 MB / 334.1 MB Notification: Performance of Detect States: time 0.0004828/0.02555, allocations: 465.1 kB / 456.1 MB, free: 7.602 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0005462/0.02611, allocations: 0.5059 MB / 456.6 MB, free: 7.07 MB / 334.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: largeGrid.terminal.theta[1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) largeGrid.terminal.v = {largeGrid.V * cos(largeGrid.terminal.theta[1]), largeGrid.V * sin(largeGrid.terminal.theta[1])} ($RES_SIM_17)