Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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 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.AC3ph.Generation.TurboGroupGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_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.00133/0.00133, allocations: 117.1 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.001393/0.001393, allocations: 183.1 kB / 18.68 MB, free: 4.25 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.909/1.909, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.213/0.213, allocations: 37.99 MB / 309.9 MB, free: 5.945 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.275e-05, allocations: 2.281 kB / 432.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator): time 0.01208/0.01213, allocations: 10.39 MB / 442.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01307/0.02527, allocations: 6.677 MB / 449.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.02723, allocations: 39.81 kB / 449.6 MB, free: 14.53 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeComponents: time 0.5102/0.5374, allocations: 109.1 MB / 0.5456 GB, free: 93.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003953/0.5414, allocations: 0.8322 MB / 0.5465 GB, free: 93.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.5435, allocations: 0.7606 MB / 0.5472 GB, free: 92.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01949/0.563, allocations: 16.28 MB / 0.5631 GB, free: 77.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002702/0.5658, allocations: 1.8 MB / 0.5649 GB, free: 75.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02997/0.5958, allocations: 27.73 MB / 0.5919 GB, free: 48.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.5973, allocations: 0.9566 MB / 0.5929 GB, free: 47.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.5976, allocations: 196 kB / 0.5931 GB, free: 47.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00531/0.6029, allocations: 2.977 MB / 0.596 GB, free: 45.07 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.001789/0.6047, allocations: 2.593 MB / 0.5985 GB, free: 42.54 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008083/0.6056, allocations: 1.625 MB / 0.6001 GB, free: 40.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005847/0.6062, allocations: 263.3 kB / 0.6003 GB, free: 40.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0004986/0.6067, allocations: 35.88 kB / 0.6004 GB, free: 40.65 MB / 414.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.006005/0.6127, allocations: 8.312 MB / 0.6085 GB, free: 32.19 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0008753/0.6136, allocations: 1.072 MB / 0.6095 GB, free: 31.11 MB / 414.1 MB Notification: Performance of Early Inline: time 0.003463/0.617, allocations: 4.437 MB / 0.6139 GB, free: 26.7 MB / 414.1 MB Notification: Performance of simplify1: time 0.0003816/0.6174, allocations: 303.4 kB / 0.6142 GB, free: 26.42 MB / 414.1 MB Notification: Performance of Alias: time 0.00585/0.6233, allocations: 6.023 MB / 0.62 GB, free: 19.98 MB / 414.1 MB Notification: Performance of simplify2: time 0.0003715/0.6237, allocations: 239.7 kB / 0.6203 GB, free: 19.77 MB / 414.1 MB Notification: Performance of Events: time 0.0004428/0.6241, allocations: 0.5009 MB / 0.6208 GB, free: 19.28 MB / 414.1 MB Notification: Performance of Detect States: time 0.0009977/0.6252, allocations: 1.156 MB / 0.6219 GB, free: 18.13 MB / 414.1 MB Notification: Performance of Partitioning: time 0.00121/0.6264, allocations: 1.292 MB / 0.6231 GB, free: 16.79 MB / 414.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)