Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_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.001486/0.001486, allocations: 174.3 kB / 12.73 MB, free: 2.59 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.208/1.208, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007899/0.0007898, allocations: 85.62 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4277/0.4277, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.918e-05, allocations: 4 kB / 491.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.277, allocations: 69.35 MB / 0.548 GB, free: 20.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.3824, allocations: 100.5 MB / 0.6461 GB, free: 15.94 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.3827, allocations: 79.95 kB / 0.6461 GB, free: 15.86 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4073/0.7899, allocations: 67.86 MB / 0.7124 GB, free: 96.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.79, allocations: 4 kB / 0.7124 GB, free: 96.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001373/0.7901, allocations: 56 kB / 0.7125 GB, free: 96.24 MB / 490.7 MB 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.009782/0.7999, allocations: 4.055 MB / 0.7164 GB, free: 92.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.8, allocations: 15.97 kB / 0.7164 GB, free: 92.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00854/0.8085, allocations: 1.607 MB / 0.718 GB, free: 90.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/0.8109, allocations: 1.651 MB / 0.7196 GB, free: 88.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/0.8113, allocations: 0.6906 MB / 0.7203 GB, free: 87.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003419/0.8117, allocations: 207.9 kB / 0.7205 GB, free: 87.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003812/0.8155, allocations: 2.581 MB / 0.723 GB, free: 85.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.8155, allocations: 0 / 0.723 GB, free: 85.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002311/0.8158, allocations: 87.94 kB / 0.7231 GB, free: 85.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.8158, allocations: 48 kB / 0.7231 GB, free: 84.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/0.8193, allocations: 2.343 MB / 0.7254 GB, free: 82.61 MB / 490.7 MB 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.0142/0.8335, allocations: 10.12 MB / 0.7353 GB, free: 72.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008034/0.8416, allocations: 4.047 MB / 0.7393 GB, free: 67.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/0.8435, allocations: 1.542 MB / 0.7408 GB, free: 66.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.8438, allocations: 46.05 kB / 0.7408 GB, free: 66.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.8438, allocations: 68.47 kB / 0.7409 GB, free: 66.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 4.639e-06/0.8438, allocations: 0 / 0.7409 GB, free: 66.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.03277/0.8766, allocations: 12.32 MB / 0.7529 GB, free: 53.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.8767, allocations: 231.6 kB / 0.7531 GB, free: 53.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/0.8793, allocations: 1.882 MB / 0.755 GB, free: 51.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004977/0.8798, allocations: 69.69 kB / 0.755 GB, free: 51.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005953/0.8804, allocations: 1.216 MB / 0.7562 GB, free: 50.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007805/0.8812, allocations: 0.8548 MB / 0.7571 GB, free: 49.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.8814, allocations: 44 kB / 0.7571 GB, free: 49.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.8815, allocations: 394.7 kB / 0.7575 GB, free: 49.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.8834, allocations: 1.239 MB / 0.7587 GB, free: 47.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/0.8854, allocations: 1.555 MB / 0.7602 GB, free: 46.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.8875, allocations: 1.471 MB / 0.7616 GB, free: 44.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.8875, allocations: 0 / 0.7616 GB, free: 44.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03342/0.921, allocations: 12.54 MB / 0.7739 GB, free: 31.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004474/0.9214, allocations: 2.875 MB / 0.7767 GB, free: 28.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.9215, allocations: 4 kB / 0.7767 GB, free: 28.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01474/0.9362, allocations: 5.177 MB / 0.7818 GB, free: 23.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.9381, allocations: 367.5 kB / 0.7821 GB, free: 23.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03482/0.973, allocations: 18.89 MB / 0.8006 GB, free: 4.172 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003664/0.9767, allocations: 0.521 MB / 0.8011 GB, free: 3.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.9769, allocations: 91.97 kB / 0.8012 GB, free: 3.559 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.9769, allocations: 7.938 kB / 0.8012 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03523/1.012, allocations: 12.25 MB / 0.8131 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/1.012, allocations: 8 kB / 0.8131 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01588/1.028, allocations: 5.173 MB / 0.8182 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/1.03, allocations: 355.5 kB / 0.8185 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03866/1.069, allocations: 18.89 MB / 0.837 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003807/1.073, allocations: 0.4901 MB / 0.8374 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002832/1.073, allocations: 87.97 kB / 0.8375 GB, free: 13.93 MB / 0.5261 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.0006602/1.074, allocations: 288.8 kB / 0.8378 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006087/1.074, allocations: 300.3 kB / 0.8381 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0364/1.111, allocations: 12.66 MB / 0.8505 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/1.111, allocations: 24 kB / 0.8505 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.461e-05/1.111, allocations: 31.94 kB / 0.8505 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.375e-05/1.111, allocations: 11.95 kB / 0.8505 GB, free: 0.5664 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 postOpt removeSimpleEquations (simulation): time 0.04237/1.153, allocations: 16.44 MB / 0.8666 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.153, allocations: 0 / 0.8666 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/1.155, allocations: 287.7 kB / 0.8668 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0147/1.17, allocations: 4.806 MB / 0.8715 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005183/1.17, allocations: 51.98 kB / 0.8716 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03377/1.204, allocations: 15.37 MB / 0.8866 GB, free: 11.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.204, allocations: 0 / 0.8866 GB, free: 11.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2986/1.503, allocations: 14.62 MB / 0.9009 GB, free: 165.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009661/1.504, allocations: 417.9 kB / 0.9013 GB, free: 165.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005191/1.504, allocations: 46.98 kB / 0.9013 GB, free: 165.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003085/1.507, allocations: 396.3 kB / 0.9017 GB, free: 165.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001973/1.509, allocations: 0.5521 MB / 0.9022 GB, free: 165.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/1.51, allocations: 64.34 kB / 0.9023 GB, free: 165.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001993/1.512, allocations: 1.44 MB / 0.9037 GB, free: 164.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.512, allocations: 0 / 0.9037 GB, free: 164.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004309/1.516, allocations: 1.785 MB / 0.9055 GB, free: 164.9 MB / 0.573 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.0004082/1.516, allocations: 192.6 kB / 0.9056 GB, free: 164.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02418/1.541, allocations: 10.34 MB / 0.9157 GB, free: 163.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.541, allocations: 0 / 0.9157 GB, free: 163.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01041/1.551, allocations: 4.072 MB / 0.9197 GB, free: 162.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/1.553, allocations: 236.3 kB / 0.9199 GB, free: 162.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006697/1.559, allocations: 4.37 MB / 0.9242 GB, free: 161.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.56, allocations: 1.909 MB / 0.9261 GB, free: 161 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001732/1.562, allocations: 457.6 kB / 0.9265 GB, free: 160.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/1.563, allocations: 115.6 kB / 0.9266 GB, free: 160.9 MB / 0.573 GB Notification: Performance of SimCode: time 6.42e-07/1.563, allocations: 0 / 0.9266 GB, free: 160.9 MB / 0.573 GB Notification: Performance of Templates: time 0.08739/1.65, allocations: 77.82 MB / 1.003 GB, free: 107.5 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)