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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="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.001312/0.001312, allocations: 107 kB / 17.74 MB, free: 5.355 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.001922/0.001923, allocations: 190.4 kB / 18.68 MB, free: 4.426 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.349/1.349, 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/package.mo): time 0.179/0.179, allocations: 38.04 MB / 330.6 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2741, allocations: 58.06 MB / 0.5048 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator): time 0.009654/0.2837, allocations: 10.39 MB / 0.5149 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.294, allocations: 6.612 MB / 0.5214 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.2951, allocations: 43.12 kB / 0.5214 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1501/0.4452, allocations: 109.2 MB / 0.628 GB, free: 10.28 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.4477, allocations: 0.8513 MB / 0.6289 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.4496, allocations: 0.7643 MB / 0.6296 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02208/0.4717, allocations: 15.99 MB / 0.6452 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/0.4745, allocations: 2.144 MB / 0.6473 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03856/0.5131, allocations: 27.75 MB / 0.6744 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.5151, allocations: 1.195 MB / 0.6756 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005438/0.5156, allocations: 228 kB / 0.6758 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.5168, allocations: 0.4995 MB / 0.6763 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008386/0.5177, allocations: 0.8339 MB / 0.6771 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.5191, allocations: 1.085 MB / 0.6782 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003181/0.5223, allocations: 3.153 MB / 0.6812 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5223, allocations: 4 kB / 0.6812 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5223, allocations: 0 / 0.6812 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.769e-05/0.5224, allocations: 4 kB / 0.6812 GB, free: 3.672 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.004285/0.5267, allocations: 2.372 MB / 0.6836 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.5267, allocations: 15.83 kB / 0.6836 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009489/0.5277, allocations: 279.5 kB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/0.5305, allocations: 1.66 MB / 0.6855 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-05/0.5306, allocations: 118.7 kB / 0.6856 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003568/0.531, allocations: 187.9 kB / 0.6858 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/0.5338, allocations: 1.878 MB / 0.6876 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/0.5339, allocations: 11.94 kB / 0.6876 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.534, allocations: 67.92 kB / 0.6877 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002383/0.5343, allocations: 98.67 kB / 0.6878 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.5369, allocations: 1.588 MB / 0.6893 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008705/0.5456, allocations: 6.519 MB / 0.6957 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.5475, allocations: 1.465 MB / 0.6971 GB, free: 2.902 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.5487, allocations: 0.7639 MB / 0.6978 GB, free: 2.133 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.916e-05/0.5488, allocations: 24.91 kB / 0.6979 GB, free: 2.105 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.55, allocations: 0.7977 MB / 0.6987 GB, free: 1.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=122): time 3.196e-06/0.55, allocations: 0 / 0.6987 GB, free: 1.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=160): time 0.0313/0.5813, allocations: 11.63 MB / 0.71 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.5814, allocations: 256.6 kB / 0.7103 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.583, allocations: 1.129 MB / 0.7114 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.5831, allocations: 61.73 kB / 0.7114 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005611/0.5837, allocations: 0.7672 MB / 0.7122 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004649/0.5841, allocations: 0.5888 MB / 0.7127 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005342/0.5847, allocations: 343.5 kB / 0.7131 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.5848, allocations: 309.1 kB / 0.7134 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.5862, allocations: 0.9027 MB / 0.7142 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.197/0.7832, allocations: 1.29 MB / 0.7155 GB, free: 190.2 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.02135/0.8046, allocations: 10.7 MB / 0.726 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.8046, allocations: 2.281 kB / 0.726 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.006489/0.8111, allocations: 3.578 MB / 0.7295 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.8112, allocations: 35.67 kB / 0.7295 GB, free: 185.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005595/0.8168, allocations: 3.046 MB / 0.7325 GB, free: 183.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003516/0.8203, allocations: 1.208 MB / 0.7336 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/0.8232, allocations: 0.65 MB / 0.7343 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/0.8412, allocations: 21.62 MB / 0.7554 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.8426, allocations: 114 kB / 0.7555 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.8428, allocations: 72.58 kB / 0.7556 GB, free: 165.8 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.001974/0.8448, allocations: 1.369 MB / 0.7569 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001425/0.8462, allocations: 1.263 MB / 0.7581 GB, free: 164.2 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.01775/0.864, allocations: 10.51 MB / 0.7684 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.16e-05/0.864, allocations: 4 kB / 0.7684 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=245) (initialization_lambda0): time 0.00567/0.8697, allocations: 3.529 MB / 0.7718 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.8697, allocations: 37.69 kB / 0.7719 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004832/0.8746, allocations: 3.004 MB / 0.7748 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003368/0.878, allocations: 1.201 MB / 0.776 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/0.8799, allocations: 487.3 kB / 0.7765 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/0.8944, allocations: 18.46 MB / 0.7945 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.8957, allocations: 111.9 kB / 0.7946 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.8959, allocations: 75.98 kB / 0.7947 GB, free: 126.8 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.000487/0.8964, allocations: 352.8 kB / 0.795 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.8966, allocations: 155.9 kB / 0.7951 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/0.9011, allocations: 2.911 MB / 0.798 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.9011, allocations: 7.969 kB / 0.798 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.9011, allocations: 4 kB / 0.798 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005146/0.9016, allocations: 407.9 kB / 0.7984 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.9019, allocations: 52.97 kB / 0.7984 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/0.9027, allocations: 91.83 kB / 0.7985 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.9029, allocations: 121.1 kB / 0.7986 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006016/0.909, allocations: 3.291 MB / 0.8019 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004332/0.9133, allocations: 3.73 MB / 0.8055 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001205/0.9145, allocations: 1.048 MB / 0.8065 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009623/0.9155, allocations: 0.7797 MB / 0.8073 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of Backend: time 1.122e-06/0.9155, allocations: 192 / 0.8073 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008892/0.9244, allocations: 5.683 MB / 0.8128 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.005592/0.93, allocations: 5.155 MB / 0.8179 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.05212/0.9822, allocations: 41.98 MB / 0.8589 GB, free: 60.93 MB / 0.5606 GB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGroupGenerator.pipe 2>&1)