Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.005007/0.005007, 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.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.0008981/0.0008981, allocations: 97.8 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4055/0.4055, allocations: 79.44 MB / 420.8 MB, free: 43.69 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003188, allocations: 16 kB / 0.489 GB, free: 2.055 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.294, allocations: 69.49 MB / 0.5569 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3979, allocations: 99.59 MB / 0.6542 GB, free: 6.027 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.3981, allocations: 83.95 kB / 0.6542 GB, free: 5.945 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09145/0.4896, allocations: 37.12 MB / 0.6905 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4896, allocations: 0 / 0.6905 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.97e-05/0.4897, allocations: 35.81 kB / 0.6905 GB, free: 0.5859 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.004739/0.4944, allocations: 1.986 MB / 0.6925 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.4945, allocations: 12.03 kB / 0.6925 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00312/0.4976, allocations: 0.568 MB / 0.693 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.4991, allocations: 0.8111 MB / 0.6938 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002574/0.4994, allocations: 264.2 kB / 0.6941 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.4996, allocations: 87.91 kB / 0.6942 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.5019, allocations: 1.133 MB / 0.6953 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.5019, allocations: 0 / 0.6953 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.502, allocations: 32 kB / 0.6953 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.502, allocations: 16 kB / 0.6953 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.5042, allocations: 1.05 MB / 0.6963 GB, free: 10.46 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.0068/0.511, allocations: 3.825 MB / 0.7001 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007379/0.5184, allocations: 2.888 MB / 0.7029 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.791e-05/0.5185, allocations: 20.97 kB / 0.7029 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001493/0.52, allocations: 0.8724 MB / 0.7038 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 2.595e-06/0.52, allocations: 4 kB / 0.7038 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.02865/0.5487, allocations: 8.692 MB / 0.7123 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.5487, allocations: 119.8 kB / 0.7124 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.5502, allocations: 0.921 MB / 0.7133 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.5503, allocations: 45.7 kB / 0.7133 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.5507, allocations: 0.5052 MB / 0.7138 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.551, allocations: 339 kB / 0.7141 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.5511, allocations: 20 kB / 0.7142 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5512, allocations: 345.9 kB / 0.7145 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.5525, allocations: 0.6426 MB / 0.7151 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.5538, allocations: 0.7809 MB / 0.7159 GB, free: 6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.5551, allocations: 0.7433 MB / 0.7166 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.5551, allocations: 4 kB / 0.7166 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01267/0.5678, allocations: 4.673 MB / 0.7212 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/0.5679, allocations: 63.41 kB / 0.7212 GB, free: 472 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5679, allocations: 4 kB / 0.7212 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005931/0.5738, allocations: 1.897 MB / 0.7231 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000878/0.5747, allocations: 179.8 kB / 0.7233 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/0.5942, allocations: 9.436 MB / 0.7325 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.5957, allocations: 207 kB / 0.7327 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.5959, allocations: 35.98 kB / 0.7327 GB, free: 4.566 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.0006169/0.5965, allocations: 290.7 kB / 0.733 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.5968, allocations: 122.5 kB / 0.7331 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.6097, allocations: 4.729 MB / 0.7377 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.6098, allocations: 16 kB / 0.7377 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.6098, allocations: 8 kB / 0.7377 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/0.6098, allocations: 7.922 kB / 0.7377 GB, free: 15.36 MB / 0.5417 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.01537/0.6252, allocations: 6.281 MB / 0.7439 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.6253, allocations: 4.031 kB / 0.7439 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.6259, allocations: 107.8 kB / 0.744 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005566/0.6315, allocations: 1.872 MB / 0.7458 GB, free: 6.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/0.6317, allocations: 24 kB / 0.7458 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.6511, allocations: 10.11 MB / 0.7557 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6511, allocations: 0 / 0.7557 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/0.6658, allocations: 5.665 MB / 0.7612 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.6662, allocations: 231.2 kB / 0.7615 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.6665, allocations: 19.95 kB / 0.7615 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.6677, allocations: 147.9 kB / 0.7616 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005383/0.6683, allocations: 188.7 kB / 0.7618 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.672e-05/0.6684, allocations: 31.98 kB / 0.7618 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001136/0.6695, allocations: 0.7157 MB / 0.7625 GB, free: 5.516 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6695, allocations: 4 kB / 0.7625 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001342/0.6709, allocations: 431.5 kB / 0.7629 GB, free: 5.09 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002848/0.6712, allocations: 160 kB / 0.7631 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005607/0.6768, allocations: 2.471 MB / 0.7655 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6768, allocations: 0 / 0.7655 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004128/0.681, allocations: 1.805 MB / 0.7673 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.6816, allocations: 109.6 kB / 0.7674 GB, free: 476 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1884/0.87, allocations: 2.652 MB / 0.77 GB, free: 146.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.8706, allocations: 1.149 MB / 0.7711 GB, free: 145.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004469/0.871, allocations: 98.48 kB / 0.7712 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.8713, allocations: 63.58 kB / 0.7712 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/0.8713, allocations: 0 / 0.7712 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.02616/0.8974, allocations: 20.5 MB / 0.7913 GB, free: 144.7 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)