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.001381/0.001381, 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.424/1.424, allocations: 230.6 MB / 252.7 MB, free: 8.285 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.00234/0.00234, allocations: 217.9 kB / 309.2 MB, free: 3.133 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.4912/0.4912, allocations: 79.73 MB / 445.4 MB, free: 14.84 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.002463/0.002463, allocations: 83.88 kB / 0.5929 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1611, allocations: 73.3 MB / 0.6645 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.008482/0.1696, allocations: 6.697 MB / 0.671 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004877/0.1745, allocations: 2.087 MB / 0.6731 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008596/0.1754, allocations: 15.94 kB / 0.6731 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008398/0.1762, allocations: 245.9 kB / 0.6733 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.1785, allocations: 0.8365 MB / 0.6741 GB, free: 10.62 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.18, allocations: 0.6735 MB / 0.6748 GB, free: 9.949 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002071/0.1821, allocations: 1.674 MB / 0.6764 GB, free: 8.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000439/0.1825, allocations: 241.2 kB / 0.6767 GB, free: 8.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009776/0.1835, allocations: 0.6887 MB / 0.6773 GB, free: 7.328 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.1846, allocations: 0.8245 MB / 0.6781 GB, free: 6.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.1847, allocations: 124 kB / 0.6783 GB, free: 6.379 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005825/0.1853, allocations: 287.8 kB / 0.6785 GB, free: 6.098 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003096/0.1856, allocations: 322.6 kB / 0.6788 GB, free: 5.781 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000641/0.1863, allocations: 0.6796 MB / 0.6795 GB, free: 5.098 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.1883, allocations: 1.723 MB / 0.6812 GB, free: 3.367 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1883, allocations: 0 / 0.6812 GB, free: 3.367 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1883, allocations: 0 / 0.6812 GB, free: 3.367 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.1883, allocations: 0 / 0.6812 GB, free: 3.367 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.009473/0.1978, allocations: 2.89 MB / 0.684 GB, free: 428 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.1978, allocations: 19.98 kB / 0.684 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.198, allocations: 134.9 kB / 0.6842 GB, free: 264 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/0.2031, allocations: 0.8108 MB / 0.685 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.2049, allocations: 0.8342 MB / 0.6858 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/0.2052, allocations: 277.9 kB / 0.686 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.2054, allocations: 84 kB / 0.6861 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.2078, allocations: 1.18 MB / 0.6873 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.2078, allocations: 0 / 0.6873 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.947e-05/0.2079, allocations: 35.98 kB / 0.6873 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.2079, allocations: 20 kB / 0.6873 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.2103, allocations: 1.074 MB / 0.6884 GB, free: 11.85 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.006861/0.2172, allocations: 3.619 MB / 0.6919 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.2195, allocations: 1.021 MB / 0.6929 GB, free: 7.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.2211, allocations: 0.7033 MB / 0.6936 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.2212, allocations: 16.94 kB / 0.6936 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00183/0.223, allocations: 0.888 MB / 0.6945 GB, free: 5.441 MB / 494.1 MB Notification: Performance of pre-optimization done (n=102): time 2.445e-06/0.223, allocations: 0 / 0.6945 GB, free: 5.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=102): time 0.3235/0.5465, allocations: 6.764 MB / 0.7011 GB, free: 34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.5465, allocations: 118.3 kB / 0.7012 GB, free: 33.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.5483, allocations: 1.032 MB / 0.7022 GB, free: 33.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002957/0.5486, allocations: 46.56 kB / 0.7022 GB, free: 33.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.549, allocations: 0.5054 MB / 0.7027 GB, free: 33.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003833/0.5494, allocations: 388.3 kB / 0.7031 GB, free: 33.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004958/0.5499, allocations: 248.7 kB / 0.7033 GB, free: 33.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.55, allocations: 357.8 kB / 0.7037 GB, free: 33.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.5517, allocations: 0.7622 MB / 0.7044 GB, free: 33.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.5536, allocations: 0.9128 MB / 0.7053 GB, free: 33.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02243/0.576, allocations: 5.524 MB / 0.7107 GB, free: 32.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.576, allocations: 0 / 0.7107 GB, free: 32.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01505/0.5911, allocations: 4.485 MB / 0.7151 GB, free: 31.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/0.5911, allocations: 59.22 kB / 0.7152 GB, free: 31.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.5912, allocations: 2.375 kB / 0.7152 GB, free: 31.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006735/0.5979, allocations: 1.857 MB / 0.717 GB, free: 30.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.5993, allocations: 251.6 kB / 0.7172 GB, free: 30.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/0.6198, allocations: 9.367 MB / 0.7264 GB, free: 25.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.6217, allocations: 202.4 kB / 0.7265 GB, free: 25.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.6218, allocations: 52.64 kB / 0.7266 GB, free: 25.73 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.0005376/0.6224, allocations: 289.7 kB / 0.7269 GB, free: 25.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.6226, allocations: 131.3 kB / 0.727 GB, free: 25.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/0.635, allocations: 4.155 MB / 0.7311 GB, free: 23.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.635, allocations: 10.84 kB / 0.7311 GB, free: 23.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.635, allocations: 3.828 kB / 0.7311 GB, free: 23.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/0.6351, allocations: 9.281 kB / 0.7311 GB, free: 23.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.6498, allocations: 5.895 MB / 0.7368 GB, free: 19.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.6498, allocations: 2.297 kB / 0.7368 GB, free: 19.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007424/0.6506, allocations: 106.5 kB / 0.7369 GB, free: 19.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005529/0.6561, allocations: 1.836 MB / 0.7387 GB, free: 18.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/0.6563, allocations: 22.25 kB / 0.7388 GB, free: 18.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/0.6749, allocations: 10.11 MB / 0.7486 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.675, allocations: 0 / 0.7486 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/0.6884, allocations: 5.116 MB / 0.7536 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/0.6889, allocations: 153.6 kB / 0.7538 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.6891, allocations: 20 kB / 0.7538 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.6902, allocations: 115.9 kB / 0.7539 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005907/0.6908, allocations: 224.2 kB / 0.7541 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.365e-05/0.6909, allocations: 28 kB / 0.7541 GB, free: 2.398 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008836/0.6918, allocations: 0.7071 MB / 0.7548 GB, free: 1.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6918, allocations: 0 / 0.7548 GB, free: 1.684 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001368/0.6932, allocations: 480.9 kB / 0.7553 GB, free: 1.227 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.01549/0.7086, allocations: 5.702 MB / 0.7609 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008086/0.7167, allocations: 2.552 MB / 0.7634 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.7167, allocations: 3.938 kB / 0.7634 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005365/0.7221, allocations: 1.739 MB / 0.7651 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.7238, allocations: 114.7 kB / 0.7652 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04799/0.7718, allocations: 16.58 MB / 0.7813 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.7729, allocations: 1.132 MB / 0.7825 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000657/0.7736, allocations: 107.9 kB / 0.7826 GB, free: 5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008364/0.7744, allocations: 475.3 kB / 0.783 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.7744, allocations: 4 kB / 0.783 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09819/0.8726, allocations: 38.77 MB / 0.8209 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.57, allocations: 5.484 kB / 0.8209 GB, free: 13.94 MB / 0.5606 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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: 20.36694873599845] Failed to read output from testmodel.py, exit status != 0: 16.700535659998422 16.730371006 16.536330544 Calling exit ...