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.001141/0.001141, allocations: 115.3 kB / 17.76 MB, free: 5.293 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.001146/0.001146, allocations: 190.3 kB / 18.69 MB, free: 4.375 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.24/1.24, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1603/0.1603, allocations: 38.05 MB / 330.6 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.095e-05, allocations: 2.281 kB / 458.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator): time 0.01128/0.01131, allocations: 10.39 MB / 469.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.02153, allocations: 6.608 MB / 475.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.02278, allocations: 43.81 kB / 475.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3323/0.3551, allocations: 109.2 MB / 0.5713 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.3574, allocations: 0.8474 MB / 0.5721 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.3594, allocations: 0.7617 MB / 0.5729 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02154/0.381, allocations: 16.28 MB / 0.5888 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/0.3843, allocations: 1.803 MB / 0.5905 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0356/0.42, allocations: 27.72 MB / 0.6176 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.4219, allocations: 0.9503 MB / 0.6185 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005482/0.4224, allocations: 196 kB / 0.6187 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005039/0.4275, allocations: 2.97 MB / 0.6216 GB, free: 8.902 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.002984/0.4305, allocations: 2.592 MB / 0.6241 GB, free: 6.375 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.001545/0.4321, allocations: 1.621 MB / 0.6257 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00076/0.4328, allocations: 267.2 kB / 0.626 GB, free: 4.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0004289/0.4333, allocations: 31.88 kB / 0.626 GB, free: 4.488 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.009374/0.4427, allocations: 8.506 MB / 0.6343 GB, free: 11.84 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.001283/0.444, allocations: 0.8777 MB / 0.6352 GB, free: 10.96 MB / 462.1 MB Notification: Performance of Early Inline: time 0.006272/0.4503, allocations: 4.418 MB / 0.6395 GB, free: 6.562 MB / 462.1 MB Notification: Performance of simplify1: time 0.0006862/0.451, allocations: 310.7 kB / 0.6398 GB, free: 6.273 MB / 462.1 MB Notification: Performance of Alias: time 0.008223/0.4592, allocations: 6.03 MB / 0.6457 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simplify2: time 0.0005372/0.4598, allocations: 248.7 kB / 0.6459 GB, free: 15.58 MB / 478.1 MB Notification: Performance of Detect States: time 0.001872/0.4617, allocations: 1.294 MB / 0.6472 GB, free: 14.3 MB / 478.1 MB Notification: Performance of Events: time 0.0005857/0.4623, allocations: 327.5 kB / 0.6475 GB, free: 13.99 MB / 478.1 MB Notification: Performance of Partitioning: time 0.001747/0.464, allocations: 1.287 MB / 0.6487 GB, free: 12.66 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)