Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001393/0.001393, 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.549/1.549, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001811/0.001811, allocations: 217.4 kB / 309.2 MB, free: 3.062 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.6786/0.6786, allocations: 107.2 MB / 472.8 MB, free: 29.8 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.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_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.002581/0.002581, allocations: 82.81 kB / 0.633 GB, free: 29.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1615, allocations: 80.15 MB / 0.7113 GB, free: 7.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.007068/0.1686, allocations: 5.138 MB / 0.7163 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00403/0.1726, allocations: 1.732 MB / 0.718 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008908/0.1735, allocations: 11.94 kB / 0.718 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006448/0.1741, allocations: 210.3 kB / 0.7182 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.1764, allocations: 0.7296 MB / 0.7189 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.178, allocations: 0.5658 MB / 0.7195 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.1799, allocations: 1.26 MB / 0.7207 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004003/0.1803, allocations: 179.6 kB / 0.7209 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000857/0.1812, allocations: 0.5446 MB / 0.7214 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007652/0.1819, allocations: 0.5869 MB / 0.722 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.1821, allocations: 88 kB / 0.7221 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.1826, allocations: 231.9 kB / 0.7223 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.1829, allocations: 246.9 kB / 0.7225 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.1833, allocations: 449.5 kB / 0.723 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.185, allocations: 1.381 MB / 0.7243 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.185, allocations: 3.984 kB / 0.7243 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.185, allocations: 0 / 0.7243 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.076e-05/0.185, allocations: 0 / 0.7243 GB, free: 10.35 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.008158/0.1932, allocations: 2.327 MB / 0.7266 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1933, allocations: 8.031 kB / 0.7266 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.1934, allocations: 118.5 kB / 0.7267 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005101/0.1985, allocations: 0.768 MB / 0.7275 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.1999, allocations: 0.6452 MB / 0.7281 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004041/0.2003, allocations: 307.5 kB / 0.7284 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.2004, allocations: 71.94 kB / 0.7285 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.2027, allocations: 0.9637 MB / 0.7294 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2027, allocations: 0 / 0.7294 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.2028, allocations: 24 kB / 0.7294 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.2028, allocations: 16 kB / 0.7294 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.2051, allocations: 0.9682 MB / 0.7304 GB, free: 4.004 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.005917/0.211, allocations: 2.41 MB / 0.7327 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.2129, allocations: 0.7702 MB / 0.7335 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.2144, allocations: 0.6267 MB / 0.7341 GB, free: 148 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-05/0.2145, allocations: 16.98 kB / 0.7341 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.2145, allocations: 43.5 kB / 0.7342 GB, free: 80 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=83): time 2.835e-06/0.2145, allocations: 0 / 0.7342 GB, free: 80 kB / 0.4981 GB Notification: Performance of matching and sorting (n=83): time 0.02741/0.2419, allocations: 6.361 MB / 0.7404 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.242, allocations: 64.34 kB / 0.7404 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.2432, allocations: 0.7946 MB / 0.7412 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.2433, allocations: 41.7 kB / 0.7413 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.2437, allocations: 445 kB / 0.7417 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003526/0.2441, allocations: 305.3 kB / 0.742 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003746/0.2444, allocations: 190.9 kB / 0.7422 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.2446, allocations: 345.9 kB / 0.7425 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.2462, allocations: 0.6624 MB / 0.7431 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.2479, allocations: 0.7757 MB / 0.7439 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01986/0.2678, allocations: 4.633 MB / 0.7484 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.2678, allocations: 0 / 0.7484 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01423/0.282, allocations: 4.044 MB / 0.7524 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.282, allocations: 4 kB / 0.7524 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.2821, allocations: 8 kB / 0.7524 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006606/0.2887, allocations: 1.734 MB / 0.7541 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.2898, allocations: 183.7 kB / 0.7542 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/0.3129, allocations: 8.76 MB / 0.7628 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.3143, allocations: 159.2 kB / 0.7629 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-05/0.3144, allocations: 43.98 kB / 0.763 GB, free: 2.289 MB / 0.5294 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.0004296/0.3148, allocations: 221.6 kB / 0.7632 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.315, allocations: 107.3 kB / 0.7633 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/0.3286, allocations: 3.794 MB / 0.767 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.3287, allocations: 11.94 kB / 0.767 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3287, allocations: 4 kB / 0.767 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.3287, allocations: 3.984 kB / 0.767 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.3445, allocations: 4.716 MB / 0.7716 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.3445, allocations: 0 / 0.7716 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.3451, allocations: 91.89 kB / 0.7717 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006451/0.3515, allocations: 1.733 MB / 0.7734 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.3516, allocations: 16 kB / 0.7734 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02051/0.3721, allocations: 7.778 MB / 0.781 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3721, allocations: 0 / 0.781 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01586/0.388, allocations: 4.67 MB / 0.7856 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/0.3884, allocations: 111.2 kB / 0.7857 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.3885, allocations: 16 kB / 0.7857 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000964/0.3895, allocations: 91.89 kB / 0.7858 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007013/0.3902, allocations: 212.6 kB / 0.786 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.3903, allocations: 16 kB / 0.786 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000803/0.3911, allocations: 0.5381 MB / 0.7865 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3911, allocations: 0 / 0.7865 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001193/0.3923, allocations: 407.7 kB / 0.7869 GB, free: 9.539 MB / 0.5606 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.01647/0.4087, allocations: 5.245 MB / 0.792 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006971/0.4157, allocations: 2.199 MB / 0.7942 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4157, allocations: 0.5625 kB / 0.7942 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004832/0.4205, allocations: 1.44 MB / 0.7956 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.4213, allocations: 83.45 kB / 0.7957 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05799/0.4793, allocations: 14.13 MB / 0.8095 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/0.4801, allocations: 446.5 kB / 0.8099 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005639/0.4807, allocations: 78.31 kB / 0.81 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007829/0.4814, allocations: 371.3 kB / 0.8103 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of SimCode: time 1.664e-06/0.4814, allocations: 7.938 kB / 0.8103 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4063/0.8877, allocations: 33.04 MB / 0.8426 GB, free: 82.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.8, allocations: 6.125 kB / 0.8426 GB, free: 82.78 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.72301699174568] Failed to read output from testmodel.py, exit status != 0: 14.942099460866302 14.960747339 14.772151416 Calling exit ...