Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.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.AC3ph.Generation.TurboGroupGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|turboGrpGen.generator.tau_el|turboGrpGen.turboGroup.delta.1.|turboGrpGen.turboGroup.delta.2.|turboGrpGen.turboGroup.delta.3.|turboGrpGen.turboGroup.delta.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|turboGrpGen.generator.tau_el|turboGrpGen.turboGroup.delta.1.|turboGrpGen.turboGroup.delta.2.|turboGrpGen.turboGroup.delta.3.|turboGrpGen.turboGroup.delta.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001452, allocations: 113.1 kB / 17.75 MB, free: 5.328 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.001632/0.001632, allocations: 196.5 kB / 18.68 MB, free: 4.406 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.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1756/0.1756, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.078e-05, allocations: 2.281 kB / 458.8 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator): time 0.01127/0.0113, allocations: 10.39 MB / 469.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.02371, allocations: 6.628 MB / 475.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/0.02513, allocations: 39.81 kB / 475.8 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3942/0.4194, allocations: 109.1 MB / 0.5713 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.4222, allocations: 0.8276 MB / 0.5721 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.4241, allocations: 0.7589 MB / 0.5728 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0211/0.4452, allocations: 16.28 MB / 0.5887 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002453/0.4477, allocations: 1.801 MB / 0.5905 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03624/0.484, allocations: 27.73 MB / 0.6176 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.4858, allocations: 0.9595 MB / 0.6185 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002619/0.486, allocations: 196 kB / 0.6187 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004902/0.491, allocations: 2.969 MB / 0.6216 GB, free: 8.969 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.002033/0.493, allocations: 2.589 MB / 0.6241 GB, free: 6.445 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.001062/0.4941, allocations: 1.615 MB / 0.6257 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004736/0.4946, allocations: 271.2 kB / 0.6259 GB, free: 4.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0003644/0.4949, allocations: 31.88 kB / 0.626 GB, free: 4.559 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 (279) * Number of variables: 378 (258) Notification: Performance of Bindings: time 0.008066/0.503, allocations: 8.506 MB / 0.6343 GB, free: 11.91 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.00111/0.5041, allocations: 0.8804 MB / 0.6351 GB, free: 11.03 MB / 462.1 MB Notification: Performance of Early Inline: time 0.004452/0.5086, allocations: 4.421 MB / 0.6395 GB, free: 6.633 MB / 462.1 MB Notification: Performance of simplify1: time 0.0004392/0.5091, allocations: 313.5 kB / 0.6398 GB, free: 6.34 MB / 462.1 MB Notification: Performance of Alias: time 0.007838/0.5169, allocations: 6.025 MB / 0.6456 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simplify2: time 0.0004496/0.5174, allocations: 239 kB / 0.6459 GB, free: 15.66 MB / 478.1 MB Notification: Performance of Events: time 0.0005072/0.5179, allocations: 0.5024 MB / 0.6464 GB, free: 15.18 MB / 478.1 MB Notification: Performance of Detect States: time 0.00125/0.5192, allocations: 1.145 MB / 0.6475 GB, free: 14.04 MB / 478.1 MB Notification: Performance of Partitioning: time 0.001584/0.5208, allocations: 1.29 MB / 0.6487 GB, free: 12.7 MB / 478.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: switchGrd.s. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (6) {switchGrd.v, switchGrd.i} = if switchGrd.closed then {(switchGrd.r[1] + switchGrd.r[2] * switchGrd.epsR) * switchGrd.s, (switchGrd.r[1] * switchGrd.epsG + switchGrd.r[2]) * switchGrd.s} else {(switchGrd.r[1] * switchGrd.epsR + switchGrd.r[2]) * switchGrd.s, (switchGrd.r[1] + switchGrd.r[2] * switchGrd.epsG) * switchGrd.s} ($RES_SIM_40)