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.00133/0.001331, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.386/1.386, allocations: 222.9 MB / 240 MB, free: 4.547 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.00131/0.00131, allocations: 188.5 kB / 290.3 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5283/0.5283, allocations: 78.53 MB / 419 MB, free: 3.125 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 83.88 kB / 498.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1616, allocations: 68.17 MB / 0.5538 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.3028/0.4645, allocations: 13.82 MB / 0.5673 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009237/0.4738, allocations: 3.512 MB / 0.5707 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003892/0.4777, allocations: 28.53 kB / 0.5707 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.4794, allocations: 0.5665 MB / 0.5713 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00516/0.4846, allocations: 1.431 MB / 0.5727 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.488, allocations: 1.526 MB / 0.5742 GB, free: 29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005091/0.4931, allocations: 3.814 MB / 0.5779 GB, free: 28.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.4944, allocations: 0.8983 MB / 0.5788 GB, free: 27.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.4967, allocations: 1.556 MB / 0.5803 GB, free: 27.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.4985, allocations: 2.005 MB / 0.5822 GB, free: 26.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000408/0.499, allocations: 295.9 kB / 0.5825 GB, free: 26.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008859/0.4999, allocations: 444.4 kB / 0.583 GB, free: 26.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005559/0.5004, allocations: 0.7775 MB / 0.5837 GB, free: 26.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.5016, allocations: 1.665 MB / 0.5853 GB, free: 25.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.5055, allocations: 4.045 MB / 0.5893 GB, free: 23.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.5056, allocations: 0 / 0.5893 GB, free: 23.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5056, allocations: 3.938 kB / 0.5893 GB, free: 23.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.153e-05/0.5057, allocations: 0 / 0.5893 GB, free: 23.25 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.02491/0.5306, allocations: 6.676 MB / 0.5958 GB, free: 20.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.5307, allocations: 9.062 kB / 0.5958 GB, free: 20.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/0.5464, allocations: 2.276 MB / 0.598 GB, free: 20.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005204/0.5516, allocations: 1.905 MB / 0.5999 GB, free: 18.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006476/0.5523, allocations: 0.7312 MB / 0.6006 GB, free: 18.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006161/0.5529, allocations: 220.5 kB / 0.6008 GB, free: 18.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006719/0.5596, allocations: 3.056 MB / 0.6038 GB, free: 17.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/0.5597, allocations: 1.375 kB / 0.6038 GB, free: 17.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/0.5599, allocations: 84.97 kB / 0.6039 GB, free: 17.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/0.56, allocations: 50.88 kB / 0.6039 GB, free: 17.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006511/0.5665, allocations: 2.801 MB / 0.6067 GB, free: 16.08 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.02458/0.5911, allocations: 9.905 MB / 0.6163 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/0.602, allocations: 4.22 MB / 0.6205 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004481/0.6065, allocations: 1.988 MB / 0.6224 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003377/0.6069, allocations: 45.45 kB / 0.6225 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004854/0.6117, allocations: 2.244 MB / 0.6246 GB, free: 5.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 5.48e-06/0.6117, allocations: 0 / 0.6246 GB, free: 5.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.1117/0.7235, allocations: 28.83 MB / 0.6528 GB, free: 8.531 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.7236, allocations: 184.2 kB / 0.653 GB, free: 8.312 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004079/0.7277, allocations: 2.333 MB / 0.6553 GB, free: 5.961 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009883/0.7287, allocations: 69.7 kB / 0.6553 GB, free: 5.887 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.7298, allocations: 1.18 MB / 0.6565 GB, free: 4.695 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001658/0.7315, allocations: 0.8858 MB / 0.6573 GB, free: 3.797 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/0.7327, allocations: 0.566 MB / 0.6579 GB, free: 3.223 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7329, allocations: 305.1 kB / 0.6582 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004242/0.7371, allocations: 1.986 MB / 0.6601 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004803/0.7419, allocations: 2.356 MB / 0.6624 GB, free: 14.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05474/0.7967, allocations: 14.37 MB / 0.6765 GB, free: 15.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-05/0.7968, 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.03995/0.8367, allocations: 12.61 MB / 0.6888 GB, free: 3.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.8368, allocations: 114.8 kB / 0.6889 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.8369, allocations: 8.562 kB / 0.6889 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01799/0.8549, allocations: 5.434 MB / 0.6942 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/0.8585, allocations: 0.5773 MB / 0.6948 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05978/0.9183, allocations: 23.64 MB / 0.7179 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005464/0.9238, allocations: 0.493 MB / 0.7183 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005909/0.9244, allocations: 120 kB / 0.7184 GB, free: 4.664 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.0016/0.9261, allocations: 0.5339 MB / 0.719 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008335/0.9269, allocations: 301.8 kB / 0.7193 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03874/0.9656, allocations: 11.94 MB / 0.7309 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.793e-05/0.9657, allocations: 24 kB / 0.7309 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.691e-05/0.9658, allocations: 20.94 kB / 0.731 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.539e-05/0.9659, allocations: 15.89 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.0465/1.012, allocations: 15.58 MB / 0.7462 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/1.012, allocations: 0 / 0.7462 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/1.014, allocations: 255.6 kB / 0.7464 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01744/1.032, allocations: 5.285 MB / 0.7516 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009256/1.033, allocations: 47.98 kB / 0.7516 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4181/1.451, allocations: 24.92 MB / 0.776 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/1.451, allocations: 4.656 kB / 0.776 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04261/1.494, allocations: 14.34 MB / 0.79 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.495, allocations: 413.1 kB / 0.7904 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/1.496, allocations: 53.56 kB / 0.7904 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00326/1.499, allocations: 297.5 kB / 0.7907 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002264/1.502, allocations: 0.5755 MB / 0.7913 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/1.502, allocations: 71.27 kB / 0.7913 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002589/1.505, allocations: 1.541 MB / 0.7928 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/1.505, allocations: 1.188 kB / 0.7928 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00439/1.509, allocations: 1.194 MB / 0.794 GB, free: 162.7 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.0005341/1.51, allocations: 181.8 kB / 0.7942 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02021/1.53, allocations: 6.788 MB / 0.8008 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/1.53, allocations: 2.312 kB / 0.8008 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01457/1.544, allocations: 4.434 MB / 0.8051 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/1.548, allocations: 266.3 kB / 0.8054 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/1.559, allocations: 5.477 MB / 0.8108 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/1.561, allocations: 1.818 MB / 0.8125 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001474/1.563, allocations: 268.8 kB / 0.8128 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/1.563, allocations: 171.3 kB / 0.8129 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/1.563, allocations: 1.375 kB / 0.8129 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.09522/1.659, allocations: 66.05 MB / 0.8774 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 cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)