Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_dev_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.0009441/0.0009442, allocations: 175.2 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.217/1.217, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0009439/0.000944, allocations: 101.2 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4388/0.4388, allocations: 78.9 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.962e-05, allocations: 4 kB / 492.9 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3137, allocations: 69.5 MB / 0.5492 GB, free: 19.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.4392, allocations: 101.3 MB / 0.6482 GB, free: 14.26 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.4395, allocations: 87.94 kB / 0.6483 GB, free: 14.17 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3774/0.8169, allocations: 30.21 MB / 0.6778 GB, free: 103.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.817, allocations: 0 / 0.6778 GB, free: 103.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001829/0.8172, allocations: 23.5 kB / 0.6778 GB, free: 103.9 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.006137/0.8233, allocations: 1.875 MB / 0.6796 GB, free: 103.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.8234, allocations: 13.22 kB / 0.6796 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002884/0.8237, allocations: 135.6 kB / 0.6798 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.8273, allocations: 0.5669 MB / 0.6803 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.8291, allocations: 0.818 MB / 0.6811 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.8293, allocations: 261.7 kB / 0.6814 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.8295, allocations: 85.28 kB / 0.6814 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.8315, allocations: 1.009 MB / 0.6824 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.8315, allocations: 0.8438 kB / 0.6824 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.8316, allocations: 38.17 kB / 0.6825 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.8317, allocations: 27.23 kB / 0.6825 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.8334, allocations: 0.8997 MB / 0.6834 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006842/0.8403, allocations: 3.741 MB / 0.687 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.8423, allocations: 1.385 MB / 0.6884 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008526/0.8432, allocations: 0.6313 MB / 0.689 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.8433, allocations: 23.77 kB / 0.689 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.8444, allocations: 0.7352 MB / 0.6897 GB, free: 101.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 2.545e-06/0.8444, allocations: 3.938 kB / 0.6897 GB, free: 101.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01166/0.856, allocations: 4.325 MB / 0.694 GB, free: 100.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.8561, allocations: 116.2 kB / 0.6941 GB, free: 100.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.8574, allocations: 0.8549 MB / 0.6949 GB, free: 99.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.8575, allocations: 42.42 kB / 0.6949 GB, free: 99.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.8578, allocations: 0.5111 MB / 0.6954 GB, free: 99.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.8582, allocations: 363.3 kB / 0.6958 GB, free: 99.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.8582, allocations: 19.88 kB / 0.6958 GB, free: 99.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.8583, allocations: 349.9 kB / 0.6961 GB, free: 98.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/0.8591, allocations: 0.4979 MB / 0.6966 GB, free: 98.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007759/0.8599, allocations: 0.6254 MB / 0.6972 GB, free: 98.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007912/0.8607, allocations: 0.5958 MB / 0.6978 GB, free: 97.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8607, allocations: 4.875 kB / 0.6978 GB, free: 97.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0114/0.8721, allocations: 4.474 MB / 0.7022 GB, free: 96.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.8722, allocations: 65.52 kB / 0.7023 GB, free: 96.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.8722, allocations: 1.312 kB / 0.7023 GB, free: 96.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00558/0.8778, allocations: 1.847 MB / 0.7041 GB, free: 96.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009234/0.8787, allocations: 186.9 kB / 0.7042 GB, free: 96.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/0.892, allocations: 7.663 MB / 0.7117 GB, free: 91.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.8936, allocations: 212.3 kB / 0.7119 GB, free: 90.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/0.8937, allocations: 39.8 kB / 0.712 GB, free: 90.85 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(start = aVRI.firstOrder2.y_start ) "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 () * 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.0002516/0.894, allocations: 187.9 kB / 0.7121 GB, free: 90.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.8942, allocations: 135.4 kB / 0.7123 GB, free: 90.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.9053, allocations: 4.474 MB / 0.7166 GB, free: 87.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.9053, allocations: 16 kB / 0.7167 GB, free: 87.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.9054, allocations: 0 / 0.7167 GB, free: 87.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.9054, allocations: 3.797 kB / 0.7167 GB, free: 87.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.918, allocations: 6.216 MB / 0.7227 GB, free: 82.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.918, allocations: 3.281 kB / 0.7227 GB, free: 82.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.9187, allocations: 110.7 kB / 0.7228 GB, free: 81.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004797/0.9235, allocations: 1.761 MB / 0.7246 GB, free: 80.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.9236, allocations: 20 kB / 0.7246 GB, free: 80.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01265/0.9363, allocations: 8.316 MB / 0.7327 GB, free: 72.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9363, allocations: 0 / 0.7327 GB, free: 72.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/0.9486, allocations: 5.26 MB / 0.7378 GB, free: 67.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/0.9491, allocations: 223.3 kB / 0.7381 GB, free: 67.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.9493, allocations: 24 kB / 0.7381 GB, free: 67.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.9504, allocations: 155.9 kB / 0.7382 GB, free: 66.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005863/0.951, allocations: 217.1 kB / 0.7384 GB, free: 66.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.659e-05/0.9511, allocations: 24 kB / 0.7385 GB, free: 66.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007081/0.9518, allocations: 0.6613 MB / 0.7391 GB, free: 66 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9518, allocations: 192 / 0.7391 GB, free: 66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001142/0.953, allocations: 467.4 kB / 0.7395 GB, free: 65.54 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 () * 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.01243/0.9654, allocations: 5.944 MB / 0.7453 GB, free: 59.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004876/0.9703, allocations: 2.288 MB / 0.7476 GB, free: 57.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.9703, allocations: 0.5625 kB / 0.7476 GB, free: 57.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003832/0.9742, allocations: 1.741 MB / 0.7493 GB, free: 55.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.9751, allocations: 97.64 kB / 0.7494 GB, free: 55.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.9784, allocations: 2.031 MB / 0.7514 GB, free: 53.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.9788, allocations: 1.155 MB / 0.7525 GB, free: 52.13 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003406/0.9791, allocations: 90.59 kB / 0.7526 GB, free: 52.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/0.9796, allocations: 463.3 kB / 0.753 GB, free: 51.59 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.9796, allocations: 3.938 kB / 0.753 GB, free: 51.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04436/1.024, allocations: 32.74 MB / 0.785 GB, free: 19.32 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/1.024, allocations: 183.5 kB / 0.7852 GB, free: 19.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/3.686, allocations: 0 / 0.7852 GB, free: 19.1 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)