Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001423/0.001423, allocations: 170.9 kB / 16.11 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.4 MB / 222.3 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009454/0.0009454, allocations: 87.39 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3141/0.3141, allocations: 42.29 MB / 361.2 MB, free: 49.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004245, allocations: 12 kB / 429.4 MB, free: 7.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1185, allocations: 57.57 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3389/0.4575, allocations: 95.86 MB / 0.5692 GB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.4578, allocations: 83.95 kB / 0.5693 GB, free: 11.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08037/0.5382, allocations: 29.06 MB / 0.5976 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5382, allocations: 0 / 0.5976 GB, free: 14.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001229/0.5383, allocations: 27.94 kB / 0.5977 GB, free: 14.59 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.006452/0.5448, allocations: 2.149 MB / 0.5998 GB, free: 12.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5449, allocations: 8.031 kB / 0.5998 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003753/0.5486, allocations: 0.568 MB / 0.6003 GB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.551, allocations: 0.9123 MB / 0.6012 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003265/0.5514, allocations: 256.2 kB / 0.6015 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/0.5518, allocations: 80 kB / 0.6015 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.5549, allocations: 1.235 MB / 0.6028 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.5549, allocations: 0 / 0.6028 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.555, allocations: 31.98 kB / 0.6028 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.5551, allocations: 20 kB / 0.6028 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.5577, allocations: 1.144 MB / 0.6039 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00818/0.5659, allocations: 3.742 MB / 0.6076 GB, free: 4.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.5686, allocations: 1.606 MB / 0.6091 GB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.5702, allocations: 0.8478 MB / 0.61 GB, free: 1.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.5703, allocations: 16.97 kB / 0.61 GB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001829/0.5722, allocations: 0.9544 MB / 0.6109 GB, free: 0.582 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 3.367e-06/0.5722, allocations: 0 / 0.6109 GB, free: 0.582 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.02781/0.6, allocations: 8.582 MB / 0.6193 GB, free: 7.934 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.851e-05/0.6001, allocations: 115.8 kB / 0.6194 GB, free: 7.797 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/0.6025, allocations: 1.007 MB / 0.6204 GB, free: 6.773 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003211/0.6029, allocations: 41.7 kB / 0.6204 GB, free: 6.727 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/0.6035, allocations: 0.5089 MB / 0.6209 GB, free: 6.211 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008493/0.6044, allocations: 362.7 kB / 0.6213 GB, free: 5.852 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.6046, allocations: 20 kB / 0.6213 GB, free: 5.832 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.6049, allocations: 349.9 kB / 0.6216 GB, free: 5.484 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/0.6072, allocations: 0.7209 MB / 0.6223 GB, free: 4.762 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/0.6099, allocations: 0.8343 MB / 0.6231 GB, free: 3.898 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02016/0.6301, allocations: 4.987 MB / 0.628 GB, free: 14.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.6301, allocations: 4 kB / 0.628 GB, free: 14.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01452/0.6446, allocations: 5.086 MB / 0.633 GB, free: 9.715 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.622e-05/0.6448, allocations: 67.34 kB / 0.6331 GB, free: 9.637 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.6448, allocations: 3.938 kB / 0.6331 GB, free: 9.633 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007131/0.652, allocations: 2.24 MB / 0.6352 GB, free: 7.391 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.6531, allocations: 187.7 kB / 0.6354 GB, free: 7.207 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02358/0.6767, allocations: 9.906 MB / 0.6451 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.6785, allocations: 211 kB / 0.6453 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/0.6789, allocations: 39.98 kB / 0.6453 GB, free: 12.92 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(start = aVRI.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (97): * Single equations (assignments): 94 * 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 {25 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009735/0.6799, allocations: 283.3 kB / 0.6456 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004474/0.6803, allocations: 122.5 kB / 0.6457 GB, free: 12.51 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/0.695, allocations: 5.1 MB / 0.6507 GB, free: 7.375 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.6951, allocations: 8 kB / 0.6507 GB, free: 7.367 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.6951, allocations: 4 kB / 0.6507 GB, free: 7.363 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.092e-05/0.6951, allocations: 3.984 kB / 0.6507 GB, free: 7.359 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/0.713, allocations: 6.823 MB / 0.6574 GB, free: 408 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.7131, allocations: 0 / 0.6574 GB, free: 408 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/0.7139, allocations: 111.9 kB / 0.6575 GB, free: 296 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006534/0.7205, allocations: 2.153 MB / 0.6596 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002909/0.7208, allocations: 16 kB / 0.6596 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02241/0.7433, allocations: 10.31 MB / 0.6697 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7433, allocations: 3.938 kB / 0.6697 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2612/1.004, allocations: 6.08 MB / 0.6756 GB, free: 123.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006195/1.005, allocations: 228.2 kB / 0.6758 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/1.005, allocations: 18.77 kB / 0.6758 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/1.007, allocations: 156.6 kB / 0.676 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007842/1.008, allocations: 210.3 kB / 0.6762 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/1.008, allocations: 27.34 kB / 0.6762 GB, free: 123.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001177/1.009, allocations: 0.6973 MB / 0.6769 GB, free: 123.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.009, allocations: 1.125 kB / 0.6769 GB, free: 123.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00171/1.011, allocations: 472.7 kB / 0.6774 GB, free: 123.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.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: 0 * Non-linear torn systems: 2 {26 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003023/1.011, allocations: 150.2 kB / 0.6775 GB, free: 123.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00668/1.018, allocations: 2.738 MB / 0.6802 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.018, allocations: 0 / 0.6802 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004655/1.022, allocations: 1.97 MB / 0.6821 GB, free: 122.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/1.024, allocations: 119.5 kB / 0.6822 GB, free: 122.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/1.028, allocations: 2.768 MB / 0.6849 GB, free: 121.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/1.029, allocations: 1.131 MB / 0.686 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004733/1.029, allocations: 83.97 kB / 0.6861 GB, free: 120.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/1.029, allocations: 62.53 kB / 0.6862 GB, free: 120.6 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/1.03, allocations: 0 / 0.6862 GB, free: 120.6 MB / 490.7 MB Notification: Performance of Templates: time 0.0405/1.07, allocations: 22.59 MB / 0.7082 GB, free: 119.4 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)