Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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 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.PowerWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.PowerWorld") translateModel(PowerSystems.Examples.PowerWorld.PowerWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001291/0.001291, 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.001404/0.001404, 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 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.202/0.202, allocations: 38 MB / 309.9 MB, free: 5.938 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.581e-05/3.582e-05, allocations: 2.281 kB / 432.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.PowerWorld): time 0.01229/0.01234, allocations: 13.23 MB / 445.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.02965, allocations: 7.927 MB / 453.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00406/0.03377, allocations: 67.69 kB / 453.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004504/0.0383, allocations: 1.436 MB / 455.1 MB, free: 8.957 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.006612/0.04493, allocations: 1.75 MB / 456.9 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005087/0.05005, allocations: 1.533 MB / 458.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007905/0.05798, allocations: 4.126 MB / 462.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003958/0.06198, allocations: 1.842 MB / 464.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.06565, allocations: 1.459 MB / 465.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002915/0.06859, allocations: 1.26 MB / 467.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006925/0.06932, allocations: 240 kB / 467.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004305/0.07363, allocations: 1.59 MB / 468.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.004156/0.07781, allocations: 3.868 MB / 472.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.002395/0.08022, allocations: 2.512 MB / 475.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.08137, allocations: 386.6 kB / 475.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.001014/0.0824, allocations: 111.4 kB / 475.8 MB, free: 4.16 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: 512 (410) * Number of variables: 511 (397) Notification: Performance of Bindings: time 0.01322/0.09563, allocations: 11.15 MB / 487 MB, free: 8.727 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0007662/0.09642, allocations: 431.5 kB / 487.4 MB, free: 8.305 MB / 366.1 MB Notification: Performance of Early Inline: time 0.00768/0.1041, allocations: 6.519 MB / 493.9 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simplify1: time 0.000668/0.1048, allocations: 423.4 kB / 494.3 MB, free: 1.309 MB / 366.1 MB Notification: Performance of Alias: time 0.01246/0.1173, allocations: 8.752 MB / 0.4913 GB, free: 7.703 MB / 382.1 MB Notification: Performance of simplify2: time 0.001022/0.1184, allocations: 339.5 kB / 0.4916 GB, free: 7.371 MB / 382.1 MB Notification: Performance of Events: time 0.001507/0.1199, allocations: 1.147 MB / 0.4927 GB, free: 6.176 MB / 382.1 MB Notification: Performance of Detect States: time 0.002413/0.1223, allocations: 1.538 MB / 0.4942 GB, free: 4.609 MB / 382.1 MB Notification: Performance of Partitioning: time 0.003548/0.1259, allocations: 1.825 MB / 0.496 GB, free: 2.68 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)