Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_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.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.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00466/0.00466, allocations: 172 kB / 15.11 MB, free: 5.98 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.347/1.347, allocations: 223.2 MB / 239 MB, free: 1.797 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.0008156/0.0008156, allocations: 105.5 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4216/0.4216, allocations: 78.58 MB / 419.9 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 16 kB / 499.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3159, allocations: 69.35 MB / 0.5558 GB, free: 38.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.4274, allocations: 100.8 MB / 0.6542 GB, free: 5.723 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.4277, allocations: 92.91 kB / 0.6543 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07575/0.5035, allocations: 30.02 MB / 0.6836 GB, free: 7.461 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5035, allocations: 0 / 0.6836 GB, free: 7.461 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.741e-05/0.5036, allocations: 31.94 kB / 0.6837 GB, free: 7.43 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.005383/0.509, allocations: 2.15 MB / 0.6858 GB, free: 5.215 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.509, allocations: 8.031 kB / 0.6858 GB, free: 5.207 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.5121, allocations: 0.568 MB / 0.6863 GB, free: 4.637 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.5137, allocations: 0.8577 MB / 0.6872 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.5139, allocations: 264.2 kB / 0.6874 GB, free: 3.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.5141, allocations: 83.95 kB / 0.6875 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.5163, allocations: 1.227 MB / 0.6887 GB, free: 2.105 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.5164, allocations: 4 kB / 0.6887 GB, free: 2.102 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.5165, allocations: 28 kB / 0.6887 GB, free: 2.074 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.5165, allocations: 20 kB / 0.6887 GB, free: 2.055 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.5187, allocations: 1.144 MB / 0.6899 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006101/0.5248, allocations: 3.75 MB / 0.6935 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.5271, allocations: 1.602 MB / 0.6951 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.222e-05/0.5272, allocations: 13 kB / 0.6951 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/0.5289, allocations: 0.9544 MB / 0.696 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=102): time 2.655e-06/0.5289, allocations: 0 / 0.696 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102): time 0.02799/0.5569, allocations: 8.537 MB / 0.7044 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.557, allocations: 111.8 kB / 0.7045 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.5584, allocations: 0.8924 MB / 0.7054 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.5585, allocations: 41.7 kB / 0.7054 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.5589, allocations: 0.5051 MB / 0.7059 GB, free: 120 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.5592, allocations: 370.6 kB / 0.7062 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/0.5593, allocations: 20 kB / 0.7063 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5594, allocations: 341.9 kB / 0.7066 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.5609, allocations: 0.7171 MB / 0.7073 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.5624, allocations: 0.8381 MB / 0.7081 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.5639, allocations: 0.8117 MB / 0.7089 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.5639, allocations: 0 / 0.7089 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01455/0.5785, allocations: 5.102 MB / 0.7139 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/0.5786, allocations: 68.28 kB / 0.7139 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.5786, allocations: 0 / 0.7139 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007348/0.5859, allocations: 2.22 MB / 0.7161 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.587, allocations: 191.8 kB / 0.7163 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02271/0.6098, allocations: 10.4 MB / 0.7265 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.6114, allocations: 203.1 kB / 0.7266 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.846e-05/0.6115, allocations: 39.98 kB / 0.7267 GB, free: 10.59 MB / 0.5261 GB 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.0005848/0.6121, allocations: 287.3 kB / 0.727 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.6123, allocations: 126.4 kB / 0.7271 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/0.6266, allocations: 5.087 MB / 0.732 GB, free: 5.059 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.6266, allocations: 11.98 kB / 0.7321 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6266, allocations: 4 kB / 0.7321 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.6267, allocations: 7.938 kB / 0.7321 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.6427, allocations: 6.83 MB / 0.7387 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.6428, allocations: 0 / 0.7387 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.6435, allocations: 107.8 kB / 0.7388 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006356/0.6499, allocations: 2.144 MB / 0.7409 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/0.65, allocations: 20 kB / 0.741 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02139/0.6714, allocations: 10.77 MB / 0.7515 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6715, allocations: 0 / 0.7515 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01607/0.6875, allocations: 6.106 MB / 0.7574 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/0.6881, allocations: 227.2 kB / 0.7577 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.6882, allocations: 16 kB / 0.7577 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.6895, allocations: 151.9 kB / 0.7578 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006376/0.6901, allocations: 220.6 kB / 0.758 GB, free: 9.961 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.373e-05/0.6902, allocations: 27.98 kB / 0.7581 GB, free: 9.934 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001049/0.6913, allocations: 0.6915 MB / 0.7587 GB, free: 9.234 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6913, allocations: 4 kB / 0.7587 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001294/0.6926, allocations: 467.5 kB / 0.7592 GB, free: 8.773 MB / 0.5573 GB 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.0002796/0.6929, allocations: 154.9 kB / 0.7593 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006621/0.6995, allocations: 2.737 MB / 0.762 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6995, allocations: 4.188 kB / 0.762 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004802/0.7043, allocations: 1.977 MB / 0.7639 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007268/0.7051, allocations: 96.42 kB / 0.764 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.7091, allocations: 2.781 MB / 0.7667 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2153/0.9244, allocations: 1.154 MB / 0.7679 GB, free: 146 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005814/0.925, allocations: 91.47 kB / 0.768 GB, free: 146 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.9253, allocations: 57.7 kB / 0.768 GB, free: 146 MB / 0.5573 GB Notification: Performance of SimCode: time 8.71e-07/0.9253, allocations: 2.312 kB / 0.768 GB, free: 146 MB / 0.5573 GB Notification: Performance of Templates: time 0.0328/0.9581, allocations: 22.57 MB / 0.7901 GB, free: 145.3 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)