Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004959/0.004959, allocations: 170.8 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 90.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06026/0.06026, allocations: 12.61 MB / 330.5 MB, free: 10.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.393/0.393, allocations: 78.52 MB / 460 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005101/0.00051, allocations: 25.91 kB / 0.5285 GB, free: 35.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 69.32 MB / 0.5962 GB, free: 3.809 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3993/0.5267, allocations: 100.9 MB / 0.6947 GB, free: 35.52 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.527, allocations: 84.17 kB / 0.6948 GB, free: 35.52 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1388/0.6658, allocations: 60.47 MB / 0.7538 GB, free: 23.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.6659, allocations: 0 / 0.7538 GB, free: 23.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001336/0.666, allocations: 62.86 kB / 0.7539 GB, free: 23.32 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01245/0.6785, allocations: 4.303 MB / 0.7581 GB, free: 21.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.6785, allocations: 11.77 kB / 0.7581 GB, free: 21.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009484/0.688, allocations: 1.597 MB / 0.7597 GB, free: 20.46 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003507/0.6916, allocations: 1.51 MB / 0.7611 GB, free: 19.65 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004808/0.6921, allocations: 0.6822 MB / 0.7618 GB, free: 19.11 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003984/0.6925, allocations: 192.8 kB / 0.762 GB, free: 19.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005346/0.6978, allocations: 3.094 MB / 0.765 GB, free: 18.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.6979, allocations: 0 / 0.765 GB, free: 18.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.6981, allocations: 74.12 kB / 0.7651 GB, free: 18.35 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.6982, allocations: 46.44 kB / 0.7651 GB, free: 18.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00495/0.7031, allocations: 2.891 MB / 0.768 GB, free: 17.91 MB / 474.7 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.01561/0.7187, allocations: 9.708 MB / 0.7774 GB, free: 13.03 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.7288, allocations: 4.806 MB / 0.7821 GB, free: 11.56 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.7293, allocations: 40.89 kB / 0.7822 GB, free: 11.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.7293, allocations: 61.44 kB / 0.7822 GB, free: 11.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=230): time 5.1e-06/0.7293, allocations: 0 / 0.7822 GB, free: 11.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=230): time 0.1108/0.8402, allocations: 31.78 MB / 0.8133 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.8403, allocations: 132.8 kB / 0.8134 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.8432, allocations: 1.705 MB / 0.8151 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007844/0.844, allocations: 61.7 kB / 0.8151 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.8451, allocations: 1.121 MB / 0.8162 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/0.8463, allocations: 0.7969 MB / 0.817 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.8465, allocations: 44 kB / 0.817 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.8467, allocations: 390.3 kB / 0.8174 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003929/0.8506, allocations: 1.812 MB / 0.8192 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004136/0.8548, allocations: 2.126 MB / 0.8212 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004116/0.8589, allocations: 1.923 MB / 0.8231 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.8589, allocations: 0 / 0.8231 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.04158/0.9005, allocations: 14.21 MB / 0.837 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001031/0.9016, allocations: 2.745 MB / 0.8397 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.9016, allocations: 4 kB / 0.8397 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02056/0.9222, allocations: 6.516 MB / 0.8461 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.9241, allocations: 319.5 kB / 0.8464 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06471/0.9888, allocations: 27.84 MB / 0.8735 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/0.9929, allocations: 493.7 kB / 0.874 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003803/0.9934, allocations: 79.92 kB / 0.8741 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.9934, allocations: 4 kB / 0.8741 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04138/1.035, allocations: 13.89 MB / 0.8877 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.642e-05/1.035, allocations: 12 kB / 0.8877 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02046/1.055, allocations: 6.509 MB / 0.894 GB, free: 10.51 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/1.057, allocations: 307.6 kB / 0.8943 GB, free: 10.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3479/1.405, allocations: 27.83 MB / 0.9215 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004163/1.409, allocations: 463.8 kB / 0.9219 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004516/1.41, allocations: 85.45 kB / 0.922 GB, free: 160.5 MB / 0.5886 GB Warning: Assuming fixed start value for the following 6 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.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 order2.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 (189): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001496/1.411, allocations: 0.4898 MB / 0.9225 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000799/1.412, allocations: 277.6 kB / 0.9228 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04271/1.455, allocations: 14.32 MB / 0.9367 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/1.455, allocations: 22.41 kB / 0.9368 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.927e-05/1.455, allocations: 18.69 kB / 0.9368 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.246e-05/1.455, allocations: 15.48 kB / 0.9368 GB, free: 160.2 MB / 0.5886 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.04261/1.498, allocations: 17.86 MB / 0.9542 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/1.498, allocations: 3.5 kB / 0.9542 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/1.499, allocations: 257.7 kB / 0.9545 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01579/1.515, allocations: 6.09 MB / 0.9604 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005796/1.516, allocations: 42.98 kB / 0.9605 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04686/1.563, allocations: 22.65 MB / 0.9826 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.563, allocations: 0 / 0.9826 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04165/1.604, allocations: 16.88 MB / 0.9991 GB, free: 139.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.606, allocations: 382.6 kB / 0.9994 GB, free: 139.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008542/1.607, allocations: 44 kB / 0.9995 GB, free: 139.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/1.61, allocations: 359.2 kB / 0.9998 GB, free: 138.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001892/1.611, allocations: 0.5524 MB / 1 GB, free: 138.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/1.612, allocations: 63.47 kB / 1 GB, free: 138.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001817/1.613, allocations: 1.31 MB / 1.002 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.01e-07/1.613, allocations: 4 kB / 1.002 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005239/1.619, allocations: 1.715 MB / 1.003 GB, free: 135.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (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.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 (149): * Single equations (assignments): 148 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004643/1.619, allocations: 186.4 kB / 1.004 GB, free: 135.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02939/1.649, allocations: 11.63 MB / 1.015 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.649, allocations: 5.016 kB / 1.015 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01274/1.661, allocations: 4.637 MB / 1.019 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/1.664, allocations: 198.8 kB / 1.02 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009128/1.673, allocations: 6.394 MB / 1.026 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/1.674, allocations: 1.802 MB / 1.028 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001279/1.675, allocations: 212.4 kB / 1.028 GB, free: 114.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/1.676, allocations: 127 kB / 1.028 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of SimCode: time 1.302e-06/1.676, allocations: 0 / 1.028 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.09302/1.769, allocations: 72.1 MB / 1.098 GB, free: 46.34 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)