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.008252/0.008252, allocations: 175.3 kB / 15.12 MB, free: 6.027 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.381/1.381, 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.0008434/0.0008434, allocations: 90.69 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.4512/0.4512, allocations: 78.6 MB / 419.9 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 8 kB / 499.9 MB, free: 2.836 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3608, allocations: 69.34 MB / 0.5559 GB, free: 38.82 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005061/0.3659, allocations: 5.791 MB / 0.5615 GB, free: 37.69 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.3692, allocations: 1.991 MB / 0.5635 GB, free: 36.29 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005046/0.3698, allocations: 17.91 kB / 0.5635 GB, free: 36.28 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.3703, allocations: 171.7 kB / 0.5636 GB, free: 36.21 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.3719, allocations: 0.6917 MB / 0.5643 GB, free: 35.74 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.3731, allocations: 0.5503 MB / 0.5649 GB, free: 35.46 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.3744, allocations: 1.012 MB / 0.5658 GB, free: 34.92 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003931/0.3748, allocations: 285.2 kB / 0.5661 GB, free: 34.79 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006873/0.3755, allocations: 0.5783 MB / 0.5667 GB, free: 34.52 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000654/0.3762, allocations: 0.6915 MB / 0.5674 GB, free: 34.21 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.3763, allocations: 60.97 kB / 0.5674 GB, free: 34.21 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.3767, allocations: 172.1 kB / 0.5676 GB, free: 34.18 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.3769, allocations: 244.5 kB / 0.5678 GB, free: 34.04 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.3771, allocations: 233.8 kB / 0.568 GB, free: 33.89 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009065/0.378, allocations: 1.207 MB / 0.5692 GB, free: 33.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.378, allocations: 0 / 0.5692 GB, free: 33.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.378, allocations: 0 / 0.5692 GB, free: 33.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.378, allocations: 0 / 0.5692 GB, free: 33.54 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.008134/0.3862, allocations: 2.599 MB / 0.5718 GB, free: 32.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3862, allocations: 8.156 kB / 0.5718 GB, free: 32.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003114/0.3865, allocations: 140.8 kB / 0.5719 GB, free: 32.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004801/0.3913, allocations: 0.7845 MB / 0.5727 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.393, allocations: 0.8403 MB / 0.5735 GB, free: 31.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.3933, allocations: 268.7 kB / 0.5737 GB, free: 31.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.3934, allocations: 89.88 kB / 0.5738 GB, free: 31.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.3956, allocations: 1.228 MB / 0.575 GB, free: 30.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.3956, allocations: 0 / 0.575 GB, free: 30.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.439e-05/0.3957, allocations: 40.42 kB / 0.5751 GB, free: 30.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.3958, allocations: 17.72 kB / 0.5751 GB, free: 30.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.3979, allocations: 1.149 MB / 0.5762 GB, free: 30.48 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005525/0.4035, allocations: 3.835 MB / 0.5799 GB, free: 28.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.4056, allocations: 1.618 MB / 0.5815 GB, free: 27.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.644e-05/0.4058, allocations: 20.7 kB / 0.5815 GB, free: 27.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001598/0.4074, allocations: 0.9521 MB / 0.5825 GB, free: 26.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 2.584e-06/0.4074, allocations: 0 / 0.5825 GB, free: 26.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.02769/0.4351, allocations: 8.48 MB / 0.5908 GB, free: 25.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.4352, allocations: 118.2 kB / 0.5909 GB, free: 25.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.4367, allocations: 1.032 MB / 0.5919 GB, free: 24.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002292/0.437, allocations: 45.17 kB / 0.5919 GB, free: 24.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.4373, allocations: 0.4962 MB / 0.5924 GB, free: 24.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.4376, allocations: 378.2 kB / 0.5928 GB, free: 24.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/0.4377, allocations: 29.41 kB / 0.5928 GB, free: 24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.4378, allocations: 355.8 kB / 0.5931 GB, free: 23.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.4395, allocations: 0.8255 MB / 0.5939 GB, free: 23.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.4413, allocations: 0.972 MB / 0.5949 GB, free: 22.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.4431, allocations: 0.9338 MB / 0.5958 GB, free: 22.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.4431, allocations: 1.375 kB / 0.5958 GB, free: 22.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01565/0.4588, allocations: 5.389 MB / 0.6011 GB, free: 21.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.311e-05/0.4589, allocations: 64.02 kB / 0.6011 GB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.4589, allocations: 2.281 kB / 0.6011 GB, free: 21.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008114/0.4671, allocations: 2.221 MB / 0.6033 GB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.4685, allocations: 250 kB / 0.6035 GB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02377/0.4923, allocations: 10.4 MB / 0.6137 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.4942, allocations: 230.8 kB / 0.6139 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.4944, allocations: 43.98 kB / 0.614 GB, free: 14.29 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(flow=false 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 (138): * Single equations (assignments): 135 * 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.0004963/0.4949, allocations: 298.4 kB / 0.6142 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.4951, allocations: 130.4 kB / 0.6144 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.5088, allocations: 5.094 MB / 0.6193 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.5089, allocations: 8 kB / 0.6193 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5089, allocations: 4 kB / 0.6193 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.124e-05/0.5089, allocations: 7.969 kB / 0.6194 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.5247, allocations: 6.925 MB / 0.6261 GB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.5248, allocations: 0 / 0.6261 GB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007748/0.5256, allocations: 107.8 kB / 0.6262 GB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006303/0.5319, allocations: 2.132 MB / 0.6283 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/0.5322, allocations: 27.98 kB / 0.6283 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02374/0.5559, allocations: 10.76 MB / 0.6388 GB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.556, allocations: 0 / 0.6388 GB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01795/0.5739, allocations: 6.098 MB / 0.6448 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005466/0.5745, allocations: 227.4 kB / 0.645 GB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.5748, allocations: 27.88 kB / 0.645 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.5762, allocations: 151.9 kB / 0.6452 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006434/0.5768, allocations: 212.6 kB / 0.6454 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.501e-05/0.5769, allocations: 28 kB / 0.6454 GB, free: 13.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.5781, allocations: 0.6876 MB / 0.6461 GB, free: 12.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5781, allocations: 0 / 0.6461 GB, free: 12.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001692/0.5798, allocations: 491.5 kB / 0.6466 GB, free: 12.35 MB / 458.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.01775/0.5975, allocations: 6.768 MB / 0.6532 GB, free: 5.527 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007696/0.6053, allocations: 2.95 MB / 0.656 GB, free: 2.551 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6053, allocations: 0 / 0.656 GB, free: 2.551 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005361/0.6107, allocations: 1.97 MB / 0.658 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009644/0.6117, allocations: 93.17 kB / 0.6581 GB, free: 456 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/0.6173, allocations: 4.672 MB / 0.6626 GB, free: 11.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/0.618, allocations: 1.155 MB / 0.6637 GB, free: 10.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.6185, allocations: 107.9 kB / 0.6639 GB, free: 10.38 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/0.6191, allocations: 471.3 kB / 0.6643 GB, free: 9.926 MB / 474.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6191, allocations: 0 / 0.6643 GB, free: 9.926 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05837/0.6775, allocations: 32.7 MB / 0.6962 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.6778, allocations: 207.1 kB / 0.6964 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.908/3.586, allocations: 0 / 0.6964 GB, free: 9.207 MB / 0.4948 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)