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.001287/0.001287, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.506/1.506, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.00153/0.00153, allocations: 215.7 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.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.6406/0.6406, allocations: 107.2 MB / 472.8 MB, free: 29.91 MB / 350.1 MB " [Timeout remaining time 179] 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: 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.002523/0.002523, allocations: 89.3 kB / 0.633 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1416, allocations: 80.16 MB / 0.7113 GB, free: 7.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.007727/0.1493, allocations: 5.872 MB / 0.717 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00431/0.1536, allocations: 2.005 MB / 0.719 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006249/0.1542, allocations: 15.94 kB / 0.719 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000708/0.1549, allocations: 237.9 kB / 0.7192 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.1572, allocations: 0.8079 MB / 0.72 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.159, allocations: 0.6707 MB / 0.7207 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00212/0.1611, allocations: 1.659 MB / 0.7223 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004335/0.1616, allocations: 225.2 kB / 0.7225 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009952/0.1626, allocations: 0.6926 MB / 0.7232 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.1636, allocations: 0.7619 MB / 0.7239 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.1638, allocations: 128 kB / 0.7241 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005814/0.1644, allocations: 271.9 kB / 0.7243 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.1647, allocations: 326.7 kB / 0.7246 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005763/0.1653, allocations: 0.5554 MB / 0.7252 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00206/0.1673, allocations: 1.735 MB / 0.7269 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1673, allocations: 0 / 0.7269 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1673, allocations: 0 / 0.7269 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.05e-05/0.1674, allocations: 4 kB / 0.7269 GB, free: 7.707 MB / 0.4981 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.009637/0.177, allocations: 2.89 MB / 0.7297 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1771, allocations: 12.03 kB / 0.7297 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000172/0.1772, allocations: 130.9 kB / 0.7298 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005232/0.1825, allocations: 0.8069 MB / 0.7306 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.1844, allocations: 0.8342 MB / 0.7314 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/0.1847, allocations: 281.9 kB / 0.7317 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.1849, allocations: 87.98 kB / 0.7318 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.1874, allocations: 1.197 MB / 0.733 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.1875, allocations: 4 kB / 0.733 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.1876, allocations: 32 kB / 0.733 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.1876, allocations: 23.94 kB / 0.733 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.1901, allocations: 1.095 MB / 0.7341 GB, free: 148 kB / 0.4981 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.00669/0.1968, allocations: 2.877 MB / 0.7369 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.1993, allocations: 1.048 MB / 0.7379 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.2009, allocations: 0.7304 MB / 0.7386 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.201, allocations: 17 kB / 0.7386 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001935/0.203, allocations: 0.917 MB / 0.7395 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=102): time 3.566e-06/0.203, allocations: 0 / 0.7395 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=102): time 0.02826/0.2312, allocations: 6.82 MB / 0.7462 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.2313, allocations: 119.8 kB / 0.7463 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.2331, allocations: 1.035 MB / 0.7473 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002757/0.2334, allocations: 45.7 kB / 0.7474 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.2339, allocations: 0.5093 MB / 0.7479 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005022/0.2344, allocations: 388.7 kB / 0.7482 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005017/0.2349, allocations: 247.5 kB / 0.7485 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.2351, allocations: 357.9 kB / 0.7488 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.2369, allocations: 0.8154 MB / 0.7496 GB, free: 24 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/0.2389, allocations: 0.9657 MB / 0.7506 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02264/0.2615, allocations: 5.527 MB / 0.756 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.2615, allocations: 3.938 kB / 0.756 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.0153/0.2768, allocations: 4.538 MB / 0.7604 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-05/0.2769, allocations: 63.34 kB / 0.7605 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.2769, allocations: 0 / 0.7605 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007238/0.2841, allocations: 1.858 MB / 0.7623 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.2855, allocations: 251.6 kB / 0.7625 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/0.3096, allocations: 9.152 MB / 0.7714 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.3115, allocations: 195.2 kB / 0.7716 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.3117, allocations: 47.98 kB / 0.7717 GB, free: 9.121 MB / 0.545 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.00063/0.3123, allocations: 301.6 kB / 0.772 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.3126, allocations: 127.2 kB / 0.7721 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/0.3274, allocations: 4.179 MB / 0.7762 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/0.3274, allocations: 12 kB / 0.7762 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3274, allocations: 3.938 kB / 0.7762 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.316e-05/0.3274, allocations: 7.969 kB / 0.7762 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/0.3439, allocations: 5.36 MB / 0.7814 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.3439, allocations: 0 / 0.7814 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/0.3447, allocations: 107.8 kB / 0.7815 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006634/0.3513, allocations: 1.82 MB / 0.7833 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002147/0.3515, allocations: 23.98 kB / 0.7833 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02456/0.3761, allocations: 9.905 MB / 0.793 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3761, allocations: 0 / 0.793 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01697/0.393, allocations: 5.156 MB / 0.798 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005337/0.3936, allocations: 150.9 kB / 0.7982 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003946/0.394, allocations: 24.03 kB / 0.7982 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.3955, allocations: 119.8 kB / 0.7983 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007769/0.3963, allocations: 216.6 kB / 0.7985 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.3964, allocations: 27.98 kB / 0.7985 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00144/0.3978, allocations: 0.7032 MB / 0.7992 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3978, allocations: 0 / 0.7992 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001926/0.3998, allocations: 487.6 kB / 0.7997 GB, free: 12 MB / 0.5762 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.01764/0.4174, allocations: 5.754 MB / 0.8053 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008346/0.4258, allocations: 2.641 MB / 0.8079 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4258, allocations: 3.938 kB / 0.8079 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005692/0.4315, allocations: 1.759 MB / 0.8096 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.4328, allocations: 113.5 kB / 0.8097 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3397/0.7725, allocations: 16.82 MB / 0.8262 GB, free: 91.24 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.7731, allocations: 0.5336 MB / 0.8267 GB, free: 91.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005306/0.7736, allocations: 108.3 kB / 0.8268 GB, free: 91.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/0.7742, allocations: 478.3 kB / 0.8272 GB, free: 90.73 MB / 0.5762 GB Notification: Performance of SimCode: time 1.323e-06/0.7742, allocations: 0 / 0.8272 GB, free: 90.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0738/0.848, allocations: 39.59 MB / 0.8659 GB, free: 59.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.35, allocations: 3.938 kB / 0.8659 GB, free: 59.06 MB / 0.5762 GB " [Timeout remaining time 645] (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: 19.326837019994855] Failed to read output from testmodel.py, exit status != 0: 15.497977960389107 15.51456578 15.343870065 Calling exit ...