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.0007112/0.0007112, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.8299/0.8299, allocations: 177.1 MB / 199.4 MB, free: 5.957 MB / 186.7 MB " [Timeout remaining time 179] 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.0009841/0.0009841, allocations: 156.6 kB / 256 MB, free: 13.36 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2645/0.2645, allocations: 80.25 MB / 392.6 MB, free: 2.469 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.5548 GB, free: 12.75 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.542e-05, allocations: 4.812 kB / 0.5548 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.004301/0.004316, allocations: 5.878 MB / 0.5605 GB, free: 6.832 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.006527, allocations: 1.997 MB / 0.5625 GB, free: 4.832 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.006816, allocations: 19.94 kB / 0.5625 GB, free: 4.812 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.007283, allocations: 241.8 kB / 0.5627 GB, free: 4.574 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009973/0.00828, allocations: 0.8337 MB / 0.5635 GB, free: 3.738 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.009026, allocations: 0.6875 MB / 0.5642 GB, free: 3.055 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.01003, allocations: 1.638 MB / 0.5658 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.0103, allocations: 221.2 kB / 0.566 GB, free: 1.176 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000629/0.01093, allocations: 0.9389 MB / 0.5669 GB, free: 240 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004748/0.0114, allocations: 0.6426 MB / 0.5676 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.01151, allocations: 124 kB / 0.5677 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.01178, allocations: 279.7 kB / 0.5679 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.01195, allocations: 334.5 kB / 0.5683 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.01221, allocations: 466.5 kB / 0.5687 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.01324, allocations: 1.768 MB / 0.5704 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01324, allocations: 0 / 0.5704 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.01324, allocations: 4 kB / 0.5704 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.01325, allocations: 0 / 0.5704 GB, free: 12.63 MB / 0.4948 GB 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.004418/0.01767, allocations: 2.871 MB / 0.5732 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.0177, allocations: 12.03 kB / 0.5732 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.01782, allocations: 127 kB / 0.5734 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.02019, allocations: 0.8108 MB / 0.5742 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009011/0.02109, allocations: 0.8343 MB / 0.575 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.02125, allocations: 277.9 kB / 0.5752 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.02136, allocations: 84 kB / 0.5753 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.02278, allocations: 1.197 MB / 0.5765 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.0228, allocations: 0 / 0.5765 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.952e-05/0.02287, allocations: 39.94 kB / 0.5765 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.02288, allocations: 23.94 kB / 0.5765 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.02425, allocations: 1.099 MB / 0.5776 GB, free: 5.082 MB / 0.4948 GB 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.003574/0.02782, allocations: 2.877 MB / 0.5804 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.02918, allocations: 1.044 MB / 0.5815 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008701/0.03005, allocations: 0.7439 MB / 0.5822 GB, free: 356 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.809e-05/0.03012, allocations: 9 kB / 0.5822 GB, free: 348 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.03116, allocations: 0.9228 MB / 0.5831 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=102): time 2.054e-06/0.03116, allocations: 0 / 0.5831 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102): time 0.01319/0.04435, allocations: 6.824 MB / 0.5898 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.04439, allocations: 111.8 kB / 0.5899 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008467/0.04524, allocations: 1.035 MB / 0.5909 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/0.04531, allocations: 41.7 kB / 0.5909 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.04555, allocations: 0.5131 MB / 0.5914 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.04577, allocations: 384.7 kB / 0.5918 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/0.04605, allocations: 247.5 kB / 0.592 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.04614, allocations: 362 kB / 0.5924 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009857/0.04713, allocations: 0.8154 MB / 0.5932 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.0483, allocations: 0.9617 MB / 0.5941 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1721/0.2204, allocations: 5.52 MB / 0.5995 GB, free: 91.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2204, allocations: 0 / 0.5995 GB, free: 91.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.007031/0.2274, allocations: 4.539 MB / 0.6039 GB, free: 90.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.2275, allocations: 61.48 kB / 0.604 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.2275, allocations: 3.125 kB / 0.604 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003204/0.2307, allocations: 1.849 MB / 0.6058 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.2313, allocations: 251.5 kB / 0.606 GB, free: 90.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/0.2435, allocations: 9.159 MB / 0.615 GB, free: 86.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/0.2443, allocations: 202.1 kB / 0.6152 GB, free: 85.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.2444, allocations: 44.3 kB / 0.6152 GB, free: 85.95 MB / 0.5105 GB 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.0003529/0.2447, allocations: 287.4 kB / 0.6155 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.2448, allocations: 132.1 kB / 0.6156 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007328/0.2522, allocations: 4.184 MB / 0.6197 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.2522, allocations: 15.25 kB / 0.6197 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2522, allocations: 1.406 kB / 0.6197 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.2522, allocations: 4.828 kB / 0.6197 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008275/0.2605, allocations: 5.356 MB / 0.6249 GB, free: 82.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2605, allocations: 3.188 kB / 0.6249 GB, free: 82.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.2608, allocations: 108 kB / 0.625 GB, free: 82.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/0.2638, allocations: 1.818 MB / 0.6268 GB, free: 82.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.2639, allocations: 25.48 kB / 0.6268 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/0.275, allocations: 9.898 MB / 0.6365 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.275, allocations: 4.625 kB / 0.6365 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00735/0.2824, allocations: 5.16 MB / 0.6416 GB, free: 74.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.2825, allocations: 150 kB / 0.6417 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-05/0.2826, allocations: 15.88 kB / 0.6417 GB, free: 74.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/0.2832, allocations: 118.9 kB / 0.6418 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/0.2835, allocations: 223.2 kB / 0.642 GB, free: 74.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.2835, allocations: 26.09 kB / 0.6421 GB, free: 74.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005187/0.2841, allocations: 0.6991 MB / 0.6427 GB, free: 74.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.2841, allocations: 0 / 0.6427 GB, free: 74.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008546/0.2849, allocations: 496.1 kB / 0.6432 GB, free: 74 MB / 0.5105 GB 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.007519/0.2924, allocations: 5.748 MB / 0.6488 GB, free: 68.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003475/0.2959, allocations: 2.628 MB / 0.6514 GB, free: 65.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2959, allocations: 4 kB / 0.6514 GB, free: 65.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002212/0.2981, allocations: 1.755 MB / 0.6531 GB, free: 63.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.2986, allocations: 117.4 kB / 0.6532 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/0.3185, allocations: 16.66 MB / 0.6695 GB, free: 46.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3187, allocations: 0.5358 MB / 0.67 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002298/0.319, allocations: 107.9 kB / 0.6701 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.3193, allocations: 476.3 kB / 0.6706 GB, free: 45.66 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/0.3193, allocations: 4 kB / 0.6706 GB, free: 45.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.357, allocations: 39.84 MB / 0.7095 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.573, allocations: 4 kB / 0.7095 GB, free: 6.02 MB / 0.5105 GB " [Timeout remaining time 651] (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: 10.93638233654201] Failed to read output from testmodel.py, exit status != 0: 8.678397263400257 8.690248853 8.674773269 Calling exit ...