Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest.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.CityTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|city.p.1.|city.p.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest") translateModel(PowerSystems.Examples.PowerWorld.Test.CityTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|city.p.1.|city.p.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.CityTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001323, allocations: 119.5 kB / 17.75 MB, free: 5.172 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.00134/0.00134, allocations: 184.7 kB / 18.68 MB, free: 4.25 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.352/1.352, 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.1703/0.1703, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.09e-05, allocations: 2.281 kB / 458.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005138/0.005177, allocations: 3.618 MB / 462.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.007858, allocations: 1.805 MB / 464.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.00802, allocations: 8 kB / 464.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008324/0.008896, allocations: 241.1 kB / 464.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.009493, allocations: 255 kB / 464.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.01005, allocations: 207.3 kB / 464.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.01051, allocations: 390.9 kB / 465.3 MB, free: 400 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.01085, allocations: 128.1 kB / 465.4 MB, free: 272 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.01125, allocations: 175.2 kB / 465.6 MB, free: 96 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.01146, allocations: 119 kB / 465.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.0115, allocations: 19.94 kB / 465.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.01193, allocations: 275.4 kB / 466 MB, free: 15.69 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0002776/0.01222, allocations: 356.2 kB / 466.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.000153/0.01238, allocations: 236.9 kB / 466.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.01244, allocations: 39.88 kB / 466.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.015e-05/0.01248, allocations: 4 kB / 466.6 MB, free: 15.06 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: 50 (31) * Number of variables: 50 (30) Notification: Performance of Bindings: time 0.001112/0.0136, allocations: 1.056 MB / 467.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.009e-05/0.0137, allocations: 50.09 kB / 467.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0005803/0.01428, allocations: 0.5752 MB / 468.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simplify1: time 3.894e-05/0.01433, allocations: 35.94 kB / 468.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Alias: time 0.0007754/0.01511, allocations: 0.605 MB / 468.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simplify2: time 4.178e-05/0.01517, allocations: 31.97 kB / 468.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of Events: time 9.353e-05/0.01527, allocations: 50.52 kB / 469 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002381/0.01551, allocations: 176.4 kB / 469.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002033/0.01572, allocations: 185.2 kB / 469.3 MB, free: 12.04 MB / 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: city.MW2W.y. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) {city.load.terminal.v * city.load.terminal.i, -{-city.load.terminal.v[2], city.load.terminal.v[1]} * city.load.terminal.i} = {city.MW2W.y, city.MW2W.y * tan(city.load.phi)} ($RES_SIM_7)