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.0008363/0.0008365, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.442/1.442, allocations: 223.2 MB / 239 MB, free: 5.465 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.001225/0.001225, allocations: 172.5 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4768/0.4768, allocations: 79.47 MB / 420.8 MB, free: 3.898 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003924, allocations: 15.98 kB / 0.4892 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.363, allocations: 69.5 MB / 0.5571 GB, free: 37.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005625/0.3687, allocations: 6.091 MB / 0.563 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005075/0.3738, allocations: 1.968 MB / 0.565 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.3753, allocations: 11.5 kB / 0.565 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009339/0.3763, allocations: 176.1 kB / 0.5652 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.3791, allocations: 0.6277 MB / 0.5658 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.3808, allocations: 0.5551 MB / 0.5663 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002557/0.3833, allocations: 1.451 MB / 0.5677 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000586/0.3839, allocations: 277.7 kB / 0.568 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.3852, allocations: 0.5781 MB / 0.5686 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000989/0.3862, allocations: 0.7087 MB / 0.5692 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.3864, allocations: 60.28 kB / 0.5693 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000638/0.3871, allocations: 179 kB / 0.5695 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.3874, allocations: 253.9 kB / 0.5697 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.3878, allocations: 232.1 kB / 0.5699 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.3892, allocations: 1.255 MB / 0.5712 GB, free: 35.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3892, allocations: 0 / 0.5712 GB, free: 35.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.3892, allocations: 0 / 0.5712 GB, free: 35.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.865e-05/0.3893, allocations: 0 / 0.5712 GB, free: 35.16 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.00862/0.3979, allocations: 2.592 MB / 0.5737 GB, free: 34.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/0.398, allocations: 8.25 kB / 0.5737 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005923/0.3986, allocations: 137.9 kB / 0.5738 GB, free: 33.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005142/0.4037, allocations: 0.7949 MB / 0.5746 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/0.406, allocations: 0.8439 MB / 0.5754 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002871/0.4063, allocations: 265.4 kB / 0.5757 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.4065, allocations: 83.75 kB / 0.5758 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.4091, allocations: 1.238 MB / 0.577 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.4091, allocations: 0.5156 kB / 0.577 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.713e-05/0.4092, allocations: 33.98 kB / 0.577 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.4092, allocations: 22.16 kB / 0.577 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.4115, allocations: 1.141 MB / 0.5781 GB, free: 32.19 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.006591/0.4181, allocations: 3.744 MB / 0.5818 GB, free: 30.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.4205, allocations: 1.614 MB / 0.5834 GB, free: 29.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.4219, allocations: 0.849 MB / 0.5842 GB, free: 28.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.4221, allocations: 18.91 kB / 0.5842 GB, free: 28.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/0.4238, allocations: 0.9511 MB / 0.5852 GB, free: 28.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 3.436e-06/0.4239, allocations: 0 / 0.5852 GB, free: 28.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02638/0.4502, allocations: 8.481 MB / 0.5934 GB, free: 26.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.4504, allocations: 123.6 kB / 0.5936 GB, free: 26.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.4524, allocations: 1.019 MB / 0.5945 GB, free: 26.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002962/0.4527, allocations: 46.14 kB / 0.5946 GB, free: 26.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.4531, allocations: 0.5013 MB / 0.5951 GB, free: 25.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004299/0.4536, allocations: 377.2 kB / 0.5954 GB, free: 25.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.88e-05/0.4537, allocations: 27.09 kB / 0.5955 GB, free: 25.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4538, allocations: 357.5 kB / 0.5958 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.4556, allocations: 0.8268 MB / 0.5966 GB, free: 24.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.4577, allocations: 0.9734 MB / 0.5976 GB, free: 24.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/0.4597, allocations: 0.9401 MB / 0.5985 GB, free: 24.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.4597, allocations: 0 / 0.5985 GB, free: 24.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.0149/0.4746, allocations: 5.386 MB / 0.6037 GB, free: 22.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.958e-05/0.4747, allocations: 62.86 kB / 0.6038 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.4748, allocations: 7.25 kB / 0.6038 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00707/0.4818, allocations: 2.224 MB / 0.606 GB, free: 22.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.4832, allocations: 247.5 kB / 0.6062 GB, free: 22.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02019/0.5034, allocations: 9.933 MB / 0.6159 GB, free: 16.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.5051, allocations: 234.8 kB / 0.6161 GB, free: 16.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.5052, allocations: 48.48 kB / 0.6162 GB, free: 16.01 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.0005278/0.5058, allocations: 285.7 kB / 0.6165 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.5059, allocations: 134.3 kB / 0.6166 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/0.5177, allocations: 5.091 MB / 0.6216 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.5178, allocations: 15.94 kB / 0.6216 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5178, allocations: 0.6562 kB / 0.6216 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/0.5178, allocations: 5.016 kB / 0.6216 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.5314, allocations: 6.876 MB / 0.6283 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.5314, allocations: 3.938 kB / 0.6283 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006723/0.5321, allocations: 103.9 kB / 0.6284 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005345/0.5375, allocations: 2.145 MB / 0.6305 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.5376, allocations: 20 kB / 0.6305 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02078/0.5584, allocations: 10.28 MB / 0.6405 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5585, allocations: 0 / 0.6405 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01696/0.5754, allocations: 6.092 MB / 0.6465 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/0.576, allocations: 230.3 kB / 0.6467 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/0.5764, allocations: 21 kB / 0.6467 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.5778, allocations: 147.9 kB / 0.6469 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000694/0.5785, allocations: 216.6 kB / 0.6471 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.5786, allocations: 28 kB / 0.6471 GB, free: 15.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001317/0.58, allocations: 0.6915 MB / 0.6478 GB, free: 15.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.58, allocations: 0 / 0.6478 GB, free: 15.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001866/0.5819, allocations: 487.5 kB / 0.6483 GB, free: 14.65 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.01594/0.5978, allocations: 6.686 MB / 0.6548 GB, free: 7.918 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007512/0.6054, allocations: 2.932 MB / 0.6576 GB, free: 4.957 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.6054, allocations: 4 kB / 0.6576 GB, free: 4.953 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004842/0.6102, allocations: 1.978 MB / 0.6596 GB, free: 2.934 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.6116, allocations: 118.3 kB / 0.6597 GB, free: 2.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/0.6402, allocations: 12.49 MB / 0.6719 GB, free: 6.039 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009218/0.6412, allocations: 1.128 MB / 0.673 GB, free: 4.883 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000517/0.6417, allocations: 112.5 kB / 0.6731 GB, free: 4.773 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007083/0.6425, allocations: 475.3 kB / 0.6736 GB, free: 4.309 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6425, allocations: 0 / 0.6736 GB, free: 4.309 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05768/0.7002, allocations: 33.48 MB / 0.7063 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.7004, allocations: 209.7 kB / 0.7065 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.289, allocations: 0 / 0.7065 GB, free: 2.957 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: