Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.001353/0.001353, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.43/1.43, allocations: 230.6 MB / 252.6 MB, free: 8.324 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.001602/0.001602, allocations: 225.4 kB / 309.2 MB, free: 3.16 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.5564/0.5564, allocations: 101.3 MB / 467 MB, free: 10.36 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.002663/0.002663, allocations: 93.72 kB / 0.6244 GB, free: 12.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4544, allocations: 78.61 MB / 0.7012 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006775/0.4612, allocations: 5.876 MB / 0.7069 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003544/0.4647, allocations: 1.829 MB / 0.7087 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007296/0.4654, allocations: 13.69 kB / 0.7087 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.4659, allocations: 208.3 kB / 0.7089 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.4675, allocations: 0.7561 MB / 0.7097 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.4686, allocations: 0.5657 MB / 0.7102 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.4699, allocations: 1.27 MB / 0.7115 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.4702, allocations: 190.2 kB / 0.7116 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005695/0.4708, allocations: 0.538 MB / 0.7122 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005999/0.4714, allocations: 0.6499 MB / 0.7128 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.4715, allocations: 87.22 kB / 0.7129 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.472, allocations: 240.9 kB / 0.7131 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.4721, allocations: 244.3 kB / 0.7134 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.4725, allocations: 0.5469 MB / 0.7139 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.4739, allocations: 1.373 MB / 0.7152 GB, free: 248 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4739, allocations: 0.6562 kB / 0.7152 GB, free: 248 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4739, allocations: 0 / 0.7152 GB, free: 248 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.701e-05/0.474, allocations: 0 / 0.7152 GB, free: 248 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007769/0.4817, allocations: 2.329 MB / 0.7175 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4818, allocations: 8.688 kB / 0.7175 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.4819, allocations: 112.6 kB / 0.7176 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004772/0.4867, allocations: 0.7696 MB / 0.7184 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.488, allocations: 0.6466 MB / 0.719 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003319/0.4884, allocations: 304 kB / 0.7193 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.4885, allocations: 69.09 kB / 0.7194 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.4905, allocations: 0.9667 MB / 0.7203 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4906, allocations: 0 / 0.7203 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.4906, allocations: 25.25 kB / 0.7203 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.4907, allocations: 15.75 kB / 0.7203 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.4928, allocations: 0.9738 MB / 0.7213 GB, free: 13.52 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.006432/0.4992, allocations: 3.162 MB / 0.7244 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.5012, allocations: 0.7836 MB / 0.7251 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.5026, allocations: 0.6295 MB / 0.7258 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.5028, allocations: 15.12 kB / 0.7258 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.5028, allocations: 39.97 kB / 0.7258 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=83): time 2.685e-06/0.5028, allocations: 0 / 0.7258 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=83): time 0.02993/0.5327, allocations: 6.362 MB / 0.732 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.5328, allocations: 64.78 kB / 0.7321 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.5345, allocations: 0.7978 MB / 0.7329 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002764/0.5348, allocations: 44.48 kB / 0.7329 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.5352, allocations: 439.3 kB / 0.7333 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000642/0.5358, allocations: 314 kB / 0.7336 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000663/0.5365, allocations: 191.5 kB / 0.7338 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000233/0.5367, allocations: 347 kB / 0.7341 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/0.5394, allocations: 0.6593 MB / 0.7348 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/0.5419, allocations: 0.7807 MB / 0.7355 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02808/0.57, allocations: 4.621 MB / 0.7401 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.57, allocations: 1.531 kB / 0.7401 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01421/0.5842, allocations: 4.042 MB / 0.744 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.5843, allocations: 6.906 kB / 0.744 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.5843, allocations: 6.469 kB / 0.744 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006229/0.5905, allocations: 1.736 MB / 0.7457 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.5916, allocations: 190 kB / 0.7459 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02329/0.6149, allocations: 8.96 MB / 0.7546 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.6165, allocations: 155.3 kB / 0.7548 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.6166, allocations: 32 kB / 0.7548 GB, free: 9.258 MB / 0.5137 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (101): * Single equations (assignments): 100 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005489/0.6171, allocations: 237.5 kB / 0.7551 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.6173, allocations: 107.3 kB / 0.7552 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/0.6308, allocations: 3.786 MB / 0.7589 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.6308, allocations: 11.94 kB / 0.7589 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6308, allocations: 0 / 0.7589 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.172e-05/0.6309, allocations: 3.984 kB / 0.7589 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.6465, allocations: 5.278 MB / 0.764 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.6465, allocations: 0 / 0.764 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.6471, allocations: 91.89 kB / 0.7641 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006212/0.6533, allocations: 1.737 MB / 0.7658 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.6535, allocations: 16 kB / 0.7658 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01976/0.6732, allocations: 7.965 MB / 0.7736 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6732, allocations: 4 kB / 0.7736 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/0.6887, allocations: 4.67 MB / 0.7782 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.6891, allocations: 115.1 kB / 0.7783 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.6893, allocations: 16 kB / 0.7783 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009535/0.6903, allocations: 91.89 kB / 0.7784 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006443/0.6909, allocations: 212.6 kB / 0.7786 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.691, allocations: 16 kB / 0.7786 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007398/0.6917, allocations: 0.5342 MB / 0.7791 GB, free: 76 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6917, allocations: 0 / 0.7791 GB, free: 76 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00124/0.6929, allocations: 411.7 kB / 0.7795 GB, free: 15.67 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * 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.01571/0.7087, allocations: 5.238 MB / 0.7846 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006679/0.7153, allocations: 2.199 MB / 0.7868 GB, free: 8.184 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.7153, allocations: 4 kB / 0.7868 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004918/0.7203, allocations: 1.456 MB / 0.7882 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.7213, allocations: 80.22 kB / 0.7883 GB, free: 6.637 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03768/0.7589, allocations: 14.12 MB / 0.8021 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007132/0.7597, allocations: 1.033 MB / 0.8031 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003347/0.76, allocations: 82.28 kB / 0.8031 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/0.7605, allocations: 375.3 kB / 0.8035 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.7605, allocations: 0 / 0.8035 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07388/0.8344, allocations: 32.14 MB / 0.8349 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/17.66, allocations: 3.562 kB / 0.8349 GB, free: 6.805 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.1972452029986] Failed to read output from testmodel.py, exit status != 0: 17.794151709997095 17.821024482 17.341863801 Calling exit ...