Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001305/0.001305, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.365/1.365, allocations: 222.9 MB / 240 MB, free: 4.5 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.001777/0.001777, allocations: 196.3 kB / 290.3 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4896/0.4896, allocations: 78.53 MB / 419 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 79.88 kB / 498.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1449, allocations: 68.18 MB / 0.5538 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.2533/0.3982, allocations: 13.83 MB / 0.5673 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007867/0.4061, allocations: 3.506 MB / 0.5707 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00369/0.4099, allocations: 27.16 kB / 0.5707 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.4124, allocations: 0.5737 MB / 0.5713 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00583/0.4183, allocations: 1.428 MB / 0.5727 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004705/0.423, allocations: 1.519 MB / 0.5742 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007885/0.4309, allocations: 3.811 MB / 0.5779 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.4335, allocations: 0.9007 MB / 0.5788 GB, free: 27.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.437, allocations: 1.555 MB / 0.5803 GB, free: 27.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003812/0.4408, allocations: 2.006 MB / 0.5823 GB, free: 26.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001786/0.4427, allocations: 295.6 kB / 0.5825 GB, free: 26.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.445, allocations: 439.6 kB / 0.583 GB, free: 26.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.4463, allocations: 0.7812 MB / 0.5837 GB, free: 26.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002633/0.449, allocations: 1.659 MB / 0.5853 GB, free: 25.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005388/0.4544, allocations: 4.057 MB / 0.5893 GB, free: 23.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4544, allocations: 1.719 kB / 0.5893 GB, free: 23.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4544, allocations: 0 / 0.5893 GB, free: 23.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001537/0.4546, allocations: 0 / 0.5893 GB, free: 23.23 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.03568/0.4903, allocations: 6.667 MB / 0.5958 GB, free: 20.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.4904, allocations: 9.344 kB / 0.5958 GB, free: 20.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02694/0.5173, allocations: 2.279 MB / 0.598 GB, free: 20.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006288/0.5237, allocations: 1.917 MB / 0.5999 GB, free: 18.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009005/0.5246, allocations: 0.727 MB / 0.6006 GB, free: 18.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009424/0.5255, allocations: 221.1 kB / 0.6008 GB, free: 18.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.536, allocations: 3.056 MB / 0.6038 GB, free: 17.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.14e-05/0.5361, allocations: 4 kB / 0.6038 GB, free: 17.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/0.5365, allocations: 86.97 kB / 0.6039 GB, free: 17.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/0.5366, allocations: 49.94 kB / 0.604 GB, free: 17.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007095/0.5437, allocations: 2.796 MB / 0.6067 GB, free: 16.06 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.02058/0.5643, allocations: 9.904 MB / 0.6164 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.5744, allocations: 4.219 MB / 0.6205 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004231/0.5787, allocations: 1.987 MB / 0.6224 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003332/0.5791, allocations: 45.45 kB / 0.6225 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004212/0.5833, allocations: 2.247 MB / 0.6247 GB, free: 5.488 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 4.348e-06/0.5833, allocations: 4 kB / 0.6247 GB, free: 5.484 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1167/0.7, allocations: 28.82 MB / 0.6528 GB, free: 8.539 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.7001, allocations: 180.2 kB / 0.653 GB, free: 8.324 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004766/0.7049, allocations: 2.333 MB / 0.6553 GB, free: 5.973 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009691/0.7059, allocations: 69.7 kB / 0.6553 GB, free: 5.898 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.7071, allocations: 1.18 MB / 0.6565 GB, free: 4.707 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001726/0.7088, allocations: 0.8897 MB / 0.6573 GB, free: 3.805 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002714/0.7116, allocations: 0.5699 MB / 0.6579 GB, free: 3.227 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7117, allocations: 301.1 kB / 0.6582 GB, free: 2.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004831/0.7166, allocations: 1.992 MB / 0.6601 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005016/0.7216, allocations: 2.35 MB / 0.6624 GB, free: 14.49 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05663/0.7782, allocations: 14.38 MB / 0.6765 GB, free: 15.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.355e-05/0.7783, allocations: 7.938 kB / 0.6765 GB, free: 15.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04451/0.8229, allocations: 12.6 MB / 0.6888 GB, free: 3.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.823, allocations: 118.8 kB / 0.6889 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.8231, allocations: 8 kB / 0.6889 GB, free: 3.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01882/0.8419, allocations: 5.434 MB / 0.6942 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/0.8453, allocations: 0.5812 MB / 0.6948 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06382/0.9091, allocations: 23.64 MB / 0.7179 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005442/0.9146, allocations: 0.4964 MB / 0.7183 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009381/0.9156, allocations: 120.8 kB / 0.7185 GB, free: 4.68 MB / 0.5137 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.002458/0.9181, allocations: 0.538 MB / 0.719 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/0.9195, allocations: 300.2 kB / 0.7193 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04026/0.9597, allocations: 11.95 MB / 0.7309 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.708e-05/0.9598, allocations: 28 kB / 0.731 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-05/0.9599, allocations: 17.5 kB / 0.731 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-05/0.96, allocations: 23.83 kB / 0.731 GB, free: 7.719 MB / 0.5294 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.0474/1.007, allocations: 15.57 MB / 0.7462 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.747e-05/1.007, allocations: 3.984 kB / 0.7462 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/1.009, allocations: 251.6 kB / 0.7464 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01755/1.027, allocations: 5.28 MB / 0.7516 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007846/1.028, allocations: 47.98 kB / 0.7517 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3336/1.361, allocations: 24.92 MB / 0.776 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.361, allocations: 1.094 kB / 0.776 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04086/1.402, allocations: 14.35 MB / 0.79 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.403, allocations: 415 kB / 0.7904 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006998/1.404, allocations: 46.12 kB / 0.7904 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002927/1.407, allocations: 300.7 kB / 0.7907 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002048/1.409, allocations: 0.5762 MB / 0.7913 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000255/1.409, allocations: 66.67 kB / 0.7913 GB, free: 163 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00231/1.412, allocations: 1.546 MB / 0.7929 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/1.412, allocations: 0 / 0.7929 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003583/1.415, allocations: 1.2 MB / 0.794 GB, free: 162.8 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.0004754/1.416, allocations: 180.3 kB / 0.7942 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01754/1.433, allocations: 6.791 MB / 0.8008 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.433, allocations: 0.75 kB / 0.8008 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01326/1.447, allocations: 4.428 MB / 0.8052 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002712/1.449, allocations: 266.7 kB / 0.8054 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.46, allocations: 5.475 MB / 0.8108 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/1.462, allocations: 1.818 MB / 0.8125 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001285/1.463, allocations: 264.7 kB / 0.8128 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006343/1.464, allocations: 176.7 kB / 0.813 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.323e-06/1.464, allocations: 4 kB / 0.813 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.08139/1.545, allocations: 66.04 MB / 0.8775 GB, free: 101.8 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)