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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004874/0.004874, allocations: 101 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 239.4 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 191.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.466/0.466, allocations: 91.89 MB / 431.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 81.06 kB / 0.5722 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1256, allocations: 71.28 MB / 0.6418 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007541/0.1332, allocations: 6.646 MB / 0.6483 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004025/0.1373, allocations: 2.027 MB / 0.6503 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005775/0.1379, allocations: 19.94 kB / 0.6503 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006581/0.1385, allocations: 241.9 kB / 0.6506 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.1403, allocations: 0.8134 MB / 0.6514 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.1415, allocations: 0.686 MB / 0.652 GB, free: 9.641 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.1429, allocations: 1.635 MB / 0.6536 GB, free: 8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.1433, allocations: 340.7 kB / 0.6539 GB, free: 7.652 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006453/0.144, allocations: 0.6691 MB / 0.6546 GB, free: 6.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000735/0.1447, allocations: 0.8167 MB / 0.6554 GB, free: 6.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.1449, allocations: 124 kB / 0.6555 GB, free: 6.039 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.1453, allocations: 263.9 kB / 0.6558 GB, free: 5.781 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.1455, allocations: 318.7 kB / 0.6561 GB, free: 5.469 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004824/0.146, allocations: 0.6835 MB / 0.6567 GB, free: 4.781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.1474, allocations: 1.698 MB / 0.6584 GB, free: 3.078 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1474, allocations: 0 / 0.6584 GB, free: 3.078 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1474, allocations: 4 kB / 0.6584 GB, free: 3.074 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.1474, allocations: 0 / 0.6584 GB, free: 3.074 MB / 462.1 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.007638/0.1551, allocations: 2.75 MB / 0.6611 GB, free: 264 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1551, allocations: 19.95 kB / 0.6611 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.1553, allocations: 131 kB / 0.6612 GB, free: 104 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004517/0.1598, allocations: 0.7904 MB / 0.662 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.1611, allocations: 0.8899 MB / 0.6629 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.1613, allocations: 256.2 kB / 0.6631 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.1615, allocations: 87.91 kB / 0.6632 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.1635, allocations: 1.172 MB / 0.6643 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.1635, allocations: 0 / 0.6643 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-05/0.1636, allocations: 39.98 kB / 0.6644 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.1636, allocations: 20 kB / 0.6644 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.1656, allocations: 1.074 MB / 0.6655 GB, free: 11.67 MB / 478.1 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.005393/0.171, allocations: 3.653 MB / 0.669 GB, free: 7.887 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/0.1732, allocations: 1.547 MB / 0.6705 GB, free: 6.211 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.1745, allocations: 0.7816 MB / 0.6713 GB, free: 5.426 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.1747, allocations: 24.92 kB / 0.6713 GB, free: 5.402 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.1762, allocations: 0.888 MB / 0.6722 GB, free: 4.496 MB / 478.1 MB Notification: Performance of pre-optimization done (n=102): time 3.798e-06/0.1762, allocations: 0 / 0.6722 GB, free: 4.496 MB / 478.1 MB Notification: Performance of matching and sorting (n=102): time 0.02324/0.1995, allocations: 6.956 MB / 0.679 GB, free: 13.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.1996, allocations: 123.7 kB / 0.6791 GB, free: 13.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.2011, allocations: 1.027 MB / 0.6801 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.2012, allocations: 45.7 kB / 0.6801 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.2016, allocations: 0.5046 MB / 0.6806 GB, free: 11.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.2019, allocations: 370.7 kB / 0.681 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000454/0.2024, allocations: 247.4 kB / 0.6812 GB, free: 11.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2026, allocations: 357.9 kB / 0.6816 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.2041, allocations: 0.7613 MB / 0.6823 GB, free: 9.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.2057, allocations: 0.9116 MB / 0.6832 GB, free: 9.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0196/0.2253, allocations: 5.429 MB / 0.6885 GB, free: 3.535 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.2253, allocations: 0 / 0.6885 GB, free: 3.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01369/0.239, allocations: 4.503 MB / 0.6929 GB, free: 15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.2392, allocations: 59.41 kB / 0.693 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.2392, allocations: 3.938 kB / 0.693 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006383/0.2456, allocations: 1.858 MB / 0.6948 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.2469, allocations: 243.7 kB / 0.695 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02059/0.2675, allocations: 9.465 MB / 0.7042 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.2692, allocations: 194.7 kB / 0.7044 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/0.2695, allocations: 55.98 kB / 0.7045 GB, free: 2.973 MB / 0.4981 GB 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 order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0007166/0.2702, allocations: 298.9 kB / 0.7048 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/0.2706, allocations: 122.5 kB / 0.7049 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/0.2827, allocations: 4.189 MB / 0.709 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.2828, allocations: 8 kB / 0.709 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2828, allocations: 0 / 0.709 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.2828, allocations: 15.91 kB / 0.709 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.2971, allocations: 5.961 MB / 0.7148 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.2971, allocations: 0 / 0.7148 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/0.2978, allocations: 107.8 kB / 0.7149 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005692/0.3035, allocations: 1.828 MB / 0.7167 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.3037, allocations: 20 kB / 0.7167 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01994/0.3237, allocations: 10.31 MB / 0.7268 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3237, allocations: 7.875 kB / 0.7268 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/0.3375, allocations: 5.132 MB / 0.7318 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.3379, allocations: 219.3 kB / 0.732 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/0.3383, allocations: 19.94 kB / 0.732 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.3395, allocations: 119.9 kB / 0.7322 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006944/0.3402, allocations: 212.7 kB / 0.7324 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.3404, allocations: 27.98 kB / 0.7324 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001106/0.3415, allocations: 0.7032 MB / 0.7331 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3415, allocations: 0 / 0.7331 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001561/0.3431, allocations: 483.5 kB / 0.7335 GB, free: 4.672 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01444/0.3575, allocations: 5.722 MB / 0.7391 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006862/0.3644, allocations: 2.698 MB / 0.7418 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3644, allocations: 0 / 0.7418 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004498/0.369, allocations: 1.792 MB / 0.7435 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.3701, allocations: 116.8 kB / 0.7436 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03684/0.407, allocations: 16.58 MB / 0.7598 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/0.4078, allocations: 1.132 MB / 0.7609 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004174/0.4082, allocations: 115.9 kB / 0.761 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006124/0.4088, allocations: 475.3 kB / 0.7615 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.4088, allocations: 0 / 0.7615 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3243/0.7332, allocations: 37.25 MB / 0.7979 GB, free: 104.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.32, allocations: 12.05 kB / 0.7979 GB, free: 104.6 MB / 0.5606 GB (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/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)