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.001461/0.001461, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.402/1.402, allocations: 222.9 MB / 239 MB, free: 4.73 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.001485/0.001485, allocations: 188.5 kB / 289.3 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5637/0.5637, allocations: 91.89 MB / 431.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 75.88 kB / 0.5014 GB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.439, allocations: 71.27 MB / 0.571 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.0103/0.4494, allocations: 14.65 MB / 0.5853 GB, free: 26.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007618/0.457, allocations: 3.658 MB / 0.5889 GB, free: 24.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.4602, allocations: 29.53 kB / 0.5889 GB, free: 24.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.462, allocations: 445.5 kB / 0.5893 GB, free: 23.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.4667, allocations: 1.236 MB / 0.5905 GB, free: 23.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003444/0.4702, allocations: 1.417 MB / 0.5919 GB, free: 22.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005467/0.4757, allocations: 3.792 MB / 0.5956 GB, free: 20.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.4774, allocations: 0.9025 MB / 0.5965 GB, free: 19.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.4801, allocations: 1.564 MB / 0.598 GB, free: 19.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003084/0.4832, allocations: 2.008 MB / 0.6 GB, free: 18.15 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001247/0.4845, allocations: 294.8 kB / 0.6002 GB, free: 18.15 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.486, allocations: 442.3 kB / 0.6007 GB, free: 18.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005317/0.4865, allocations: 0.7893 MB / 0.6014 GB, free: 17.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.4881, allocations: 1.666 MB / 0.6031 GB, free: 16.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004826/0.493, allocations: 3.996 MB / 0.607 GB, free: 14.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.493, allocations: 0 / 0.607 GB, free: 14.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.493, allocations: 0 / 0.607 GB, free: 14.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001419/0.4931, allocations: 1.531 kB / 0.607 GB, free: 14.61 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.02599/0.5191, allocations: 6.676 MB / 0.6135 GB, free: 11.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.5192, allocations: 9.906 kB / 0.6135 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/0.5351, allocations: 2.277 MB / 0.6157 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005333/0.5405, allocations: 1.911 MB / 0.6176 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006484/0.5412, allocations: 0.7309 MB / 0.6183 GB, free: 9.684 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000559/0.5417, allocations: 221.2 kB / 0.6185 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006616/0.5484, allocations: 3.055 MB / 0.6215 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.5484, allocations: 5.031 kB / 0.6215 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.5487, allocations: 85.58 kB / 0.6216 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/0.5487, allocations: 50.45 kB / 0.6216 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005923/0.5547, allocations: 2.797 MB / 0.6244 GB, free: 7.434 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.01752/0.5722, allocations: 9.97 MB / 0.6341 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.5832, allocations: 4.227 MB / 0.6382 GB, free: 9.043 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004235/0.5875, allocations: 1.983 MB / 0.6402 GB, free: 7.051 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003124/0.5878, allocations: 49.89 kB / 0.6402 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004637/0.5925, allocations: 2.252 MB / 0.6424 GB, free: 4.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 4.058e-06/0.5925, allocations: 0 / 0.6424 GB, free: 4.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.1217/0.7141, allocations: 28.82 MB / 0.6706 GB, free: 7.793 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.7143, allocations: 180.2 kB / 0.6707 GB, free: 7.578 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/0.7181, allocations: 2.337 MB / 0.673 GB, free: 5.223 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009379/0.7191, allocations: 69.7 kB / 0.6731 GB, free: 5.148 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008808/0.72, allocations: 1.172 MB / 0.6742 GB, free: 3.965 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.7211, allocations: 0.8897 MB / 0.6751 GB, free: 3.062 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.7222, allocations: 0.566 MB / 0.6756 GB, free: 2.488 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.7223, allocations: 301.1 kB / 0.6759 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004101/0.7264, allocations: 1.99 MB / 0.6779 GB, free: 204 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004359/0.7308, allocations: 2.362 MB / 0.6802 GB, free: 13.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05747/0.7883, allocations: 14.43 MB / 0.6943 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-05/0.7884, allocations: 7.938 kB / 0.6943 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04395/0.8323, allocations: 12.6 MB / 0.7066 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.8325, allocations: 118.8 kB / 0.7067 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/0.8325, allocations: 8 kB / 0.7067 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01858/0.8511, allocations: 5.434 MB / 0.712 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/0.8544, allocations: 0.5851 MB / 0.7126 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0585/0.913, allocations: 23.67 MB / 0.7357 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005485/0.9185, allocations: 0.4891 MB / 0.7362 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009464/0.9195, allocations: 120 kB / 0.7363 GB, free: 3.793 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.00151/0.921, allocations: 0.539 MB / 0.7368 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009851/0.922, allocations: 300.2 kB / 0.7371 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03895/0.9609, allocations: 11.95 MB / 0.7488 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/0.961, allocations: 28 kB / 0.7488 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.891e-05/0.9611, allocations: 16 kB / 0.7488 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.478e-05/0.9611, allocations: 19.89 kB / 0.7488 GB, free: 6.836 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.04527/1.006, allocations: 15.59 MB / 0.764 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/1.006, allocations: 4 kB / 0.7641 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/1.008, allocations: 251.6 kB / 0.7643 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01771/1.026, allocations: 5.291 MB / 0.7695 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000933/1.027, allocations: 47.98 kB / 0.7695 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3964/1.423, allocations: 24.95 MB / 0.7939 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.424, allocations: 1.031 kB / 0.7939 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04895/1.472, allocations: 14.34 MB / 0.8079 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/1.474, allocations: 412.8 kB / 0.8083 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008383/1.475, allocations: 49.64 kB / 0.8083 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003252/1.478, allocations: 302.3 kB / 0.8086 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002232/1.48, allocations: 0.5823 MB / 0.8092 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/1.481, allocations: 64.62 kB / 0.8092 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002292/1.483, allocations: 1.538 MB / 0.8107 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.483, allocations: 0 / 0.8107 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004647/1.488, allocations: 1.199 MB / 0.8119 GB, free: 151.6 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.0004733/1.488, allocations: 177.2 kB / 0.8121 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01932/1.507, allocations: 6.908 MB / 0.8188 GB, free: 149 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.507, allocations: 0 / 0.8188 GB, free: 149 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01256/1.52, allocations: 4.429 MB / 0.8231 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/1.523, allocations: 270.8 kB / 0.8234 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009752/1.532, allocations: 6.632 MB / 0.8299 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/1.534, allocations: 1.816 MB / 0.8317 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001275/1.535, allocations: 262.9 kB / 0.8319 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005978/1.535, allocations: 177.9 kB / 0.8321 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.793e-06/1.535, allocations: 4 kB / 0.8321 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.08215/1.618, allocations: 63.41 MB / 0.894 GB, free: 74.4 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)