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.001274/0.001278, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.318/1.318, allocations: 222.9 MB / 238.8 MB, free: 4.672 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.001221/0.001221, allocations: 196.5 kB / 289.1 MB, free: 2.414 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4557/0.4557, allocations: 78.52 MB / 417.8 MB, free: 3.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 79.88 kB / 496.9 MB, free: 6.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1361, allocations: 68.16 MB / 0.5518 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.2504/0.3866, allocations: 6.962 MB / 0.5586 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.3913, allocations: 2.074 MB / 0.5606 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.392, allocations: 15.09 kB / 0.5606 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007172/0.3927, allocations: 187.3 kB / 0.5608 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.3943, allocations: 0.6677 MB / 0.5615 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.3955, allocations: 0.6305 MB / 0.5621 GB, free: 34.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.3967, allocations: 1.545 MB / 0.5636 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004048/0.3971, allocations: 312.2 kB / 0.5639 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006009/0.3977, allocations: 0.6044 MB / 0.5645 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006388/0.3983, allocations: 0.7717 MB / 0.5652 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.3985, allocations: 76.53 kB / 0.5653 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.3989, allocations: 201.6 kB / 0.5655 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.3992, allocations: 277.6 kB / 0.5658 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000442/0.3996, allocations: 0.6306 MB / 0.5664 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.4007, allocations: 1.628 MB / 0.568 GB, free: 33.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4008, allocations: 0 / 0.568 GB, free: 33.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4008, allocations: 2.656 kB / 0.568 GB, free: 33.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.4008, allocations: 0 / 0.568 GB, free: 33.75 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.00817/0.409, allocations: 2.762 MB / 0.5707 GB, free: 32.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.409, allocations: 11.44 kB / 0.5707 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.4092, allocations: 134.1 kB / 0.5708 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/0.4138, allocations: 0.7805 MB / 0.5716 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.4152, allocations: 0.8856 MB / 0.5724 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.4154, allocations: 256.3 kB / 0.5727 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.4155, allocations: 90.84 kB / 0.5728 GB, free: 32.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.4176, allocations: 1.174 MB / 0.5739 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4176, allocations: 2.625 kB / 0.5739 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.5e-05/0.4177, allocations: 34.5 kB / 0.5739 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.4178, allocations: 17.78 kB / 0.574 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.4198, allocations: 1.073 MB / 0.575 GB, free: 31.94 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.005429/0.4252, allocations: 3.685 MB / 0.5786 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.4273, allocations: 1.544 MB / 0.5801 GB, free: 29.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.4286, allocations: 0.7876 MB / 0.5809 GB, free: 29.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.4287, allocations: 16.97 kB / 0.5809 GB, free: 29.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001678/0.4304, allocations: 0.8906 MB / 0.5818 GB, free: 28.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.785e-06/0.4304, allocations: 1.594 kB / 0.5818 GB, free: 28.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02607/0.4565, allocations: 6.951 MB / 0.5886 GB, free: 27.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.4566, allocations: 122.3 kB / 0.5887 GB, free: 27.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.4584, allocations: 1.036 MB / 0.5897 GB, free: 26.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002878/0.4587, allocations: 46.48 kB / 0.5897 GB, free: 26.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.4591, allocations: 0.5037 MB / 0.5902 GB, free: 26.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.4594, allocations: 370.3 kB / 0.5906 GB, free: 26.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004943/0.4599, allocations: 246.7 kB / 0.5908 GB, free: 26.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.46, allocations: 359.7 kB / 0.5911 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.4617, allocations: 0.7584 MB / 0.5919 GB, free: 25.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.4634, allocations: 0.912 MB / 0.5928 GB, free: 25.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02125/0.4847, allocations: 5.421 MB / 0.5981 GB, free: 23.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.4847, allocations: 5.281 kB / 0.5981 GB, free: 23.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01469/0.4994, allocations: 4.507 MB / 0.6025 GB, free: 22.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.036e-05/0.4995, allocations: 67.69 kB / 0.6025 GB, free: 22.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.4996, allocations: 6.734 kB / 0.6026 GB, free: 22.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006837/0.5064, allocations: 1.85 MB / 0.6044 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.5079, allocations: 244.5 kB / 0.6046 GB, free: 21.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/0.5279, allocations: 8.72 MB / 0.6131 GB, free: 16.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.5298, allocations: 195.6 kB / 0.6133 GB, free: 16.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.53, allocations: 53.77 kB / 0.6133 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 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.0005415/0.5305, allocations: 290 kB / 0.6136 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.5307, allocations: 122.5 kB / 0.6137 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.5424, allocations: 4.194 MB / 0.6178 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.5424, allocations: 8 kB / 0.6178 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5425, allocations: 0 / 0.6178 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/0.5425, allocations: 7.984 kB / 0.6178 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/0.5562, allocations: 5.974 MB / 0.6237 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.5562, allocations: 0 / 0.6237 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.557, allocations: 115.8 kB / 0.6238 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005403/0.5624, allocations: 1.825 MB / 0.6256 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/0.5626, allocations: 20 kB / 0.6256 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01889/0.5815, allocations: 9.381 MB / 0.6348 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5816, allocations: 0 / 0.6348 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/0.5963, allocations: 5.14 MB / 0.6398 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005369/0.5969, allocations: 223.2 kB / 0.64 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/0.5973, allocations: 25.5 kB / 0.64 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.5985, allocations: 111.9 kB / 0.6401 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006876/0.5992, allocations: 204.6 kB / 0.6403 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.872e-05/0.5993, allocations: 31.98 kB / 0.6403 GB, free: 3.852 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.6004, allocations: 0.7032 MB / 0.641 GB, free: 3.141 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6004, allocations: 0 / 0.641 GB, free: 3.141 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001476/0.6019, allocations: 479.6 kB / 0.6415 GB, free: 2.672 MB / 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.01507/0.6169, allocations: 5.727 MB / 0.6471 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006905/0.6239, allocations: 2.641 MB / 0.6497 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.6239, allocations: 0 / 0.6497 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004697/0.6286, allocations: 1.755 MB / 0.6514 GB, free: 8.441 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.6298, allocations: 115.6 kB / 0.6515 GB, free: 8.328 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04399/0.6738, allocations: 17.75 MB / 0.6688 GB, free: 6.199 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/0.6751, allocations: 1.124 MB / 0.6699 GB, free: 5.047 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006783/0.6758, allocations: 111.2 kB / 0.67 GB, free: 4.938 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007721/0.6766, allocations: 475.3 kB / 0.6705 GB, free: 4.473 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6766, allocations: 3.938 kB / 0.6705 GB, free: 4.469 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06012/0.7367, allocations: 34.15 MB / 0.7038 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002788/0.737, allocations: 218.1 kB / 0.704 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/3.471, allocations: 0 / 0.704 GB, free: 2.41 MB / 0.4981 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)