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.001418/0.001418, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.274/1.274, allocations: 222.9 MB / 239 MB, free: 4.707 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.001373/0.001373, allocations: 196.4 kB / 289.2 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4252/0.4252, allocations: 78.51 MB / 417.9 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 71.88 kB / 497 MB, free: 6.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1255, allocations: 68.17 MB / 0.552 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.211/0.3366, allocations: 6.951 MB / 0.5588 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.3403, allocations: 2.058 MB / 0.5608 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007906/0.3411, allocations: 16.69 kB / 0.5608 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006758/0.3419, allocations: 189.9 kB / 0.561 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.3436, allocations: 0.6662 MB / 0.5616 GB, free: 35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.3448, allocations: 0.6243 MB / 0.5622 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.3461, allocations: 1.624 MB / 0.5638 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.3465, allocations: 348.9 kB / 0.5641 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006812/0.3472, allocations: 0.6743 MB / 0.5648 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006091/0.3478, allocations: 0.818 MB / 0.5656 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.348, allocations: 124.8 kB / 0.5657 GB, free: 34.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.3484, allocations: 259.4 kB / 0.566 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.3486, allocations: 326 kB / 0.5663 GB, free: 34.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004028/0.3491, allocations: 0.6818 MB / 0.5669 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.3502, allocations: 1.67 MB / 0.5686 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3502, allocations: 0 / 0.5686 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3503, allocations: 1.094 kB / 0.5686 GB, free: 33.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.3503, allocations: 0 / 0.5686 GB, free: 33.7 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.008054/0.3583, allocations: 2.769 MB / 0.5713 GB, free: 32.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3584, allocations: 11.88 kB / 0.5713 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.3585, allocations: 131.9 kB / 0.5714 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004661/0.3632, allocations: 0.7873 MB / 0.5722 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.3646, allocations: 0.8916 MB / 0.5731 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.3648, allocations: 251.7 kB / 0.5733 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.3649, allocations: 87.75 kB / 0.5734 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.3671, allocations: 1.173 MB / 0.5745 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.3672, allocations: 0 / 0.5745 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.622e-05/0.3673, allocations: 33.5 kB / 0.5746 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.3673, allocations: 18.38 kB / 0.5746 GB, free: 31.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.3692, allocations: 1.079 MB / 0.5756 GB, free: 31.88 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.005372/0.3746, allocations: 3.684 MB / 0.5792 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.3766, allocations: 1.547 MB / 0.5807 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.3779, allocations: 0.7812 MB / 0.5815 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.378, allocations: 22.33 kB / 0.5815 GB, free: 28.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.3797, allocations: 0.8937 MB / 0.5824 GB, free: 28.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.585e-06/0.3797, allocations: 0 / 0.5824 GB, free: 28.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02544/0.4051, allocations: 6.954 MB / 0.5892 GB, free: 27.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.4052, allocations: 115.4 kB / 0.5893 GB, free: 27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.4072, allocations: 1.032 MB / 0.5903 GB, free: 26.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002747/0.4075, allocations: 43.27 kB / 0.5903 GB, free: 26.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.4079, allocations: 0.503 MB / 0.5908 GB, free: 26.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005042/0.4084, allocations: 374.8 kB / 0.5912 GB, free: 25.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007846/0.4092, allocations: 246.5 kB / 0.5914 GB, free: 25.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4093, allocations: 359.7 kB / 0.5918 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.4111, allocations: 0.7624 MB / 0.5925 GB, free: 25.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.4129, allocations: 0.9148 MB / 0.5934 GB, free: 24.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02185/0.4348, allocations: 5.434 MB / 0.5987 GB, free: 22.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.4349, allocations: 0 / 0.5987 GB, free: 22.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01536/0.4502, allocations: 4.507 MB / 0.6031 GB, free: 21.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/0.4503, allocations: 59.2 kB / 0.6032 GB, free: 21.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.4504, allocations: 6.125 kB / 0.6032 GB, free: 21.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007195/0.4576, allocations: 1.857 MB / 0.605 GB, free: 21.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.459, allocations: 247.6 kB / 0.6052 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/0.4803, allocations: 9.486 MB / 0.6145 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.4823, allocations: 198.8 kB / 0.6147 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/0.4826, allocations: 43.98 kB / 0.6147 GB, free: 14.73 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.0007553/0.4834, allocations: 300.7 kB / 0.615 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/0.4837, allocations: 127.3 kB / 0.6151 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.496, allocations: 4.185 MB / 0.6192 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.4961, allocations: 12 kB / 0.6192 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4961, allocations: 4 kB / 0.6192 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.4961, allocations: 7.922 kB / 0.6192 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.5107, allocations: 5.972 MB / 0.6251 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.5108, allocations: 1.75 kB / 0.6251 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/0.5116, allocations: 109.2 kB / 0.6252 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005533/0.5171, allocations: 1.831 MB / 0.627 GB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/0.5174, allocations: 24 kB / 0.627 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02169/0.5391, allocations: 10.31 MB / 0.6371 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.5391, allocations: 4.562 kB / 0.6371 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/0.5549, allocations: 5.136 MB / 0.6421 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004709/0.5554, allocations: 223.2 kB / 0.6423 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/0.5559, allocations: 25.75 kB / 0.6423 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.5574, allocations: 115.9 kB / 0.6424 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007829/0.5582, allocations: 208.7 kB / 0.6426 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.5583, allocations: 27.98 kB / 0.6427 GB, free: 1.605 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001232/0.5596, allocations: 0.7071 MB / 0.6433 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5596, allocations: 0 / 0.6433 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001748/0.5614, allocations: 479.5 kB / 0.6438 GB, free: 432 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.01595/0.5773, allocations: 5.716 MB / 0.6494 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008047/0.5854, allocations: 2.72 MB / 0.652 GB, free: 7.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5855, allocations: 0 / 0.652 GB, free: 7.914 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005104/0.5906, allocations: 1.797 MB / 0.6538 GB, free: 6.086 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.5921, allocations: 117.1 kB / 0.6539 GB, free: 5.969 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04337/0.6355, allocations: 17.74 MB / 0.6712 GB, free: 3.836 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008592/0.6364, allocations: 1.132 MB / 0.6723 GB, free: 2.676 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006143/0.637, allocations: 112.8 kB / 0.6724 GB, free: 2.566 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/0.6378, allocations: 476.3 kB / 0.6729 GB, free: 2.102 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6378, allocations: 4 kB / 0.6729 GB, free: 2.098 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06247/0.7003, allocations: 35.69 MB / 0.7078 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.7005, allocations: 218.2 kB / 0.708 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.376, allocations: 0 / 0.708 GB, free: 14.52 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)