Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.001859/0.001859, 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.528/1.528, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001659/0.001659, allocations: 210.5 kB / 309.2 MB, free: 3.121 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.6158/0.6158, allocations: 107.2 MB / 472.8 MB, free: 29.88 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.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.002522/0.002522, allocations: 92.73 kB / 0.633 GB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1545, allocations: 80.14 MB / 0.7113 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.007372/0.1619, allocations: 5.119 MB / 0.7163 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005112/0.167, allocations: 1.704 MB / 0.718 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.1681, allocations: 11.94 kB / 0.718 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000785/0.1689, allocations: 202.3 kB / 0.7182 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.1716, allocations: 0.7218 MB / 0.7189 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.1732, allocations: 0.5503 MB / 0.7194 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.1751, allocations: 1.257 MB / 0.7206 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003962/0.1755, allocations: 183.5 kB / 0.7208 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007758/0.1763, allocations: 0.5368 MB / 0.7213 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000747/0.177, allocations: 0.5986 MB / 0.7219 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.1772, allocations: 88 kB / 0.722 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.1777, allocations: 223.9 kB / 0.7222 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.1779, allocations: 242.9 kB / 0.7225 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004005/0.1783, allocations: 453.4 kB / 0.7229 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.1798, allocations: 1.389 MB / 0.7242 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1798, allocations: 0 / 0.7242 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1798, allocations: 0 / 0.7242 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.1798, allocations: 4 kB / 0.7243 GB, free: 10.38 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007666/0.1875, allocations: 2.335 MB / 0.7265 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.1875, allocations: 12.03 kB / 0.7265 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.1877, allocations: 110.5 kB / 0.7266 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/0.1928, allocations: 0.7641 MB / 0.7274 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.1943, allocations: 0.6491 MB / 0.728 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000369/0.1946, allocations: 307.6 kB / 0.7283 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.1948, allocations: 64 kB / 0.7284 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.1971, allocations: 0.9559 MB / 0.7293 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1972, allocations: 0 / 0.7293 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.78e-05/0.1972, allocations: 32 kB / 0.7293 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.1973, allocations: 16 kB / 0.7294 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.1996, allocations: 0.9682 MB / 0.7303 GB, free: 4.035 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.005599/0.2052, allocations: 2.37 MB / 0.7326 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.2071, allocations: 0.7693 MB / 0.7334 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.2085, allocations: 0.6296 MB / 0.734 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.645e-05/0.2086, allocations: 8.656 kB / 0.734 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.2087, allocations: 43.2 kB / 0.734 GB, free: 160 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.2087, allocations: 4 kB / 0.734 GB, free: 156 kB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.02872/0.2374, allocations: 6.655 MB / 0.7405 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.2374, allocations: 64 kB / 0.7406 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.2389, allocations: 0.7986 MB / 0.7414 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.2391, allocations: 41.7 kB / 0.7414 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/0.2396, allocations: 441 kB / 0.7418 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.2401, allocations: 305.4 kB / 0.7421 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004858/0.2406, allocations: 182.9 kB / 0.7423 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2407, allocations: 345.9 kB / 0.7426 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.2424, allocations: 0.6506 MB / 0.7433 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.2442, allocations: 0.7795 MB / 0.744 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01959/0.2638, allocations: 4.606 MB / 0.7485 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.2638, allocations: 0 / 0.7485 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01476/0.2785, allocations: 4.094 MB / 0.7525 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.2786, allocations: 4 kB / 0.7525 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.2786, allocations: 4 kB / 0.7525 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006834/0.2854, allocations: 1.788 MB / 0.7543 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/0.2863, allocations: 171.7 kB / 0.7544 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02497/0.3113, allocations: 9.018 MB / 0.7633 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.3131, allocations: 151.3 kB / 0.7634 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/0.3134, allocations: 39.98 kB / 0.7634 GB, free: 1.758 MB / 0.5294 GB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006957/0.3141, allocations: 230.8 kB / 0.7637 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.3145, allocations: 103.3 kB / 0.7638 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/0.3284, allocations: 3.801 MB / 0.7675 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.3284, allocations: 11.98 kB / 0.7675 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3284, allocations: 0 / 0.7675 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.3284, allocations: 3.984 kB / 0.7675 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/0.344, allocations: 4.731 MB / 0.7721 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.344, allocations: 0 / 0.7721 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.3446, allocations: 91.83 kB / 0.7722 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006449/0.351, allocations: 1.738 MB / 0.7739 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/0.3512, allocations: 19.98 kB / 0.7739 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02088/0.3721, allocations: 7.767 MB / 0.7815 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3721, allocations: 3.938 kB / 0.7815 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/0.3881, allocations: 4.682 MB / 0.7861 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.3885, allocations: 119.1 kB / 0.7862 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.3887, allocations: 15.98 kB / 0.7862 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.3897, allocations: 87.91 kB / 0.7863 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006532/0.3904, allocations: 212.6 kB / 0.7865 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-05/0.3904, allocations: 20 kB / 0.7865 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008486/0.3913, allocations: 0.5383 MB / 0.787 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3913, allocations: 0 / 0.787 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001427/0.3927, allocations: 407.7 kB / 0.7874 GB, free: 8.941 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.01625/0.409, allocations: 5.261 MB / 0.7926 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007269/0.4162, allocations: 2.226 MB / 0.7947 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4162, allocations: 0 / 0.7947 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004976/0.4212, allocations: 1.433 MB / 0.7961 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/0.4221, allocations: 87.27 kB / 0.7962 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/0.4612, allocations: 14.14 MB / 0.81 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.4617, allocations: 442.2 kB / 0.8104 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003217/0.462, allocations: 74.31 kB / 0.8105 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/0.4626, allocations: 367.3 kB / 0.8109 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.4626, allocations: 0 / 0.8109 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3916/0.8542, allocations: 33.13 MB / 0.8432 GB, free: 81.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.94, allocations: 5.703 kB / 0.8432 GB, free: 81.96 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.89572387514636] Failed to read output from testmodel.py, exit status != 0: 15.069192375056446 15.080126623 14.897956621 Calling exit ...