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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 252.6 MB, free: 8.316 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002705/0.002705, allocations: 212.1 kB / 309.2 MB, free: 3.168 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4426/0.4426, allocations: 79.74 MB / 445.4 MB, free: 14.86 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 84.25 kB / 0.5929 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1468, allocations: 73.31 MB / 0.6645 GB, free: 4.566 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.008501/0.1553, allocations: 6.693 MB / 0.671 GB, free: 13.84 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004717/0.16, allocations: 2.083 MB / 0.6731 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009605/0.1609, allocations: 15.94 kB / 0.6731 GB, free: 11.74 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.1619, allocations: 245.9 kB / 0.6733 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.1646, allocations: 0.8329 MB / 0.6741 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.1664, allocations: 0.6814 MB / 0.6748 GB, free: 9.988 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002506/0.1689, allocations: 1.674 MB / 0.6764 GB, free: 8.309 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006004/0.1695, allocations: 237.2 kB / 0.6767 GB, free: 8.062 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.1707, allocations: 0.6926 MB / 0.6773 GB, free: 7.367 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.1721, allocations: 0.8284 MB / 0.6782 GB, free: 6.535 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004062/0.1725, allocations: 124 kB / 0.6783 GB, free: 6.414 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008714/0.1734, allocations: 283.9 kB / 0.6785 GB, free: 6.137 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005221/0.1739, allocations: 334.6 kB / 0.6789 GB, free: 5.809 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.175, allocations: 0.668 MB / 0.6795 GB, free: 5.137 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.1777, allocations: 1.723 MB / 0.6812 GB, free: 3.406 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1777, allocations: 0 / 0.6812 GB, free: 3.406 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1777, allocations: 4 kB / 0.6812 GB, free: 3.402 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.212e-05/0.1778, allocations: 0 / 0.6812 GB, free: 3.402 MB / 478.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.01048/0.1882, allocations: 2.89 MB / 0.684 GB, free: 464 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.1883, allocations: 15.98 kB / 0.684 GB, free: 448 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003167/0.1886, allocations: 130.9 kB / 0.6842 GB, free: 308 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005543/0.1941, allocations: 0.8108 MB / 0.685 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.1963, allocations: 0.8342 MB / 0.6858 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.1967, allocations: 277.9 kB / 0.686 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.197, allocations: 84 kB / 0.6861 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.2, allocations: 1.184 MB / 0.6873 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.2, allocations: 0 / 0.6873 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.2001, allocations: 28 kB / 0.6873 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.2001, allocations: 23.94 kB / 0.6873 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.2027, allocations: 1.078 MB / 0.6884 GB, free: 11.88 MB / 494.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.007656/0.2104, allocations: 3.619 MB / 0.6919 GB, free: 8.141 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.2128, allocations: 1.014 MB / 0.6929 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.2144, allocations: 0.7072 MB / 0.6936 GB, free: 6.398 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.2146, allocations: 24.91 kB / 0.6936 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001949/0.2165, allocations: 0.888 MB / 0.6945 GB, free: 5.469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=102): time 5.1e-06/0.2165, allocations: 0 / 0.6945 GB, free: 5.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=102): time 0.2882/0.5047, allocations: 6.761 MB / 0.7011 GB, free: 34.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.5047, allocations: 115 kB / 0.7012 GB, free: 34.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.5064, allocations: 1.035 MB / 0.7022 GB, free: 34.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002581/0.5066, allocations: 47.58 kB / 0.7022 GB, free: 34.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.507, allocations: 0.5095 MB / 0.7027 GB, free: 33.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.5073, allocations: 388.9 kB / 0.7031 GB, free: 33.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000455/0.5078, allocations: 247.5 kB / 0.7034 GB, free: 33.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.5079, allocations: 356.1 kB / 0.7037 GB, free: 33.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.5094, allocations: 0.7639 MB / 0.7044 GB, free: 33.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.5112, allocations: 0.9094 MB / 0.7053 GB, free: 33.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0221/0.5333, allocations: 5.522 MB / 0.7107 GB, free: 32.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.5333, allocations: 1.125 kB / 0.7107 GB, free: 32.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01521/0.5485, allocations: 4.482 MB / 0.7151 GB, free: 31.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.997e-05/0.5486, allocations: 63.48 kB / 0.7152 GB, free: 31.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/0.5486, allocations: 3.391 kB / 0.7152 GB, free: 31.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006907/0.5555, allocations: 1.854 MB / 0.717 GB, free: 31.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.557, allocations: 249.7 kB / 0.7172 GB, free: 31.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02044/0.5774, allocations: 9.374 MB / 0.7264 GB, free: 26.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.5792, allocations: 192.9 kB / 0.7265 GB, free: 26.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.5794, allocations: 48.05 kB / 0.7266 GB, free: 26.05 MB / 494.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.0005204/0.5799, allocations: 295.9 kB / 0.7269 GB, free: 25.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.5801, allocations: 136.4 kB / 0.727 GB, free: 25.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.5928, allocations: 4.154 MB / 0.7311 GB, free: 23.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.5928, allocations: 10.41 kB / 0.7311 GB, free: 23.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5928, allocations: 1.656 kB / 0.7311 GB, free: 23.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.192e-05/0.5928, allocations: 3.984 kB / 0.7311 GB, free: 23.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.6068, allocations: 5.901 MB / 0.7368 GB, free: 19.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.6068, allocations: 3.938 kB / 0.7368 GB, free: 19.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.6075, allocations: 111 kB / 0.7369 GB, free: 19.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005378/0.6129, allocations: 1.825 MB / 0.7387 GB, free: 18.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.613, allocations: 22.23 kB / 0.7388 GB, free: 18.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/0.6313, allocations: 10.13 MB / 0.7486 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6313, allocations: 2.844 kB / 0.7486 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/0.6446, allocations: 5.106 MB / 0.7536 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.645, allocations: 150.9 kB / 0.7538 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.6452, allocations: 16 kB / 0.7538 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.6464, allocations: 115.9 kB / 0.7539 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005988/0.647, allocations: 224.5 kB / 0.7541 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/0.647, allocations: 24 kB / 0.7541 GB, free: 2.691 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008408/0.6479, allocations: 0.7071 MB / 0.7548 GB, free: 1.977 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6479, allocations: 0 / 0.7548 GB, free: 1.977 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001243/0.6491, allocations: 491.6 kB / 0.7553 GB, free: 1.496 MB / 494.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.01548/0.6646, allocations: 5.682 MB / 0.7608 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007232/0.6718, allocations: 2.571 MB / 0.7634 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.6718, allocations: 0.5625 kB / 0.7634 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005094/0.6769, allocations: 1.738 MB / 0.7651 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009986/0.6779, allocations: 118.6 kB / 0.7652 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04237/0.7203, allocations: 16.57 MB / 0.7813 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008476/0.7212, allocations: 1.131 MB / 0.7825 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005365/0.7217, allocations: 111.9 kB / 0.7826 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/0.7224, allocations: 475.3 kB / 0.783 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of SimCode: time 8.71e-07/0.7224, allocations: 0 / 0.783 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08991/0.8123, allocations: 38.78 MB / 0.8209 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/16.21, allocations: 9.344 kB / 0.8209 GB, free: 14.2 MB / 0.5606 GB " [Timeout remaining time 644] (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 --stepSize=0.024 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.728858914924785] Failed to read output from testmodel.py, exit status != 0: 16.344409046927467 16.362161933 16.181197298 Calling exit ...