Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00437/0.00437, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 223.2 MB / 239 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009077, allocations: 85.41 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4013/0.4013, allocations: 78.51 MB / 419.8 MB, free: 44.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 12 kB / 499.7 MB, free: 2.762 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2924, allocations: 69.36 MB / 0.5557 GB, free: 38.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.3993, allocations: 99.08 MB / 0.6525 GB, free: 7.297 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.3995, allocations: 79.95 kB / 0.6525 GB, free: 7.219 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1462/0.5457, allocations: 61.85 MB / 0.7129 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.42e-07/0.5457, allocations: 0 / 0.7129 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001201/0.5459, allocations: 52 kB / 0.713 GB, free: 8.965 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 488 * Number of variables: 488 Notification: Performance of Generate backend data structure: time 0.01121/0.5571, allocations: 4.283 MB / 0.7172 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.5571, allocations: 8.031 kB / 0.7172 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008802/0.5659, allocations: 1.592 MB / 0.7187 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.5685, allocations: 1.487 MB / 0.7202 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005643/0.5691, allocations: 0.6787 MB / 0.7209 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/0.5694, allocations: 203.9 kB / 0.7211 GB, free: 492 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005526/0.5749, allocations: 3.082 MB / 0.7241 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.575, allocations: 0 / 0.7241 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.5752, allocations: 76 kB / 0.7241 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.5753, allocations: 51.95 kB / 0.7242 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005311/0.5806, allocations: 2.873 MB / 0.727 GB, free: 10.38 MB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.01579/0.5964, allocations: 9.674 MB / 0.7364 GB, free: 288 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01076/0.6072, allocations: 4.79 MB / 0.7411 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/0.6074, allocations: 37.97 kB / 0.7411 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.6074, allocations: 60.56 kB / 0.7412 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=229): time 4.228e-06/0.6074, allocations: 0 / 0.7412 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=229): time 0.2965/0.9039, allocations: 28.71 MB / 0.7692 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.904, allocations: 130.6 kB / 0.7694 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.9065, allocations: 1.682 MB / 0.771 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004673/0.907, allocations: 64.58 kB / 0.7711 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000679/0.9077, allocations: 1.134 MB / 0.7722 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007009/0.9084, allocations: 0.7834 MB / 0.7729 GB, free: 118 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.9086, allocations: 44.25 kB / 0.773 GB, free: 118 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.9087, allocations: 387.1 kB / 0.7734 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/0.9123, allocations: 1.81 MB / 0.7751 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/0.9157, allocations: 2.113 MB / 0.7772 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/0.9189, allocations: 1.93 MB / 0.7791 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.919, allocations: 0 / 0.7791 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.03656/0.9555, allocations: 14.14 MB / 0.7929 GB, free: 117 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004173/0.956, allocations: 2.729 MB / 0.7955 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.956, allocations: 12.47 kB / 0.7956 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01836/0.9744, allocations: 6.423 MB / 0.8018 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.9762, allocations: 341.9 kB / 0.8022 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05672/1.033, allocations: 26.44 MB / 0.828 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00388/1.037, allocations: 491.3 kB / 0.8284 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004759/1.037, allocations: 79.58 kB / 0.8285 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/1.037, allocations: 5.812 kB / 0.8285 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03572/1.073, allocations: 13.82 MB / 0.842 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/1.073, allocations: 7.281 kB / 0.842 GB, free: 105.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01679/1.09, allocations: 6.429 MB / 0.8483 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/1.092, allocations: 323.9 kB / 0.8486 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05254/1.144, allocations: 26.44 MB / 0.8744 GB, free: 85.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003242/1.148, allocations: 472.2 kB / 0.8749 GB, free: 85.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004134/1.148, allocations: 75.8 kB / 0.875 GB, free: 85.07 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001373/1.149, allocations: 494.5 kB / 0.8754 GB, free: 84.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007969/1.15, allocations: 272.6 kB / 0.8757 GB, free: 84.33 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0357/1.186, allocations: 14.31 MB / 0.8897 GB, free: 73.33 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/1.186, allocations: 24 kB / 0.8897 GB, free: 73.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.724e-05/1.186, allocations: 16 kB / 0.8897 GB, free: 73.29 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.744e-05/1.186, allocations: 11.81 kB / 0.8897 GB, free: 73.29 MB / 0.5573 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.04101/1.227, allocations: 17.82 MB / 0.9071 GB, free: 59.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.227, allocations: 2.75 kB / 0.9071 GB, free: 59.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.229, allocations: 258.6 kB / 0.9074 GB, free: 59.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01524/1.244, allocations: 6.017 MB / 0.9132 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005477/1.244, allocations: 47.94 kB / 0.9133 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04566/1.29, allocations: 22.67 MB / 0.9354 GB, free: 31.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.29, allocations: 3.328 kB / 0.9354 GB, free: 31.64 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03976/1.33, allocations: 16.84 MB / 0.9519 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008337/1.331, allocations: 385.1 kB / 0.9522 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008754/1.332, allocations: 47.94 kB / 0.9523 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002955/1.335, allocations: 363.7 kB / 0.9526 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001854/1.337, allocations: 0.5488 MB / 0.9532 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003233/1.337, allocations: 56 kB / 0.9532 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002174/1.339, allocations: 1.303 MB / 0.9545 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/1.339, allocations: 0 / 0.9545 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006692/1.346, allocations: 1.707 MB / 0.9561 GB, free: 10.33 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005879/1.346, allocations: 183.5 kB / 0.9563 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02787/1.374, allocations: 11.33 MB / 0.9674 GB, free: 14.81 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/1.374, allocations: 4.438 kB / 0.9674 GB, free: 14.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01272/1.387, allocations: 4.598 MB / 0.9719 GB, free: 10.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/1.389, allocations: 189.1 kB / 0.9721 GB, free: 10.02 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/1.401, allocations: 6.271 MB / 0.9782 GB, free: 3.719 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/1.403, allocations: 1.796 MB / 0.9799 GB, free: 1.895 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001319/1.404, allocations: 212.5 kB / 0.9801 GB, free: 1.691 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005897/1.405, allocations: 119.4 kB / 0.9803 GB, free: 1.578 MB / 0.573 GB Notification: Performance of SimCode: time 1.052e-06/1.405, allocations: 0 / 0.9803 GB, free: 1.578 MB / 0.573 GB Notification: Performance of Templates: time 0.29/1.695, allocations: 71.3 MB / 1.05 GB, free: 121.6 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRIII.pipe 2>&1)