Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 239.2 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 180.5 kB / 289.5 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5202/0.5202, allocations: 91.91 MB / 431.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 83.86 kB / 0.5019 GB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3553, allocations: 71.27 MB / 0.5715 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.009448/0.3648, allocations: 13.85 MB / 0.585 GB, free: 27.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007185/0.372, allocations: 3.53 MB / 0.5884 GB, free: 24.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00236/0.3744, allocations: 32.84 kB / 0.5885 GB, free: 24.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.3761, allocations: 0.5617 MB / 0.589 GB, free: 24.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005029/0.3812, allocations: 1.442 MB / 0.5904 GB, free: 23.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003858/0.3851, allocations: 1.519 MB / 0.5919 GB, free: 22.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006028/0.3911, allocations: 3.79 MB / 0.5956 GB, free: 20.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.3928, allocations: 0.8951 MB / 0.5965 GB, free: 20.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.3956, allocations: 1.563 MB / 0.598 GB, free: 19.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003079/0.3987, allocations: 2.001 MB / 0.6 GB, free: 18.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.3999, allocations: 295.6 kB / 0.6002 GB, free: 18.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.4017, allocations: 444.8 kB / 0.6007 GB, free: 18.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007657/0.4025, allocations: 0.7858 MB / 0.6014 GB, free: 18.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.4045, allocations: 1.661 MB / 0.6031 GB, free: 16.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004935/0.4095, allocations: 3.988 MB / 0.607 GB, free: 15.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4095, allocations: 2.016 kB / 0.607 GB, free: 15.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4095, allocations: 0 / 0.607 GB, free: 15.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001505/0.4097, allocations: 0 / 0.607 GB, free: 15.07 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02521/0.4349, allocations: 6.673 MB / 0.6135 GB, free: 12.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.435, allocations: 13.78 kB / 0.6135 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01605/0.451, allocations: 2.282 MB / 0.6157 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004618/0.4557, allocations: 1.901 MB / 0.6176 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006122/0.4563, allocations: 0.7359 MB / 0.6183 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005692/0.4569, allocations: 219 kB / 0.6185 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006502/0.4634, allocations: 3.057 MB / 0.6215 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.4635, allocations: 4 kB / 0.6215 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.4637, allocations: 90.08 kB / 0.6216 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.4638, allocations: 50.25 kB / 0.6216 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005885/0.4697, allocations: 2.802 MB / 0.6244 GB, free: 7.703 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/0.4867, allocations: 9.968 MB / 0.6341 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/0.4981, allocations: 4.224 MB / 0.6382 GB, free: 9.402 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004673/0.5028, allocations: 1.983 MB / 0.6402 GB, free: 7.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003194/0.5031, allocations: 45.95 kB / 0.6402 GB, free: 7.367 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00474/0.5079, allocations: 2.248 MB / 0.6424 GB, free: 5.098 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 3.957e-06/0.5079, allocations: 0 / 0.6424 GB, free: 5.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.127/0.6349, allocations: 28.82 MB / 0.6705 GB, free: 8.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.6351, allocations: 192.1 kB / 0.6707 GB, free: 7.934 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003987/0.6391, allocations: 2.321 MB / 0.673 GB, free: 5.594 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008701/0.64, allocations: 77.77 kB / 0.6731 GB, free: 5.512 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009438/0.6409, allocations: 1.18 MB / 0.6742 GB, free: 4.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001477/0.6424, allocations: 0.8858 MB / 0.6751 GB, free: 3.422 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/0.6436, allocations: 0.566 MB / 0.6756 GB, free: 2.848 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.6437, allocations: 301.1 kB / 0.6759 GB, free: 2.551 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004452/0.6482, allocations: 1.994 MB / 0.6779 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004805/0.653, allocations: 2.362 MB / 0.6802 GB, free: 14.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05973/0.7128, allocations: 14.42 MB / 0.6942 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.7128, allocations: 3.938 kB / 0.6943 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04442/0.7573, allocations: 12.61 MB / 0.7066 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.99e-05/0.7574, allocations: 118.8 kB / 0.7067 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.7574, allocations: 4 kB / 0.7067 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0194/0.7768, allocations: 5.445 MB / 0.712 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/0.7801, allocations: 0.5773 MB / 0.7126 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06301/0.8431, allocations: 23.68 MB / 0.7357 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/0.8481, allocations: 0.493 MB / 0.7362 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005488/0.8487, allocations: 116 kB / 0.7363 GB, free: 4.148 MB / 0.5294 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 331 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001311/0.85, allocations: 0.5276 MB / 0.7368 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008211/0.8508, allocations: 300.2 kB / 0.7371 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04077/0.8916, allocations: 11.95 MB / 0.7487 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.8917, allocations: 28 kB / 0.7488 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.579e-05/0.8917, allocations: 24 kB / 0.7488 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.048e-05/0.8918, allocations: 15.89 kB / 0.7488 GB, free: 7.195 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04662/0.9384, allocations: 15.59 MB / 0.764 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/0.9384, allocations: 0 / 0.764 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.9402, allocations: 251.6 kB / 0.7643 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01872/0.9589, allocations: 5.283 MB / 0.7694 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007041/0.9597, allocations: 59.92 kB / 0.7695 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3025/1.262, allocations: 24.95 MB / 0.7939 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.262, allocations: 1.188 kB / 0.7939 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04612/1.308, allocations: 14.34 MB / 0.8079 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.309, allocations: 416.3 kB / 0.8083 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006738/1.31, allocations: 47.38 kB / 0.8083 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003053/1.313, allocations: 300.2 kB / 0.8086 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001969/1.315, allocations: 0.5772 MB / 0.8092 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/1.315, allocations: 69.34 kB / 0.8092 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002316/1.318, allocations: 1.542 MB / 0.8107 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/1.318, allocations: 0 / 0.8107 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004377/1.322, allocations: 1.19 MB / 0.8119 GB, free: 152 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005693/1.323, allocations: 179 kB / 0.8121 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02132/1.344, allocations: 6.908 MB / 0.8188 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.344, allocations: 1.719 kB / 0.8188 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01381/1.358, allocations: 4.431 MB / 0.8231 GB, free: 146 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/1.361, allocations: 273.1 kB / 0.8234 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009993/1.371, allocations: 5.544 MB / 0.8288 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009935/1.372, allocations: 1.828 MB / 0.8306 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001232/1.373, allocations: 262.6 kB / 0.8308 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006154/1.374, allocations: 170.9 kB / 0.831 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/1.374, allocations: 0 / 0.831 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.08063/1.455, allocations: 66.03 MB / 0.8955 GB, free: 73.19 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)