Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.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.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 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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009944/0.0009942, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009366/0.0009366, allocations: 97.59 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4785/0.4785, allocations: 78.94 MB / 410.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.026e-05, allocations: 4 kB / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1383, allocations: 69.51 MB / 0.5424 GB, free: 5.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3923/0.5306, allocations: 100.4 MB / 0.6405 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.5309, allocations: 81.98 kB / 0.6405 GB, free: 13.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.177/0.7079, allocations: 67.85 MB / 0.7068 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.313e-06/0.708, allocations: 0.75 kB / 0.7068 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001965/0.7082, allocations: 63.94 kB / 0.7068 GB, free: 9.652 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01252/0.7207, allocations: 4.057 MB / 0.7108 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.7208, allocations: 8.031 kB / 0.7108 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.7309, allocations: 1.6 MB / 0.7124 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/0.7345, allocations: 1.655 MB / 0.714 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00065/0.7352, allocations: 0.6203 MB / 0.7146 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004278/0.7356, allocations: 123.9 kB / 0.7147 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004182/0.7398, allocations: 2.238 MB / 0.7169 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/0.7439, allocations: 2.291 MB / 0.7191 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/0.744, allocations: 4 kB / 0.7191 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.7442, allocations: 0 / 0.7191 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.7443, allocations: 48 kB / 0.7192 GB, free: 12.67 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.01914/0.7634, allocations: 9.791 MB / 0.7288 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009432/0.7729, allocations: 3.974 MB / 0.7326 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/0.7752, allocations: 1.483 MB / 0.7341 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/0.7755, allocations: 38.59 kB / 0.7341 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.7755, allocations: 72.52 kB / 0.7342 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=244): time 4.048e-06/0.7755, allocations: 0 / 0.7342 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=244): time 0.03888/0.8144, allocations: 12.1 MB / 0.746 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.8146, allocations: 235.6 kB / 0.7462 GB, free: 348 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/0.8177, allocations: 1.736 MB / 0.7479 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006135/0.8183, allocations: 31.05 kB / 0.748 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008844/0.8192, allocations: 1.196 MB / 0.7491 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.8202, allocations: 0.8196 MB / 0.7499 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.8204, allocations: 4 kB / 0.7499 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.8206, allocations: 390.7 kB / 0.7503 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.8226, allocations: 1.2 MB / 0.7515 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/0.8248, allocations: 1.488 MB / 0.7529 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.827, allocations: 1.32 MB / 0.7542 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.827, allocations: 4 kB / 0.7542 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.3051/1.132, allocations: 12.2 MB / 0.7661 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005165/1.133, allocations: 2.873 MB / 0.7689 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/1.133, allocations: 5.656 kB / 0.7689 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01513/1.148, allocations: 4.947 MB / 0.7738 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/1.15, allocations: 367 kB / 0.7741 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03722/1.187, allocations: 18.51 MB / 0.7922 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003768/1.191, allocations: 482 kB / 0.7927 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/1.191, allocations: 84.17 kB / 0.7927 GB, free: 105 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/1.191, allocations: 5.219 kB / 0.7927 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0365/1.228, allocations: 11.89 MB / 0.8044 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.127e-05/1.228, allocations: 7.125 kB / 0.8044 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01691/1.245, allocations: 4.942 MB / 0.8092 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001974/1.247, allocations: 359 kB / 0.8095 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03563/1.282, allocations: 18.52 MB / 0.8276 GB, free: 98.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003876/1.286, allocations: 451.6 kB / 0.828 GB, free: 98.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/1.287, allocations: 79.28 kB / 0.8281 GB, free: 98.33 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006923/1.287, allocations: 214.9 kB / 0.8283 GB, free: 98.15 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005394/1.288, allocations: 293.5 kB / 0.8286 GB, free: 98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03492/1.323, allocations: 12.38 MB / 0.8407 GB, free: 95.59 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/1.323, allocations: 25.38 kB / 0.8407 GB, free: 95.59 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.78e-05/1.323, allocations: 17.88 kB / 0.8407 GB, free: 95.59 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.082e-05/1.323, allocations: 13.97 kB / 0.8407 GB, free: 95.59 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.03826/1.361, allocations: 15.94 MB / 0.8563 GB, free: 91.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/1.361, allocations: 0 / 0.8563 GB, free: 91.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.363, allocations: 278.4 kB / 0.8566 GB, free: 91.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01344/1.376, allocations: 4.769 MB / 0.8612 GB, free: 90.44 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000427/1.377, allocations: 15.5 kB / 0.8613 GB, free: 90.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02972/1.407, allocations: 15.19 MB / 0.8761 GB, free: 77.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.407, allocations: 3.375 kB / 0.8761 GB, free: 77.39 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0372/1.444, allocations: 14.36 MB / 0.8901 GB, free: 65.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000844/1.445, allocations: 415.1 kB / 0.8905 GB, free: 65.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005033/1.445, allocations: 5 kB / 0.8905 GB, free: 65.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/1.448, allocations: 355.2 kB / 0.8909 GB, free: 65.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0016/1.45, allocations: 0.5525 MB / 0.8914 GB, free: 64.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/1.45, allocations: 63.33 kB / 0.8915 GB, free: 64.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001499/1.451, allocations: 1.297 MB / 0.8927 GB, free: 63.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.451, allocations: 0 / 0.8927 GB, free: 63.51 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004263/1.456, allocations: 1.628 MB / 0.8943 GB, free: 61.96 MB / 0.5573 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.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 2 * 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.0003996/1.456, allocations: 153.7 kB / 0.8945 GB, free: 61.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02424/1.48, allocations: 10.03 MB / 0.9043 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.48, allocations: 0 / 0.9043 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01058/1.491, allocations: 3.978 MB / 0.9082 GB, free: 49.19 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.493, allocations: 193.6 kB / 0.9083 GB, free: 49.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006627/1.499, allocations: 4.258 MB / 0.9125 GB, free: 45.18 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.5, allocations: 1.909 MB / 0.9144 GB, free: 43.69 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001789/1.502, allocations: 449.1 kB / 0.9148 GB, free: 43.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/1.503, allocations: 118.8 kB / 0.9149 GB, free: 43.29 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/1.503, allocations: 0 / 0.9149 GB, free: 43.29 MB / 0.5573 GB Notification: Performance of Templates: time 0.3437/1.846, allocations: 71.74 MB / 0.985 GB, free: 125.1 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)