Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_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.001152/0.001152, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 239.2 MB, free: 4.594 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.001426/0.001426, allocations: 188.2 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4512/0.4512, allocations: 78.53 MB / 418.2 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 75.88 kB / 497.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1193, allocations: 68.18 MB / 0.5525 GB, free: 2.105 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.2047/0.3241, allocations: 6.607 MB / 0.5589 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003531/0.3277, allocations: 2.029 MB / 0.5609 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007293/0.3284, allocations: 12 kB / 0.5609 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.3292, allocations: 244.9 kB / 0.5612 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.331, allocations: 0.7578 MB / 0.5619 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.3323, allocations: 0.6741 MB / 0.5626 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.3338, allocations: 1.627 MB / 0.5641 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004414/0.3342, allocations: 352 kB / 0.5645 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000761/0.335, allocations: 0.6641 MB / 0.5651 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006762/0.3357, allocations: 0.8147 MB / 0.5659 GB, free: 34.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.3359, allocations: 124.8 kB / 0.566 GB, free: 34.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.3363, allocations: 263.9 kB / 0.5663 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.3366, allocations: 326.8 kB / 0.5666 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004487/0.337, allocations: 0.6791 MB / 0.5673 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.3382, allocations: 1.676 MB / 0.5689 GB, free: 33.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3383, allocations: 0 / 0.5689 GB, free: 33.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3383, allocations: 1.594 kB / 0.5689 GB, free: 33.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.3383, allocations: 0 / 0.5689 GB, free: 33.81 MB / 430.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.008541/0.3468, allocations: 2.766 MB / 0.5716 GB, free: 32.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3469, allocations: 8.156 kB / 0.5716 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.347, allocations: 136.3 kB / 0.5718 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.3519, allocations: 0.7825 MB / 0.5725 GB, free: 32.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.3533, allocations: 0.889 MB / 0.5734 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.3536, allocations: 253 kB / 0.5736 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.3537, allocations: 86.59 kB / 0.5737 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.3557, allocations: 1.179 MB / 0.5749 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.3557, allocations: 0 / 0.5749 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-05/0.3558, allocations: 30.75 kB / 0.5749 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.3559, allocations: 18.67 kB / 0.5749 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.3578, allocations: 1.078 MB / 0.576 GB, free: 32 MB / 430.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.005442/0.3633, allocations: 3.675 MB / 0.5795 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.3653, allocations: 1.55 MB / 0.5811 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.3667, allocations: 0.7841 MB / 0.5818 GB, free: 29.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.3668, allocations: 22.89 kB / 0.5818 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001634/0.3684, allocations: 0.8866 MB / 0.5827 GB, free: 28.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.216e-06/0.3685, allocations: 0 / 0.5827 GB, free: 28.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02663/0.3951, allocations: 6.954 MB / 0.5895 GB, free: 27.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3952, allocations: 122.9 kB / 0.5896 GB, free: 27.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.3968, allocations: 1.033 MB / 0.5906 GB, free: 26.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002337/0.3971, allocations: 45.64 kB / 0.5907 GB, free: 26.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.3974, allocations: 0.5018 MB / 0.5912 GB, free: 26.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.3977, allocations: 369.3 kB / 0.5915 GB, free: 25.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/0.3982, allocations: 250.9 kB / 0.5918 GB, free: 25.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.129e-05/0.3983, allocations: 355.3 kB / 0.5921 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.3999, allocations: 0.7685 MB / 0.5928 GB, free: 25.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.4016, allocations: 0.9062 MB / 0.5937 GB, free: 24.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02131/0.4229, allocations: 5.444 MB / 0.599 GB, free: 23.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.423, allocations: 1.094 kB / 0.599 GB, free: 23.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01514/0.4381, allocations: 4.508 MB / 0.6035 GB, free: 21.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.101e-05/0.4382, allocations: 59.09 kB / 0.6035 GB, free: 21.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.4382, allocations: 6.188 kB / 0.6035 GB, free: 21.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007111/0.4454, allocations: 1.86 MB / 0.6053 GB, free: 21.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.4467, allocations: 251.6 kB / 0.6056 GB, free: 21.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02055/0.4673, allocations: 9.471 MB / 0.6148 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.4692, allocations: 198.8 kB / 0.615 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.4693, allocations: 47.98 kB / 0.6151 GB, free: 14.58 MB / 430.1 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 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.0005075/0.4698, allocations: 298.7 kB / 0.6153 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.47, allocations: 122.5 kB / 0.6155 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/0.4826, allocations: 4.181 MB / 0.6195 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.4826, allocations: 12 kB / 0.6195 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4826, allocations: 5.172 kB / 0.6196 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.4827, allocations: 9.328 kB / 0.6196 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.4969, allocations: 5.974 MB / 0.6254 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.4969, allocations: 4.031 kB / 0.6254 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/0.4977, allocations: 103.8 kB / 0.6255 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005776/0.5035, allocations: 1.836 MB / 0.6273 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/0.5037, allocations: 21.59 kB / 0.6273 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02098/0.5247, allocations: 10.32 MB / 0.6374 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5248, allocations: 3.938 kB / 0.6374 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/0.5402, allocations: 5.127 MB / 0.6424 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/0.5407, allocations: 223.2 kB / 0.6426 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.5409, allocations: 29.03 kB / 0.6426 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.5422, allocations: 115.8 kB / 0.6428 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006145/0.5428, allocations: 212.7 kB / 0.643 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/0.5429, allocations: 28 kB / 0.643 GB, free: 1.457 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009732/0.5438, allocations: 0.6993 MB / 0.6437 GB, free: 0.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5439, allocations: 0 / 0.6437 GB, free: 0.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001322/0.5452, allocations: 483.5 kB / 0.6441 GB, free: 284 kB / 446.1 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 (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.01558/0.5608, allocations: 5.717 MB / 0.6497 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007569/0.5684, allocations: 2.719 MB / 0.6524 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5684, allocations: 0.5625 kB / 0.6524 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005008/0.5734, allocations: 1.804 MB / 0.6541 GB, free: 5.938 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5745, allocations: 111.1 kB / 0.6542 GB, free: 5.828 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04028/0.6148, allocations: 17.34 MB / 0.6712 GB, free: 4.098 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.6155, allocations: 1.132 MB / 0.6723 GB, free: 2.938 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005395/0.6161, allocations: 102.2 kB / 0.6724 GB, free: 2.836 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/0.6167, allocations: 483.3 kB / 0.6728 GB, free: 2.363 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6167, allocations: 0 / 0.6728 GB, free: 2.363 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07029/0.687, allocations: 36.81 MB / 0.7088 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.17, allocations: 7.922 kB / 0.7088 GB, free: 13.86 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)