Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004203/0.004203, allocations: 169.6 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.163/1.163, 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.0008538/0.0008538, allocations: 101.9 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.394/0.394, allocations: 78.51 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003197, allocations: 8 kB / 499.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3103, allocations: 69.35 MB / 0.5557 GB, free: 38.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.4214, allocations: 99.49 MB / 0.6529 GB, free: 6.91 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.4216, allocations: 83.95 kB / 0.653 GB, free: 6.828 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08041/0.5021, allocations: 32.65 MB / 0.6848 GB, free: 6.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5021, allocations: 0 / 0.6848 GB, free: 6.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.065e-05/0.5022, allocations: 28 kB / 0.6849 GB, free: 5.992 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004874/0.5071, allocations: 2.091 MB / 0.6869 GB, free: 3.836 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.5071, allocations: 8.031 kB / 0.6869 GB, free: 3.828 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/0.5101, allocations: 0.5719 MB / 0.6875 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.5114, allocations: 0.8252 MB / 0.6883 GB, free: 2.375 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.5117, allocations: 276.1 kB / 0.6885 GB, free: 2.066 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.5118, allocations: 80 kB / 0.6886 GB, free: 1.988 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/0.5138, allocations: 1.161 MB / 0.6897 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5139, allocations: 0 / 0.6897 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.514, allocations: 32 kB / 0.6898 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.514, allocations: 20 kB / 0.6898 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.5158, allocations: 1.062 MB / 0.6908 GB, free: 15.7 MB / 0.4948 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.005831/0.5217, allocations: 3.893 MB / 0.6946 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007135/0.5288, allocations: 2.932 MB / 0.6975 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.826e-05/0.5289, allocations: 20.97 kB / 0.6975 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/0.5304, allocations: 0.8919 MB / 0.6984 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=98): time 3.076e-06/0.5304, allocations: 0 / 0.6984 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98): time 0.02582/0.5563, allocations: 8.15 MB / 0.7064 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.5563, allocations: 111.8 kB / 0.7065 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.5578, allocations: 0.9733 MB / 0.7074 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.5579, allocations: 41.7 kB / 0.7074 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.5582, allocations: 0.521 MB / 0.708 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.5585, allocations: 350.9 kB / 0.7083 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.5586, allocations: 20 kB / 0.7083 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5587, allocations: 350 kB / 0.7086 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.56, allocations: 0.6624 MB / 0.7093 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.5612, allocations: 0.7939 MB / 0.7101 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.5626, allocations: 0.7697 MB / 0.7108 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5626, allocations: 0 / 0.7108 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01281/0.5754, allocations: 4.775 MB / 0.7155 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.5754, allocations: 59.41 kB / 0.7155 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5755, allocations: 4 kB / 0.7155 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006385/0.5819, allocations: 2.003 MB / 0.7175 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/0.5828, allocations: 183.7 kB / 0.7177 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01989/0.6027, allocations: 10.82 MB / 0.7282 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.6043, allocations: 199.1 kB / 0.7284 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-05/0.6044, allocations: 39.98 kB / 0.7285 GB, free: 8.379 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005559/0.6049, allocations: 289.8 kB / 0.7287 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.6052, allocations: 134.5 kB / 0.7289 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/0.6177, allocations: 4.76 MB / 0.7335 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.6178, allocations: 16 kB / 0.7335 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.6178, allocations: 8 kB / 0.7335 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.6178, allocations: 7.969 kB / 0.7336 GB, free: 3.137 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 postOpt removeSimpleEquations (simulation): time 0.01458/0.6324, allocations: 6.371 MB / 0.7398 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.6324, allocations: 3.938 kB / 0.7398 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006975/0.6331, allocations: 111.9 kB / 0.7399 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005356/0.6385, allocations: 1.879 MB / 0.7417 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.6387, allocations: 23.98 kB / 0.7417 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01854/0.6572, allocations: 10.12 MB / 0.7516 GB, free: 232 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6573, allocations: 3.938 kB / 0.7516 GB, free: 228 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/0.6714, allocations: 5.724 MB / 0.7572 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004571/0.6719, allocations: 239.1 kB / 0.7574 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.6721, allocations: 27.98 kB / 0.7575 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.6733, allocations: 143.9 kB / 0.7576 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005211/0.6738, allocations: 188.7 kB / 0.7578 GB, free: 9.852 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-05/0.6739, allocations: 31.98 kB / 0.7578 GB, free: 9.82 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001031/0.6749, allocations: 0.7634 MB / 0.7586 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6749, allocations: 0 / 0.7586 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001191/0.6761, allocations: 451.5 kB / 0.759 GB, free: 8.609 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002581/0.6764, allocations: 155 kB / 0.7591 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005794/0.6822, allocations: 2.653 MB / 0.7617 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6822, allocations: 0 / 0.7617 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004089/0.6863, allocations: 1.842 MB / 0.7635 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.6871, allocations: 109 kB / 0.7636 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/0.6909, allocations: 2.879 MB / 0.7664 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1884/0.8793, allocations: 1.154 MB / 0.7676 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005871/0.88, allocations: 97.95 kB / 0.7677 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.8803, allocations: 66.14 kB / 0.7677 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/0.8803, allocations: 0 / 0.7677 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.02941/0.9097, allocations: 21.41 MB / 0.7886 GB, free: 145.2 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)