Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-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.HydroPlantTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hydroPlant.P_control|hydroPlant.P_generator|hydroPlant.reservoirLevel.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hydroPlant.P_control|hydroPlant.P_generator|hydroPlant.reservoirLevel.y",fileNamePrefix="PowerSystems_latest_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.00103/0.00103, allocations: 114.7 kB / 17.75 MB, free: 5.277 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.0009158/0.0009158, allocations: 187 kB / 18.68 MB, free: 4.355 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.21/1.21, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1613/0.1613, allocations: 38.05 MB / 330.6 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.079e-05, allocations: 2.281 kB / 458.8 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.006892/0.006922, allocations: 5.623 MB / 464.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004169/0.01113, allocations: 2.61 MB / 467 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006701/0.01182, allocations: 23.88 kB / 467 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.01315, allocations: 366.1 kB / 467.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.01454, allocations: 473.7 kB / 467.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.01572, allocations: 458 kB / 468.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.01729, allocations: 1.17 MB / 469.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007025/0.018, allocations: 0.5036 MB / 470 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000513/0.01852, allocations: 414.3 kB / 470.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.01894, allocations: 362.4 kB / 470.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.01905, allocations: 68 kB / 470.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007253/0.01978, allocations: 435 kB / 471.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0007506/0.02054, allocations: 1.128 MB / 472.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004151/0.02097, allocations: 0.7126 MB / 473.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.02109, allocations: 123.6 kB / 473.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001661/0.02126, allocations: 27.88 kB / 473.2 MB, free: 8.391 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.002783/0.02405, allocations: 3.236 MB / 476.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001352/0.02419, allocations: 135.8 kB / 476.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001782/0.02598, allocations: 1.975 MB / 478.6 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001372/0.02613, allocations: 139.8 kB / 478.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of Alias: time 0.00296/0.0291, allocations: 2.841 MB / 481.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplify2: time 9.666e-05/0.02921, allocations: 99.8 kB / 481.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of Detect States: time 0.0004672/0.02969, allocations: 450.2 kB / 482.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Events: time 0.0002195/0.02992, allocations: 187.6 kB / 482.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0004887/0.03042, allocations: 0.4981 MB / 482.7 MB, free: 14.37 MB / 366.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)