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.0009964/0.0009961, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.362/1.362, allocations: 223.2 MB / 238.9 MB, free: 5.492 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.001513/0.001513, allocations: 185 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4998/0.4998, allocations: 79.45 MB / 420.7 MB, free: 3.996 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003728, allocations: 11.98 kB / 0.4891 GB, free: 5.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3516, allocations: 69.5 MB / 0.557 GB, free: 38.14 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.004997/0.3566, allocations: 5.81 MB / 0.5626 GB, free: 37.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003512/0.3602, allocations: 2.004 MB / 0.5646 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005698/0.3608, allocations: 12.16 kB / 0.5646 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006074/0.3614, allocations: 177.1 kB / 0.5648 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.363, allocations: 0.682 MB / 0.5654 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3642, allocations: 0.548 MB / 0.566 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.3656, allocations: 1.014 MB / 0.567 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.366, allocations: 284.9 kB / 0.5672 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000685/0.3667, allocations: 0.5732 MB / 0.5678 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006131/0.3674, allocations: 0.6955 MB / 0.5685 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3675, allocations: 59.66 kB / 0.5685 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.3679, allocations: 172.1 kB / 0.5687 GB, free: 36.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.368, allocations: 242.2 kB / 0.5689 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.3682, allocations: 233.6 kB / 0.5692 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009287/0.3692, allocations: 1.205 MB / 0.5703 GB, free: 35.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3692, allocations: 2.344 kB / 0.5703 GB, free: 35.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3692, allocations: 1.906 kB / 0.5703 GB, free: 35.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.135e-05/0.3692, allocations: 3.094 kB / 0.5703 GB, free: 35.71 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.007991/0.3772, allocations: 2.6 MB / 0.5729 GB, free: 34.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3773, allocations: 7.719 kB / 0.5729 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000218/0.3775, allocations: 133.8 kB / 0.573 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004771/0.3823, allocations: 0.7918 MB / 0.5738 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.3837, allocations: 0.8434 MB / 0.5746 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.3839, allocations: 263.6 kB / 0.5749 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.3841, allocations: 87.97 kB / 0.5749 GB, free: 33.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.3862, allocations: 1.223 MB / 0.5761 GB, free: 33.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.3862, allocations: 0 / 0.5761 GB, free: 33.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.441e-05/0.3863, allocations: 38.52 kB / 0.5762 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.3863, allocations: 20.47 kB / 0.5762 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.3884, allocations: 1.141 MB / 0.5773 GB, free: 32.73 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.005456/0.3938, allocations: 3.851 MB / 0.5811 GB, free: 30.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.396, allocations: 1.61 MB / 0.5826 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.471e-05/0.3961, allocations: 17.97 kB / 0.5827 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.3976, allocations: 0.9491 MB / 0.5836 GB, free: 29.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.615e-06/0.3977, allocations: 0 / 0.5836 GB, free: 29.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02767/0.4253, allocations: 8.483 MB / 0.5919 GB, free: 27.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.4254, allocations: 118.6 kB / 0.592 GB, free: 27.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.427, allocations: 1.023 MB / 0.593 GB, free: 27.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002005/0.4272, allocations: 46.3 kB / 0.593 GB, free: 26.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.4275, allocations: 0.4984 MB / 0.5935 GB, free: 26.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/0.4279, allocations: 376.4 kB / 0.5939 GB, free: 26.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.983e-05/0.428, allocations: 26.44 kB / 0.5939 GB, free: 26.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.4281, allocations: 362.8 kB / 0.5942 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.4298, allocations: 0.8247 MB / 0.595 GB, free: 25.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.4315, allocations: 0.9648 MB / 0.596 GB, free: 25.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.4333, allocations: 0.939 MB / 0.5969 GB, free: 24.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4333, allocations: 0 / 0.5969 GB, free: 24.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01557/0.4489, allocations: 5.386 MB / 0.6022 GB, free: 23.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.139e-05/0.449, allocations: 63.02 kB / 0.6022 GB, free: 23.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.449, allocations: 2.312 kB / 0.6022 GB, free: 23.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007799/0.4568, allocations: 2.227 MB / 0.6044 GB, free: 23.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.4582, allocations: 249.2 kB / 0.6046 GB, free: 23.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0231/0.4813, allocations: 10.4 MB / 0.6148 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.4831, allocations: 226.5 kB / 0.615 GB, free: 17.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.4832, allocations: 48.36 kB / 0.6151 GB, free: 17.11 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 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.0005026/0.4838, allocations: 289.2 kB / 0.6153 GB, free: 16.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.4839, allocations: 131.1 kB / 0.6155 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/0.4972, allocations: 5.102 MB / 0.6204 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.4973, allocations: 8 kB / 0.6204 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4973, allocations: 2.75 kB / 0.6204 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.4973, allocations: 7.984 kB / 0.6205 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/0.5122, allocations: 6.917 MB / 0.6272 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.5122, allocations: 4.656 kB / 0.6272 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/0.5129, allocations: 111.9 kB / 0.6273 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006025/0.5189, allocations: 2.137 MB / 0.6294 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/0.5191, allocations: 21 kB / 0.6294 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02111/0.5402, allocations: 10.76 MB / 0.6399 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5402, allocations: 4 kB / 0.6399 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/0.5567, allocations: 6.119 MB / 0.6459 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.5572, allocations: 220.3 kB / 0.6461 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.5574, allocations: 20 kB / 0.6461 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.5587, allocations: 155.8 kB / 0.6463 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006338/0.5593, allocations: 212.6 kB / 0.6465 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/0.5594, allocations: 23.98 kB / 0.6465 GB, free: 440 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.5604, allocations: 0.6994 MB / 0.6472 GB, free: 15.72 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5604, allocations: 1.875 kB / 0.6472 GB, free: 15.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001383/0.5618, allocations: 487.6 kB / 0.6477 GB, free: 15.24 MB / 462.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 (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.01649/0.5783, allocations: 6.776 MB / 0.6543 GB, free: 8.414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007782/0.5861, allocations: 2.93 MB / 0.6571 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.5862, allocations: 0 / 0.6571 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005817/0.592, allocations: 1.978 MB / 0.6591 GB, free: 3.441 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.5935, allocations: 95.08 kB / 0.6592 GB, free: 3.348 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006837/0.6003, allocations: 4.68 MB / 0.6637 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008024/0.6012, allocations: 1.151 MB / 0.6649 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005164/0.6017, allocations: 111.6 kB / 0.665 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/0.6023, allocations: 472.9 kB / 0.6654 GB, free: 12.88 MB / 478.1 MB Notification: Performance of SimCode: time 1.542e-06/0.6023, allocations: 0 / 0.6654 GB, free: 12.88 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05833/0.6607, allocations: 32.69 MB / 0.6973 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.6609, allocations: 210 kB / 0.6975 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/3.276, allocations: 0 / 0.6975 GB, free: 12.31 MB / 0.4981 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/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) Environment - environmentSimulation: