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.001463/0.001463, allocations: 107 kB / 17.75 MB, free: 5.359 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.001697/0.001697, allocations: 190.4 kB / 18.68 MB, free: 4.438 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1737/0.1737, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.89 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3196, allocations: 58.05 MB / 0.5048 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator): time 0.01038/0.33, allocations: 10.39 MB / 0.5149 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009767/0.3398, allocations: 6.618 MB / 0.5214 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.341, allocations: 40.62 kB / 0.5214 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.147/0.488, allocations: 109.2 MB / 0.628 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.4907, allocations: 0.8395 MB / 0.6288 GB, free: 9.441 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.4928, allocations: 0.7635 MB / 0.6296 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02121/0.514, allocations: 15.98 MB / 0.6452 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/0.517, allocations: 2.152 MB / 0.6473 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0368/0.5538, allocations: 27.74 MB / 0.6744 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/0.5559, allocations: 1.195 MB / 0.6755 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006767/0.5566, allocations: 228 kB / 0.6758 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.5579, allocations: 0.5072 MB / 0.6763 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009358/0.5589, allocations: 0.8339 MB / 0.6771 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001719/0.5606, allocations: 1.077 MB / 0.6781 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004103/0.5647, allocations: 3.147 MB / 0.6812 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5647, allocations: 0 / 0.6812 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5647, allocations: 0 / 0.6812 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001117/0.5649, allocations: 0 / 0.6812 GB, free: 3.719 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.005788/0.5707, allocations: 2.331 MB / 0.6835 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5707, allocations: 15.89 kB / 0.6835 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.5718, allocations: 258.4 kB / 0.6837 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/0.5753, allocations: 1.655 MB / 0.6854 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.5754, allocations: 118.8 kB / 0.6855 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/0.5759, allocations: 183.8 kB / 0.6856 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/0.579, allocations: 1.886 MB / 0.6875 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-05/0.5791, allocations: 11.84 kB / 0.6875 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.5792, allocations: 63.92 kB / 0.6876 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/0.5795, allocations: 98.73 kB / 0.6877 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/0.5824, allocations: 1.588 MB / 0.6892 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00944/0.5918, allocations: 6.494 MB / 0.6955 GB, free: 4.621 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.5938, allocations: 1.465 MB / 0.697 GB, free: 3.039 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.595, allocations: 0.7639 MB / 0.6977 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.845e-05/0.5951, allocations: 17 kB / 0.6977 GB, free: 2.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.5963, allocations: 0.7977 MB / 0.6985 GB, free: 1.422 MB / 0.545 GB Notification: Performance of pre-optimization done (n=122): time 3.767e-06/0.5963, allocations: 0 / 0.6985 GB, free: 1.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=160): time 0.03141/0.6277, allocations: 11.56 MB / 0.7098 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.6279, allocations: 256.6 kB / 0.7101 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.6295, allocations: 1.125 MB / 0.7112 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.6296, allocations: 61.69 kB / 0.7112 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006139/0.6302, allocations: 0.7498 MB / 0.7119 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00051/0.6307, allocations: 0.5585 MB / 0.7125 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005512/0.6313, allocations: 355.2 kB / 0.7128 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.6314, allocations: 305.1 kB / 0.7131 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.6329, allocations: 0.9105 MB / 0.714 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2065/0.8394, allocations: 1.284 MB / 0.7153 GB, free: 190.5 MB / 0.5606 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02259/0.862, allocations: 10.7 MB / 0.7257 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/0.8621, allocations: 3.031 kB / 0.7257 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.007185/0.8692, allocations: 3.566 MB / 0.7292 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.8693, allocations: 40.02 kB / 0.7292 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005829/0.8752, allocations: 3.046 MB / 0.7322 GB, free: 184.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003563/0.8787, allocations: 1.205 MB / 0.7334 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/0.8815, allocations: 0.6498 MB / 0.734 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/0.8999, allocations: 21.6 MB / 0.7551 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.9013, allocations: 112.8 kB / 0.7552 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.9016, allocations: 72.39 kB / 0.7553 GB, free: 166.2 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 8 initial equations are redundant, so they are removed from the initialization system: $DER.turboGrpGen.generator.psi_rd[2] = 0.0 $DER.turboGrpGen.generator.psi_rq[1] = 0.0 $DER.turboGrpGen.turboGroup.genRotor.w = 0.0 $DER.turboGrpGen.turboGroup.turbine1.w = 0.0 $DER.turboGrpGen.turboGroup.turbine2.w = 0.0 $DER.turboGrpGen.turboGroup.turbine3.w = 0.0 $DER.turboGrpGen.turboGroup.turbine4.w = 0.0 $DER.turboGrpGen.turboGroup.aux2.w = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001985/0.9035, allocations: 1.376 MB / 0.7566 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001371/0.9049, allocations: 1.261 MB / 0.7579 GB, free: 164.6 MB / 0.5606 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01729/0.9222, allocations: 10.51 MB / 0.7681 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-05/0.9223, allocations: 0 / 0.7681 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=245) (initialization_lambda0): time 0.005619/0.9279, allocations: 3.526 MB / 0.7716 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.9279, allocations: 33.7 kB / 0.7716 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004687/0.9326, allocations: 3.003 MB / 0.7745 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003039/0.9357, allocations: 1.201 MB / 0.7757 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.9375, allocations: 495.3 kB / 0.7762 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/0.9518, allocations: 18.44 MB / 0.7942 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.9531, allocations: 107.9 kB / 0.7943 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.9533, allocations: 72.19 kB / 0.7944 GB, free: 127.4 MB / 0.5606 GB Warning: The initial conditions are over specified. The following 8 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.turboGrpGen.generator.psi_rd[2] = 0.0 $DER.turboGrpGen.generator.psi_rq[1] = 0.0 $DER.turboGrpGen.turboGroup.genRotor.w = 0.0 $DER.turboGrpGen.turboGroup.turbine1.w = 0.0 $DER.turboGrpGen.turboGroup.turbine2.w = 0.0 $DER.turboGrpGen.turboGroup.turbine3.w = 0.0 $DER.turboGrpGen.turboGroup.turbine4.w = 0.0 $DER.turboGrpGen.turboGroup.aux2.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,relayGrd.cnt,$PRE.relayGrd.cnt,$whenCondition1,$PRE.switchGrd.t0,$PRE.switchGrd.closed,$PRE.switchGrd.open,relayGrd.y[1],$PRE.relayGrd.y[1],switchGrd.closed,switchGrd.open,switchGrd.t0,switchGrd.control[1],$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 182 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,5,100.0%), (3,18,100.0%), (1,2,100.0%), (1,4,100.0%), (1,7,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005123/0.9538, allocations: 357.5 kB / 0.7947 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.9541, allocations: 146.2 kB / 0.7948 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/0.9586, allocations: 2.92 MB / 0.7977 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.9586, allocations: 7.969 kB / 0.7977 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9586, allocations: 7.938 kB / 0.7977 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007147/0.9593, allocations: 398.9 kB / 0.7981 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/0.9596, allocations: 55.98 kB / 0.7981 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000868/0.9605, allocations: 89.3 kB / 0.7982 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.9607, allocations: 121.1 kB / 0.7984 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005894/0.9666, allocations: 3.283 MB / 0.8016 GB, free: 120 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0042/0.9709, allocations: 3.729 MB / 0.8052 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001235/0.9721, allocations: 1.045 MB / 0.8062 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001073/0.9732, allocations: 0.7719 MB / 0.807 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of Backend: time 5.61e-07/0.9732, allocations: 4 kB / 0.807 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008852/0.9821, allocations: 5.663 MB / 0.8125 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of SimCode: time 0.005772/0.9879, allocations: 5.08 MB / 0.8175 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.05126/1.039, allocations: 41.99 MB / 0.8585 GB, free: 61.65 MB / 0.5606 GB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.pipe 2>&1)