Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld.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.PowerWorld,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="city.MW2W.u|dispatcher.hydroBase.y|dispatcher.hydroDaily.y|dispatcher.loadForcast|dispatcher.secondaryControl.y|dispatcher.windForcast|frequency.y|hydroPlant.P_control|hydroPlant.P_generator|hydroPlant.primaryControl.y|hydroPlant.reservoirLevel.y|powerPlant.P_control|powerPlant.P_generator|powerPlant.hotwellLevel.y|powerPlant.pressureLoss.y|powerPlant.primaryControl.y|powerPlant.throttleReserve.y|time|windFarm.MW2W.u",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld") translateModel(PowerSystems.Examples.PowerWorld.PowerWorld,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="city.MW2W.u|dispatcher.hydroBase.y|dispatcher.hydroDaily.y|dispatcher.loadForcast|dispatcher.secondaryControl.y|dispatcher.windForcast|frequency.y|hydroPlant.P_control|hydroPlant.P_generator|hydroPlant.primaryControl.y|hydroPlant.reservoirLevel.y|powerPlant.P_control|powerPlant.P_generator|powerPlant.hotwellLevel.y|powerPlant.pressureLoss.y|powerPlant.primaryControl.y|powerPlant.throttleReserve.y|time|windFarm.MW2W.u",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.PowerWorld") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 115.3 kB / 17.75 MB, free: 5.195 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.001189/0.001189, allocations: 189.9 kB / 18.68 MB, free: 4.27 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.277/1.277, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1657/0.1657, allocations: 38.04 MB / 330.6 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.329e-05, allocations: 2.281 kB / 458.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.PowerWorld): time 0.01463/0.01466, allocations: 13.2 MB / 472 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.0279, allocations: 7.989 MB / 480 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.03074, allocations: 71.62 kB / 480 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004146/0.03491, allocations: 1.439 MB / 481.5 MB, free: 124 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.04014, allocations: 1.742 MB / 483.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004315/0.04449, allocations: 1.577 MB / 484.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006178/0.05068, allocations: 4.103 MB / 488.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003025/0.05373, allocations: 1.854 MB / 490.7 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/0.05674, allocations: 1.455 MB / 492.2 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.05899, allocations: 1.267 MB / 493.5 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004591/0.05947, allocations: 240 kB / 493.7 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.06254, allocations: 1.594 MB / 495.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.003206/0.06577, allocations: 3.837 MB / 499.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.002071/0.06786, allocations: 2.497 MB / 0.4899 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007641/0.06863, allocations: 386.7 kB / 0.4902 GB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0007303/0.06938, allocations: 115.3 kB / 0.4904 GB, free: 11.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 (410) * Number of variables: 511 (397) Notification: Performance of Bindings: time 0.2371/0.3065, allocations: 11.11 MB / 0.5012 GB, free: 23.5 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.001981/0.3084, allocations: 1.095 MB / 0.5023 GB, free: 23.4 MB / 382.1 MB Notification: Performance of Early Inline: time 0.01315/0.3216, allocations: 6.553 MB / 0.5087 GB, free: 23.06 MB / 382.1 MB Notification: Performance of simplify1: time 0.001574/0.3232, allocations: 426.8 kB / 0.5091 GB, free: 23.06 MB / 382.1 MB Notification: Performance of Alias: time 0.01584/0.3391, allocations: 8.758 MB / 0.5176 GB, free: 20.29 MB / 382.1 MB Notification: Performance of simplify2: time 0.001303/0.3404, allocations: 346 kB / 0.518 GB, free: 20.18 MB / 382.1 MB Notification: Performance of Events: time 0.001797/0.3423, allocations: 1.15 MB / 0.5191 GB, free: 19.44 MB / 382.1 MB Notification: Performance of Detect States: time 0.001923/0.3442, allocations: 1.551 MB / 0.5206 GB, free: 18.48 MB / 382.1 MB Notification: Performance of Partitioning: time 0.002331/0.3466, allocations: 1.835 MB / 0.5224 GB, free: 17.49 MB / 382.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: city.terminal.v[2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) city.p = {city.terminal.v * city.terminal.i, -{-city.terminal.v[2], city.terminal.v[1]} * city.terminal.i} ($RES_BND_391)