Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.001606/0.001606, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.501/1.501, allocations: 230.6 MB / 252.7 MB, free: 8.062 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.001548/0.001548, allocations: 210.2 kB / 309.2 MB, free: 2.941 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.608/0.608, allocations: 107.3 MB / 473 MB, free: 4.402 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.002727/0.002727, allocations: 87.88 kB / 0.6332 GB, free: 4.926 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4492, allocations: 80.17 MB / 0.7115 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00546/0.4547, allocations: 5.068 MB / 0.7165 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004149/0.4588, allocations: 1.696 MB / 0.7181 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008002/0.4596, allocations: 11.81 kB / 0.7181 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005648/0.4602, allocations: 198.2 kB / 0.7183 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.4623, allocations: 0.7163 MB / 0.719 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.4638, allocations: 0.5482 MB / 0.7196 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.4655, allocations: 1.232 MB / 0.7208 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.4658, allocations: 176.9 kB / 0.7209 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007445/0.4666, allocations: 0.5413 MB / 0.7215 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007426/0.4673, allocations: 0.5884 MB / 0.722 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.4674, allocations: 87.88 kB / 0.7221 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.468, allocations: 230.5 kB / 0.7223 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.4682, allocations: 234.4 kB / 0.7226 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.4686, allocations: 448.1 kB / 0.723 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.4703, allocations: 1.376 MB / 0.7243 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4703, allocations: 0 / 0.7243 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4703, allocations: 0 / 0.7243 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.425e-05/0.4704, allocations: 0 / 0.7243 GB, free: 12.37 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.008031/0.4784, allocations: 2.304 MB / 0.7266 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4784, allocations: 9.469 kB / 0.7266 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.4786, allocations: 120.4 kB / 0.7267 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005166/0.4838, allocations: 0.756 MB / 0.7274 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.4852, allocations: 0.6465 MB / 0.7281 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/0.4856, allocations: 298.4 kB / 0.7284 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.4858, allocations: 72.09 kB / 0.7284 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.4881, allocations: 0.9457 MB / 0.7294 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.4881, allocations: 3.938 kB / 0.7294 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.263e-05/0.4882, allocations: 29.72 kB / 0.7294 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.4882, allocations: 15.16 kB / 0.7294 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.4906, allocations: 0.9638 MB / 0.7303 GB, free: 9.68 MB / 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.005785/0.4964, allocations: 2.331 MB / 0.7326 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.4983, allocations: 0.7867 MB / 0.7334 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.4998, allocations: 0.623 MB / 0.734 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.861e-05/0.4999, allocations: 9.312 kB / 0.734 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.852e-05/0.4999, allocations: 43.36 kB / 0.734 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=81): time 2.866e-06/0.4999, allocations: 0 / 0.734 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.02793/0.5278, allocations: 6.591 MB / 0.7405 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.5279, allocations: 76.14 kB / 0.7406 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.5296, allocations: 0.7826 MB / 0.7413 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002866/0.5299, allocations: 41.11 kB / 0.7414 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004972/0.5304, allocations: 439.1 kB / 0.7418 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005697/0.531, allocations: 298.7 kB / 0.7421 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005136/0.5315, allocations: 173.4 kB / 0.7422 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.5317, allocations: 342.8 kB / 0.7426 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.5334, allocations: 0.643 MB / 0.7432 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.5352, allocations: 0.7631 MB / 0.7439 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01955/0.5548, allocations: 4.569 MB / 0.7484 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.5548, allocations: 0 / 0.7484 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01417/0.5689, allocations: 4.009 MB / 0.7523 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.569, allocations: 6.031 kB / 0.7523 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.569, allocations: 4 kB / 0.7523 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00674/0.5757, allocations: 1.858 MB / 0.7541 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000912/0.5766, allocations: 163.7 kB / 0.7543 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02377/0.6004, allocations: 8.805 MB / 0.7629 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.6021, allocations: 155.2 kB / 0.763 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/0.6024, allocations: 35.98 kB / 0.7631 GB, free: 2.055 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order21.delta:VARIABLE(flow=false start = order21.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * 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 {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0006888/0.6031, allocations: 229.5 kB / 0.7633 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/0.6034, allocations: 103.3 kB / 0.7634 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/0.6173, allocations: 3.789 MB / 0.7671 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.6174, allocations: 12 kB / 0.7671 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6174, allocations: 0 / 0.7671 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.6174, allocations: 3.984 kB / 0.7671 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/0.6341, allocations: 4.692 MB / 0.7717 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.6341, allocations: 3.938 kB / 0.7717 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/0.6347, allocations: 95.83 kB / 0.7718 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006671/0.6414, allocations: 1.738 MB / 0.7735 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002726/0.6417, allocations: 16 kB / 0.7735 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02166/0.6633, allocations: 7.786 MB / 0.7811 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6633, allocations: 0 / 0.7811 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/0.6794, allocations: 4.662 MB / 0.7856 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.6798, allocations: 123.2 kB / 0.7858 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/0.6801, allocations: 12 kB / 0.7858 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.6812, allocations: 87.89 kB / 0.7859 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007312/0.6819, allocations: 208.6 kB / 0.7861 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.801e-05/0.682, allocations: 24 kB / 0.7861 GB, free: 10.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009295/0.683, allocations: 0.5303 MB / 0.7866 GB, free: 9.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.683, allocations: 0 / 0.7866 GB, free: 9.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001623/0.6846, allocations: 407.7 kB / 0.787 GB, free: 9.32 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01693/0.7015, allocations: 5.23 MB / 0.7921 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007769/0.7093, allocations: 2.196 MB / 0.7942 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.7093, allocations: 3.938 kB / 0.7942 GB, free: 1.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005264/0.7146, allocations: 1.435 MB / 0.7956 GB, free: 412 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.7158, allocations: 79.3 kB / 0.7957 GB, free: 336 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04081/0.7566, allocations: 13.93 MB / 0.8093 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.7572, allocations: 441.8 kB / 0.8098 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004337/0.7576, allocations: 78.19 kB / 0.8098 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006455/0.7583, allocations: 379.3 kB / 0.8102 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/0.7583, allocations: 0 / 0.8102 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07993/0.8382, allocations: 32.71 MB / 0.8421 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.85, allocations: 15.42 kB / 0.8421 GB, free: 0.7227 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.472134788054973] Failed to read output from testmodel.py, exit status != 0: 14.991812828928232 15.021057565 14.545053744 Calling exit ...