Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004076/0.004076, allocations: 169.5 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.16/1.16, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008226/0.0008226, allocations: 90.78 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4012/0.4012, allocations: 78.51 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 16 kB / 499.7 MB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2872, allocations: 69.35 MB / 0.5557 GB, free: 38.74 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.3934, allocations: 98.9 MB / 0.6523 GB, free: 7.477 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.3936, allocations: 83.95 kB / 0.6524 GB, free: 7.395 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09002/0.4837, allocations: 36.54 MB / 0.6881 GB, free: 2.656 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4837, allocations: 0 / 0.6881 GB, free: 2.656 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.723e-05/0.4838, allocations: 24 kB / 0.6881 GB, free: 2.633 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004583/0.4883, allocations: 1.994 MB / 0.69 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.4884, allocations: 8.031 kB / 0.69 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/0.4916, allocations: 0.5721 MB / 0.6906 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.4932, allocations: 0.811 MB / 0.6914 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.4935, allocations: 268.2 kB / 0.6916 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.4936, allocations: 79.91 kB / 0.6917 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.4958, allocations: 1.137 MB / 0.6928 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.4958, allocations: 3.938 kB / 0.6928 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.926e-05/0.4959, allocations: 28 kB / 0.6929 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.4959, allocations: 20 kB / 0.6929 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.4979, allocations: 1.046 MB / 0.6939 GB, free: 12.5 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.006227/0.5041, allocations: 3.79 MB / 0.6976 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007723/0.5119, allocations: 2.896 MB / 0.7004 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.512, allocations: 28.92 kB / 0.7005 GB, free: 5.512 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.5136, allocations: 0.8686 MB / 0.7013 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 2.825e-06/0.5136, allocations: 3.938 kB / 0.7013 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.02924/0.5428, allocations: 8.704 MB / 0.7098 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/0.5429, allocations: 115.8 kB / 0.7099 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.5446, allocations: 0.9171 MB / 0.7108 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.5447, allocations: 41.7 kB / 0.7109 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.5451, allocations: 0.5051 MB / 0.7113 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.5455, allocations: 339.1 kB / 0.7117 GB, free: 9.891 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/0.5456, allocations: 24.03 kB / 0.7117 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5457, allocations: 345.9 kB / 0.712 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.547, allocations: 0.6465 MB / 0.7127 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.5484, allocations: 0.7809 MB / 0.7134 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.5497, allocations: 0.7395 MB / 0.7141 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.5497, allocations: 4 kB / 0.7141 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01291/0.5626, allocations: 4.676 MB / 0.7187 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/0.5627, allocations: 59.41 kB / 0.7188 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.5628, allocations: 4 kB / 0.7188 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006039/0.5688, allocations: 1.904 MB / 0.7206 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/0.5698, allocations: 183.7 kB / 0.7208 GB, free: 440 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/0.5897, allocations: 9.439 MB / 0.73 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.5913, allocations: 203 kB / 0.7302 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.5915, allocations: 39.98 kB / 0.7303 GB, free: 6.613 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis 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 (96): * Single equations (assignments): 93 * 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: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006911/0.5922, allocations: 281.9 kB / 0.7305 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/0.5925, allocations: 126.5 kB / 0.7306 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.6055, allocations: 4.729 MB / 0.7353 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.6055, allocations: 11.98 kB / 0.7353 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.6055, allocations: 8 kB / 0.7353 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.6056, allocations: 3.984 kB / 0.7353 GB, free: 1.418 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.01473/0.6203, allocations: 6.281 MB / 0.7414 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.6203, allocations: 4 kB / 0.7414 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005934/0.6209, allocations: 95.84 kB / 0.7415 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005407/0.6263, allocations: 1.864 MB / 0.7433 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/0.6265, allocations: 27.98 kB / 0.7434 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/0.6456, allocations: 10.13 MB / 0.7533 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6456, allocations: 4 kB / 0.7533 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/0.66, allocations: 5.654 MB / 0.7588 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.6605, allocations: 231.2 kB / 0.759 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.6607, allocations: 20 kB / 0.759 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.6619, allocations: 143.9 kB / 0.7592 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000507/0.6624, allocations: 196.7 kB / 0.7593 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.147e-05/0.6625, allocations: 31.95 kB / 0.7594 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001075/0.6636, allocations: 0.7196 MB / 0.7601 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6636, allocations: 4 kB / 0.7601 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001282/0.6649, allocations: 435.7 kB / 0.7605 GB, free: 7.141 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002676/0.6652, allocations: 149.9 kB / 0.7606 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005407/0.6706, allocations: 2.488 MB / 0.7631 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6706, allocations: 0 / 0.7631 GB, free: 4.457 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00402/0.6746, allocations: 1.79 MB / 0.7648 GB, free: 2.629 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.6752, allocations: 108.6 kB / 0.7649 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1813/0.8565, allocations: 2.637 MB / 0.7675 GB, free: 147 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.8572, allocations: 1.143 MB / 0.7686 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005068/0.8577, allocations: 100.9 kB / 0.7687 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.8579, allocations: 66.08 kB / 0.7688 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of SimCode: time 8.01e-07/0.8579, allocations: 0 / 0.7688 GB, free: 146.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.02691/0.8849, allocations: 20.5 MB / 0.7888 GB, free: 145.7 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)