Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.007845/0.007846, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.397/1.397, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008254/0.0008254, allocations: 100.8 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4531/0.4531, allocations: 78.59 MB / 419.9 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 12 kB / 499.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3388, allocations: 69.35 MB / 0.5558 GB, free: 38.66 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.4667, allocations: 100.3 MB / 0.6537 GB, free: 6.199 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.4671, allocations: 79.95 kB / 0.6538 GB, free: 6.121 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1728/0.6399, allocations: 67.64 MB / 0.7199 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6399, allocations: 0 / 0.7199 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000308/0.6402, allocations: 63.88 kB / 0.7199 GB, free: 2.035 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.01562/0.6559, allocations: 4.653 MB / 0.7245 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.6559, allocations: 12.03 kB / 0.7245 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.6664, allocations: 1.607 MB / 0.7261 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005144/0.6715, allocations: 1.72 MB / 0.7277 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007867/0.6723, allocations: 0.6906 MB / 0.7284 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.6734, allocations: 207.9 kB / 0.7286 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008854/0.6823, allocations: 3.232 MB / 0.7318 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.397e-05/0.6824, allocations: 0 / 0.7318 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005699/0.683, allocations: 84 kB / 0.7318 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/0.683, allocations: 52 kB / 0.7319 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007102/0.6901, allocations: 3.026 MB / 0.7348 GB, free: 2.391 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.01924/0.7094, allocations: 10.06 MB / 0.7447 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.7203, allocations: 4.762 MB / 0.7493 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003098/0.7206, allocations: 42 kB / 0.7494 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.7207, allocations: 72.48 kB / 0.7494 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=243): time 4.328e-06/0.7207, allocations: 0 / 0.7494 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of matching and sorting (n=243): time 0.3619/1.083, allocations: 30.53 MB / 0.7792 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/1.083, allocations: 237.9 kB / 0.7795 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/1.086, allocations: 1.938 MB / 0.7814 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005282/1.086, allocations: 64.64 kB / 0.7814 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008472/1.087, allocations: 1.218 MB / 0.7826 GB, free: 119 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007348/1.088, allocations: 0.8359 MB / 0.7834 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/1.088, allocations: 44.53 kB / 0.7835 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/1.088, allocations: 395.7 kB / 0.7839 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003576/1.092, allocations: 1.875 MB / 0.7857 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003637/1.095, allocations: 2.194 MB / 0.7878 GB, free: 118 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/1.099, allocations: 2.113 MB / 0.7899 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-06/1.099, allocations: 3.75 kB / 0.7899 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03797/1.137, allocations: 13.53 MB / 0.8031 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005412/1.137, allocations: 2.874 MB / 0.8059 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.137, allocations: 6.125 kB / 0.8059 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01942/1.157, allocations: 5.948 MB / 0.8117 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003585/1.161, allocations: 0.6914 MB / 0.8124 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05286/1.213, allocations: 24.56 MB / 0.8364 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004467/1.218, allocations: 0.5265 MB / 0.8369 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003488/1.218, allocations: 92.47 kB / 0.837 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/1.218, allocations: 4.188 kB / 0.837 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03463/1.253, allocations: 13.2 MB / 0.8499 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-05/1.253, allocations: 6.219 kB / 0.8499 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01721/1.27, allocations: 5.951 MB / 0.8557 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/1.274, allocations: 0.6762 MB / 0.8564 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05184/1.326, allocations: 24.56 MB / 0.8803 GB, free: 80.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/1.33, allocations: 0.5075 MB / 0.8808 GB, free: 80.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004917/1.33, allocations: 83.31 kB / 0.8809 GB, free: 80.29 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.001522/1.332, allocations: 0.5861 MB / 0.8815 GB, free: 79.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008291/1.333, allocations: 303.9 kB / 0.8818 GB, free: 79.43 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03807/1.371, allocations: 14.53 MB / 0.896 GB, free: 68.19 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/1.371, allocations: 27.95 kB / 0.896 GB, free: 68.16 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/1.371, allocations: 20 kB / 0.896 GB, free: 68.14 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.491e-05/1.371, allocations: 14.67 kB / 0.896 GB, free: 68.14 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.04309/1.414, allocations: 18.29 MB / 0.9139 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/1.414, allocations: 0 / 0.9139 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.416, allocations: 275.6 kB / 0.9142 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01654/1.433, allocations: 6.002 MB / 0.92 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009282/1.434, allocations: 55.98 kB / 0.9201 GB, free: 46.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04776/1.481, allocations: 22.7 MB / 0.9422 GB, free: 23.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.481, allocations: 7.984 kB / 0.9422 GB, free: 23.67 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04268/1.524, allocations: 17.13 MB / 0.959 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.525, allocations: 412.9 kB / 0.9594 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005309/1.526, allocations: 47.98 kB / 0.9594 GB, free: 6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/1.529, allocations: 395.7 kB / 0.9598 GB, free: 5.613 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001763/1.53, allocations: 0.5565 MB / 0.9603 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.531, allocations: 60 kB / 0.9604 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002124/1.533, allocations: 1.503 MB / 0.9619 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.533, allocations: 3.828 kB / 0.9619 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004371/1.537, allocations: 1.742 MB / 0.9636 GB, free: 1.75 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.0004661/1.538, allocations: 191.8 kB / 0.9637 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03069/1.568, allocations: 11.94 MB / 0.9754 GB, free: 5.461 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.568, allocations: 128 / 0.9754 GB, free: 5.461 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01411/1.583, allocations: 4.763 MB / 0.9801 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/1.585, allocations: 233.1 kB / 0.9803 GB, free: 444 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.595, allocations: 6.55 MB / 0.9867 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/1.596, allocations: 1.893 MB / 0.9885 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001566/1.598, allocations: 275.9 kB / 0.9888 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005858/1.599, allocations: 143.4 kB / 0.9889 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of SimCode: time 9.22e-07/1.599, allocations: 0 / 0.9889 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of Templates: time 0.3231/1.922, allocations: 70.22 MB / 1.058 GB, free: 137.3 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)