Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.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.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 175 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.284/1.284, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0009151/0.0009151, allocations: 91.22 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4287/0.4287, allocations: 78.04 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.406e-05/2.408e-05, allocations: 0 / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3111, allocations: 69.34 MB / 0.548 GB, free: 20.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.4326, allocations: 102.6 MB / 0.6482 GB, free: 13.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.4329, allocations: 87.94 kB / 0.6483 GB, free: 13.71 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3771/0.8101, allocations: 36.45 MB / 0.6839 GB, free: 105.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.8101, allocations: 0.75 kB / 0.6839 GB, free: 105.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.671e-05/0.8102, allocations: 33.2 kB / 0.6839 GB, free: 105.4 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.005094/0.8153, allocations: 1.951 MB / 0.6858 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.8153, allocations: 13.81 kB / 0.6858 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.8187, allocations: 0.5779 MB / 0.6864 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.8204, allocations: 0.8815 MB / 0.6872 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/0.8207, allocations: 341.3 kB / 0.6876 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.8209, allocations: 91.25 kB / 0.6877 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.8225, allocations: 1.086 MB / 0.6887 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.8226, allocations: 2.812 kB / 0.6887 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.8227, allocations: 39.64 kB / 0.6888 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.8227, allocations: 27.47 kB / 0.6888 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.8242, allocations: 0.9692 MB / 0.6897 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006139/0.8304, allocations: 4.229 MB / 0.6939 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.8324, allocations: 1.551 MB / 0.6954 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008386/0.8333, allocations: 0.6776 MB / 0.696 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.8334, allocations: 20.53 kB / 0.6961 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.8344, allocations: 0.7686 MB / 0.6968 GB, free: 100.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=108): time 3.677e-06/0.8344, allocations: 3.938 kB / 0.6968 GB, free: 100.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=108): time 0.01238/0.8468, allocations: 4.454 MB / 0.7012 GB, free: 99.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.8469, allocations: 115.6 kB / 0.7013 GB, free: 99.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.848, allocations: 0.8516 MB / 0.7021 GB, free: 99.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.8481, allocations: 53.61 kB / 0.7022 GB, free: 99.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.8484, allocations: 0.5371 MB / 0.7027 GB, free: 98.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.8487, allocations: 386.8 kB / 0.703 GB, free: 98.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.8488, allocations: 19.81 kB / 0.7031 GB, free: 98.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.8489, allocations: 347.6 kB / 0.7034 GB, free: 98.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007873/0.8496, allocations: 0.5185 MB / 0.7039 GB, free: 97.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008147/0.8505, allocations: 0.6424 MB / 0.7045 GB, free: 97.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008415/0.8513, allocations: 0.6105 MB / 0.7051 GB, free: 97.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.8513, allocations: 3.281 kB / 0.7051 GB, free: 97.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01242/0.8638, allocations: 4.567 MB / 0.7096 GB, free: 95.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.265e-05/0.8639, allocations: 55.41 kB / 0.7096 GB, free: 95.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.8639, allocations: 4 kB / 0.7096 GB, free: 95.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005767/0.8697, allocations: 1.84 MB / 0.7114 GB, free: 94.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.8708, allocations: 205 kB / 0.7116 GB, free: 93.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/0.8854, allocations: 8.107 MB / 0.7196 GB, free: 86.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.8873, allocations: 242.8 kB / 0.7198 GB, free: 86.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.8874, allocations: 39.52 kB / 0.7198 GB, free: 86.36 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * 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: 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002723/0.8877, allocations: 190.1 kB / 0.72 GB, free: 86.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.8879, allocations: 134.3 kB / 0.7201 GB, free: 86.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.9004, allocations: 4.607 MB / 0.7246 GB, free: 82.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.9005, allocations: 12 kB / 0.7246 GB, free: 82.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.9005, allocations: 0 / 0.7246 GB, free: 82.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/0.9005, allocations: 15.91 kB / 0.7247 GB, free: 82.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.915, allocations: 6.437 MB / 0.7309 GB, free: 75.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.9151, allocations: 0 / 0.7309 GB, free: 75.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007177/0.9158, allocations: 131.9 kB / 0.7311 GB, free: 75.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005268/0.9211, allocations: 1.84 MB / 0.7329 GB, free: 73.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/0.9213, allocations: 31.73 kB / 0.7329 GB, free: 73.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/0.9355, allocations: 8.598 MB / 0.7413 GB, free: 64.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.9356, allocations: 4 kB / 0.7413 GB, free: 64.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/0.9493, allocations: 5.458 MB / 0.7466 GB, free: 59.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.9498, allocations: 227.1 kB / 0.7468 GB, free: 59.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/0.9501, allocations: 20 kB / 0.7469 GB, free: 59.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.9515, allocations: 191.8 kB / 0.747 GB, free: 58.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006706/0.9522, allocations: 232.6 kB / 0.7473 GB, free: 58.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.591e-05/0.9523, allocations: 31.98 kB / 0.7473 GB, free: 58.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008366/0.9531, allocations: 0.6589 MB / 0.7479 GB, free: 58 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-07/0.9532, allocations: 0 / 0.7479 GB, free: 58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001372/0.9545, allocations: 479.4 kB / 0.7484 GB, free: 57.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * 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 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000275/0.9548, allocations: 156.6 kB / 0.7485 GB, free: 57.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005061/0.9599, allocations: 2.33 MB / 0.7508 GB, free: 55.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9599, allocations: 3.938 kB / 0.7508 GB, free: 55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004183/0.9641, allocations: 1.793 MB / 0.7526 GB, free: 53.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008934/0.965, allocations: 108.5 kB / 0.7527 GB, free: 53.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.9688, allocations: 1.917 MB / 0.7546 GB, free: 51.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.9693, allocations: 1.178 MB / 0.7557 GB, free: 49.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004455/0.9698, allocations: 98.3 kB / 0.7558 GB, free: 49.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.97, allocations: 67.42 kB / 0.7559 GB, free: 49.77 MB / 490.7 MB Notification: Performance of SimCode: time 8.32e-07/0.9701, allocations: 0 / 0.7559 GB, free: 49.77 MB / 490.7 MB Notification: Performance of Templates: time 0.03394/1.004, allocations: 23.37 MB / 0.7787 GB, free: 26.72 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)