Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003911/0.003911, allocations: 169 kB / 15.11 MB, free: 5.977 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.142/1.142, allocations: 223.2 MB / 239.1 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.0008507/0.0008507, allocations: 96.92 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4017/0.4017, allocations: 78.52 MB / 419.8 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 12 kB / 499.7 MB, free: 2.781 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2788, allocations: 69.35 MB / 0.5557 GB, free: 38.78 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3878, allocations: 100.3 MB / 0.6537 GB, free: 6.086 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.388, allocations: 79.95 kB / 0.6538 GB, free: 6.008 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.16/0.5481, allocations: 67.65 MB / 0.7198 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5481, allocations: 0 / 0.7198 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001606/0.5483, allocations: 63.94 kB / 0.7199 GB, free: 1.922 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01286/0.5611, allocations: 4.641 MB / 0.7244 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.5612, allocations: 8.031 kB / 0.7244 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009804/0.571, allocations: 1.623 MB / 0.726 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.5752, allocations: 1.72 MB / 0.7277 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006259/0.5758, allocations: 0.6867 MB / 0.7284 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006408/0.5765, allocations: 211.9 kB / 0.7286 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006106/0.5826, allocations: 3.235 MB / 0.7317 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.5827, allocations: 0 / 0.7317 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/0.5829, allocations: 83.98 kB / 0.7318 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.583, allocations: 48 kB / 0.7318 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005703/0.5887, allocations: 3.026 MB / 0.7348 GB, free: 2.277 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.01731/0.606, allocations: 10.06 MB / 0.7446 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.6167, allocations: 4.774 MB / 0.7493 GB, free: 2.859 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004124/0.6172, allocations: 49.98 kB / 0.7493 GB, free: 2.812 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.6172, allocations: 56.56 kB / 0.7494 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=243): time 4.389e-06/0.6173, allocations: 0 / 0.7494 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=243): time 0.3402/0.9574, allocations: 30.53 MB / 0.7792 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.9575, allocations: 237.6 kB / 0.7794 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/0.9603, allocations: 1.945 MB / 0.7813 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005298/0.9608, allocations: 64.58 kB / 0.7814 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008046/0.9616, allocations: 1.217 MB / 0.7826 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007556/0.9624, allocations: 0.8365 MB / 0.7834 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.9625, allocations: 46.09 kB / 0.7834 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.9627, allocations: 396.5 kB / 0.7838 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003248/0.9659, allocations: 1.879 MB / 0.7856 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003372/0.9693, allocations: 2.189 MB / 0.7878 GB, free: 118 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/0.9727, allocations: 2.104 MB / 0.7898 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.9727, allocations: 2.781 kB / 0.7898 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03511/1.008, allocations: 13.53 MB / 0.803 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004667/1.008, allocations: 2.871 MB / 0.8058 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/1.008, allocations: 6.719 kB / 0.8059 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01712/1.025, allocations: 5.961 MB / 0.8117 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/1.029, allocations: 0.6822 MB / 0.8123 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04983/1.079, allocations: 24.56 MB / 0.8363 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003808/1.083, allocations: 0.522 MB / 0.8368 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004077/1.083, allocations: 84.27 kB / 0.8369 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/1.083, allocations: 7.844 kB / 0.8369 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03215/1.115, allocations: 13.2 MB / 0.8498 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/1.115, allocations: 6.281 kB / 0.8498 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01517/1.131, allocations: 5.949 MB / 0.8556 GB, free: 102 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/1.134, allocations: 0.6787 MB / 0.8563 GB, free: 101.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04647/1.18, allocations: 24.57 MB / 0.8803 GB, free: 80.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/1.184, allocations: 0.5034 MB / 0.8808 GB, free: 80.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/1.184, allocations: 79.66 kB / 0.8809 GB, free: 80.15 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: 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.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.001257/1.186, allocations: 0.5944 MB / 0.8814 GB, free: 79.57 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004887/1.186, allocations: 296.3 kB / 0.8817 GB, free: 79.28 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03598/1.222, allocations: 14.54 MB / 0.8959 GB, free: 68.04 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/1.222, allocations: 28 kB / 0.8959 GB, free: 68.01 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.12e-05/1.222, allocations: 20 kB / 0.896 GB, free: 67.99 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.043e-05/1.222, allocations: 10.78 kB / 0.896 GB, free: 67.99 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.04005/1.262, allocations: 18.29 MB / 0.9138 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.958e-05/1.262, allocations: 0 / 0.9138 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/1.264, allocations: 278.2 kB / 0.9141 GB, free: 52.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0152/1.279, allocations: 6.006 MB / 0.92 GB, free: 46.42 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005543/1.28, allocations: 55.92 kB / 0.92 GB, free: 46.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04372/1.324, allocations: 22.7 MB / 0.9422 GB, free: 23.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.324, allocations: 3.938 kB / 0.9422 GB, free: 23.53 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03932/1.363, allocations: 17.13 MB / 0.9589 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009871/1.364, allocations: 416.8 kB / 0.9593 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004659/1.365, allocations: 47.98 kB / 0.9594 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002698/1.367, allocations: 395.7 kB / 0.9597 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001689/1.369, allocations: 0.5488 MB / 0.9603 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/1.369, allocations: 63.98 kB / 0.9603 GB, free: 4.852 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001885/1.371, allocations: 1.507 MB / 0.9618 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/1.371, allocations: 0 / 0.9618 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003972/1.375, allocations: 1.741 MB / 0.9635 GB, free: 1.602 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 161 * 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 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003687/1.375, allocations: 189.4 kB / 0.9637 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02864/1.404, allocations: 11.95 MB / 0.9754 GB, free: 5.32 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.404, allocations: 0 / 0.9754 GB, free: 5.32 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01226/1.416, allocations: 4.757 MB / 0.98 GB, free: 0.5273 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.418, allocations: 230.3 kB / 0.9802 GB, free: 308 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009131/1.427, allocations: 6.561 MB / 0.9866 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.429, allocations: 1.891 MB / 0.9885 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001282/1.43, allocations: 280.2 kB / 0.9887 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/1.43, allocations: 139.4 kB / 0.9889 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of SimCode: time 7.02e-07/1.43, allocations: 0 / 0.9889 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of Templates: time 0.2966/1.727, allocations: 70.22 MB / 1.057 GB, free: 137.3 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)