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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006297/0.006297, allocations: 171.8 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.406/1.406, allocations: 223.2 MB / 239 MB, free: 1.781 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.0009022/0.000902, allocations: 100.6 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.4958/0.4958, allocations: 78.6 MB / 419.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 8 kB / 499.9 MB, free: 2.812 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.351, allocations: 69.34 MB / 0.5559 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.4647, allocations: 100.8 MB / 0.6543 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.465, allocations: 92.86 kB / 0.6544 GB, free: 5.543 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07794/0.5429, allocations: 30.01 MB / 0.6837 GB, free: 7.379 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.543, allocations: 0 / 0.6837 GB, free: 7.379 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.681e-05/0.543, allocations: 24 kB / 0.6837 GB, free: 7.355 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.005712/0.5487, allocations: 2.166 MB / 0.6859 GB, free: 5.125 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.5488, allocations: 8.031 kB / 0.6859 GB, free: 5.117 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002213/0.549, allocations: 134.9 kB / 0.686 GB, free: 4.977 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.5522, allocations: 0.5797 MB / 0.6866 GB, free: 4.395 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.5539, allocations: 0.8499 MB / 0.6874 GB, free: 3.488 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.5542, allocations: 256.2 kB / 0.6876 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.5543, allocations: 87.95 kB / 0.6877 GB, free: 3.117 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.5566, allocations: 1.227 MB / 0.6889 GB, free: 1.875 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.5566, allocations: 0 / 0.6889 GB, free: 1.875 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.5567, allocations: 36 kB / 0.689 GB, free: 1.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.5568, allocations: 23.94 kB / 0.689 GB, free: 1.816 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.559, allocations: 1.14 MB / 0.6901 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006344/0.5653, allocations: 3.746 MB / 0.6937 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.5677, allocations: 1.604 MB / 0.6953 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.5679, allocations: 13 kB / 0.6953 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001724/0.5696, allocations: 0.9544 MB / 0.6963 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=102): time 2.706e-06/0.5696, allocations: 3.938 kB / 0.6963 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102): time 0.0278/0.5974, allocations: 8.537 MB / 0.7046 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.5975, allocations: 123.8 kB / 0.7047 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.5992, allocations: 0.8885 MB / 0.7056 GB, free: 444 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/0.5994, allocations: 45.7 kB / 0.7056 GB, free: 392 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.5998, allocations: 0.505 MB / 0.7061 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.6002, allocations: 358.7 kB / 0.7065 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.6003, allocations: 24 kB / 0.7065 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6005, allocations: 345.9 kB / 0.7068 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.602, allocations: 0.7132 MB / 0.7075 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.6036, allocations: 0.8382 MB / 0.7083 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.6053, allocations: 0.8116 MB / 0.7091 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6053, allocations: 4 kB / 0.7091 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01495/0.6203, allocations: 5.094 MB / 0.7141 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-05/0.6204, allocations: 60.95 kB / 0.7142 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.6204, allocations: 4 kB / 0.7142 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007408/0.6278, allocations: 2.22 MB / 0.7163 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.6289, allocations: 183.8 kB / 0.7165 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02351/0.6524, allocations: 10.41 MB / 0.7267 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.6543, allocations: 211.1 kB / 0.7269 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/0.6545, allocations: 43.98 kB / 0.7269 GB, free: 10.35 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.0007694/0.6553, allocations: 277.1 kB / 0.7272 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/0.6557, allocations: 134.4 kB / 0.7273 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/0.6705, allocations: 5.083 MB / 0.7323 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.6706, allocations: 8 kB / 0.7323 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6706, allocations: 3.953 kB / 0.7323 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/0.6706, allocations: 7.984 kB / 0.7323 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/0.6883, allocations: 6.826 MB / 0.739 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.6884, allocations: 4.031 kB / 0.739 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007788/0.6891, allocations: 115.8 kB / 0.7391 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006482/0.6956, allocations: 2.148 MB / 0.7412 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/0.6959, allocations: 19.98 kB / 0.7412 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/0.7181, allocations: 10.77 MB / 0.7517 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7182, allocations: 0 / 0.7517 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01692/0.7351, allocations: 6.098 MB / 0.7577 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/0.7357, allocations: 219.3 kB / 0.7579 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/0.7361, allocations: 23.98 kB / 0.7579 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.7376, allocations: 151.9 kB / 0.758 GB, free: 9.949 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007257/0.7383, allocations: 216.6 kB / 0.7582 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.7385, allocations: 28 kB / 0.7583 GB, free: 9.711 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001321/0.7398, allocations: 0.6915 MB / 0.7589 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7398, allocations: 0 / 0.7589 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001726/0.7416, allocations: 475.5 kB / 0.7594 GB, free: 8.547 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.01687/0.7584, allocations: 6.768 MB / 0.766 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2261/0.9846, allocations: 2.731 MB / 0.7687 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.9846, allocations: 0 / 0.7687 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0052/0.9898, allocations: 1.969 MB / 0.7706 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008472/0.9907, allocations: 97.53 kB / 0.7707 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/0.9963, allocations: 4.744 MB / 0.7753 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009359/0.9973, allocations: 1.153 MB / 0.7764 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004773/0.9978, allocations: 93.83 kB / 0.7765 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/0.9984, allocations: 464.3 kB / 0.777 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.142e-06/0.9984, allocations: 0 / 0.777 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06003/1.058, allocations: 32.42 MB / 0.8086 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001274/1.059, allocations: 204.7 kB / 0.8088 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/3.892, allocations: 0.9062 kB / 0.8088 GB, free: 141.8 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)