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.0008332/0.0008333, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.169/1.169, allocations: 223.2 MB / 239.3 MB, free: 5.5 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.0009548/0.0009549, allocations: 180.3 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3986/0.3986, allocations: 78.56 MB / 420.3 MB, free: 4.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 8 kB / 0.4888 GB, free: 5.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1097, allocations: 69.37 MB / 0.5565 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.1912/0.3009, allocations: 6.479 MB / 0.5628 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.3044, allocations: 2.041 MB / 0.5648 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009945/0.3054, allocations: 18.28 kB / 0.5648 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005711/0.306, allocations: 180.6 kB / 0.565 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.3074, allocations: 0.6706 MB / 0.5657 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3085, allocations: 0.6235 MB / 0.5663 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009511/0.3095, allocations: 1.546 MB / 0.5678 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.3098, allocations: 309.3 kB / 0.5681 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004504/0.3103, allocations: 0.5768 MB / 0.5686 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.3109, allocations: 0.7305 MB / 0.5694 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.311, allocations: 59.47 kB / 0.5694 GB, free: 34.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.3114, allocations: 196 kB / 0.5696 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.3115, allocations: 247.6 kB / 0.5698 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003451/0.3119, allocations: 0.6244 MB / 0.5704 GB, free: 33.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008743/0.3128, allocations: 1.59 MB / 0.572 GB, free: 33.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3128, allocations: 1.344 kB / 0.572 GB, free: 33.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3128, allocations: 3 kB / 0.572 GB, free: 33.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.3128, allocations: 0 / 0.572 GB, free: 33.36 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.007032/0.3198, allocations: 2.579 MB / 0.5745 GB, free: 32.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3199, allocations: 8.812 kB / 0.5745 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.32, allocations: 135.8 kB / 0.5747 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004437/0.3245, allocations: 0.7963 MB / 0.5754 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.3255, allocations: 0.8838 MB / 0.5763 GB, free: 31.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.3257, allocations: 258.5 kB / 0.5765 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.3259, allocations: 87.42 kB / 0.5766 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.3279, allocations: 1.245 MB / 0.5778 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.3279, allocations: 0.6875 kB / 0.5778 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.328, allocations: 33.25 kB / 0.5779 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.328, allocations: 18.38 kB / 0.5779 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.33, allocations: 1.148 MB / 0.579 GB, free: 31.56 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.004946/0.335, allocations: 3.752 MB / 0.5827 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.337, allocations: 1.62 MB / 0.5843 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.3384, allocations: 0.8469 MB / 0.5851 GB, free: 28.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-05/0.3385, allocations: 24.72 kB / 0.5851 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/0.3402, allocations: 0.9553 MB / 0.586 GB, free: 28.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.275e-06/0.3402, allocations: 4 kB / 0.586 GB, free: 28.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.027/0.3672, allocations: 8.519 MB / 0.5944 GB, free: 26.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.3673, allocations: 116.2 kB / 0.5945 GB, free: 26.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.3686, allocations: 1.033 MB / 0.5955 GB, free: 26.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-05/0.3687, allocations: 46.39 kB / 0.5955 GB, free: 26.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.369, allocations: 0.4992 MB / 0.596 GB, free: 25.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.3692, allocations: 374.2 kB / 0.5964 GB, free: 25.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.3694, allocations: 126.3 kB / 0.5965 GB, free: 25.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.3695, allocations: 362.1 kB / 0.5968 GB, free: 24.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.3711, allocations: 0.8268 MB / 0.5976 GB, free: 24.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.3728, allocations: 0.979 MB / 0.5986 GB, free: 24.21 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02072/0.3936, allocations: 5.904 MB / 0.6044 GB, free: 22.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.3936, allocations: 3.406 kB / 0.6044 GB, free: 22.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01515/0.4087, allocations: 5.413 MB / 0.6097 GB, free: 21.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.4088, allocations: 64.23 kB / 0.6097 GB, free: 21.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.4088, allocations: 5.562 kB / 0.6097 GB, free: 21.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006864/0.4157, allocations: 2.168 MB / 0.6118 GB, free: 20.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.4167, allocations: 257.7 kB / 0.6121 GB, free: 20.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01818/0.4349, allocations: 9.7 MB / 0.6216 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.4364, allocations: 238.7 kB / 0.6218 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.406e-05/0.4365, allocations: 48.88 kB / 0.6218 GB, free: 10.39 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.0004456/0.437, allocations: 294.5 kB / 0.6221 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.4371, allocations: 122.5 kB / 0.6222 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.4502, allocations: 5.099 MB / 0.6272 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.4502, allocations: 12 kB / 0.6272 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.4503, allocations: 0 / 0.6272 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.4503, allocations: 4.828 kB / 0.6272 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.4651, allocations: 6.893 MB / 0.634 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4651, allocations: 2.062 kB / 0.634 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006298/0.4657, allocations: 107.9 kB / 0.6341 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006318/0.4721, allocations: 2.145 MB / 0.6362 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.695e-05/0.4722, allocations: 16 kB / 0.6362 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02017/0.4923, allocations: 10.29 MB / 0.6462 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4924, allocations: 4.75 kB / 0.6462 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/0.5082, allocations: 6.111 MB / 0.6522 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.5085, allocations: 231.2 kB / 0.6524 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.5087, allocations: 16.84 kB / 0.6524 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.5099, allocations: 151.9 kB / 0.6526 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005159/0.5104, allocations: 204.6 kB / 0.6528 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.5105, allocations: 29.12 kB / 0.6528 GB, free: 10.17 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009476/0.5114, allocations: 0.7032 MB / 0.6535 GB, free: 9.457 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5114, allocations: 0 / 0.6535 GB, free: 9.457 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001221/0.5127, allocations: 483.5 kB / 0.6539 GB, free: 8.984 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 (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.01641/0.5291, allocations: 6.705 MB / 0.6605 GB, free: 2.238 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006977/0.5361, allocations: 2.935 MB / 0.6634 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5361, allocations: 0 / 0.6634 GB, free: 15.28 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00483/0.5409, allocations: 1.978 MB / 0.6653 GB, free: 13.26 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.5418, allocations: 112.4 kB / 0.6654 GB, free: 13.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04138/0.5832, allocations: 19.72 MB / 0.6846 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.5838, allocations: 1.128 MB / 0.6857 GB, free: 7.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003881/0.5842, allocations: 107.7 kB / 0.6859 GB, free: 7.805 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005624/0.5848, allocations: 471.3 kB / 0.6863 GB, free: 7.348 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5848, allocations: 4 kB / 0.6863 GB, free: 7.344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04916/0.634, allocations: 33.52 MB / 0.719 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.6341, allocations: 215.7 kB / 0.7192 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/2.959, allocations: 3.938 kB / 0.7193 GB, free: 5.914 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)