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.001233/0.001233, allocations: 110.6 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.001267/0.001267, allocations: 187.1 kB / 18.68 MB, free: 4.41 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.268/1.268, 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.1642/0.1642, allocations: 38.04 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.015e-05, allocations: 5.797 kB / 458.8 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.00628/0.006308, allocations: 5.611 MB / 464.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003914/0.01025, allocations: 2.614 MB / 467 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004925/0.01076, allocations: 23.88 kB / 467 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009826/0.01179, allocations: 366.1 kB / 467.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009577/0.01276, allocations: 465.7 kB / 467.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009244/0.01369, allocations: 453.1 kB / 468.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.01473, allocations: 1.174 MB / 469.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006098/0.01535, allocations: 0.5075 MB / 470 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004196/0.01578, allocations: 414.3 kB / 470.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.01613, allocations: 362.3 kB / 470.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.316e-05/0.01623, allocations: 68 kB / 470.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006279/0.01686, allocations: 439 kB / 471.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0007344/0.0176, allocations: 1.116 MB / 472.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003819/0.01799, allocations: 0.7164 MB / 473 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.01812, allocations: 119.6 kB / 473.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001337/0.01826, allocations: 27.88 kB / 473.2 MB, free: 8.434 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.002607/0.02087, allocations: 3.244 MB / 476.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001114/0.02099, allocations: 127.8 kB / 476.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001756/0.02275, allocations: 1.983 MB / 478.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001394/0.0229, allocations: 127.8 kB / 478.7 MB, free: 2.797 MB / 350.1 MB Notification: Performance of Alias: time 0.002954/0.02586, allocations: 2.849 MB / 481.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001338/0.02601, allocations: 95.78 kB / 481.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Events: time 0.0002625/0.02628, allocations: 187.7 kB / 481.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Detect States: time 0.0004822/0.02677, allocations: 481.5 kB / 482.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of Partitioning: time 0.000491/0.02727, allocations: 0.4981 MB / 482.8 MB, free: 14.38 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)