Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001875/0.001875, 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.572/1.572, 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.001545/0.001545, allocations: 220.8 kB / 309.2 MB, free: 3.137 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.6285/0.6285, allocations: 107.2 MB / 472.8 MB, free: 30.64 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.Order2test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_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.002578/0.002578, allocations: 93.8 kB / 0.6331 GB, free: 29.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1343, allocations: 80.14 MB / 0.7113 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.007679/0.142, allocations: 5.06 MB / 0.7163 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004045/0.146, allocations: 1.701 MB / 0.7179 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007834/0.1468, allocations: 8 kB / 0.7179 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.1474, allocations: 198.3 kB / 0.7181 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.1494, allocations: 0.7186 MB / 0.7188 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.1507, allocations: 0.5459 MB / 0.7193 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.1524, allocations: 1.237 MB / 0.7206 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.1529, allocations: 179.5 kB / 0.7207 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008558/0.1537, allocations: 0.5368 MB / 0.7212 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008227/0.1546, allocations: 0.5869 MB / 0.7218 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.1547, allocations: 88 kB / 0.7219 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.1553, allocations: 223.9 kB / 0.7221 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.1555, allocations: 235 kB / 0.7223 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.1559, allocations: 445.5 kB / 0.7228 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.1575, allocations: 1.381 MB / 0.7241 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1575, allocations: 0 / 0.7241 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1575, allocations: 0 / 0.7241 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.1576, allocations: 0 / 0.7241 GB, free: 10.53 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.007916/0.1655, allocations: 2.304 MB / 0.7264 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1655, allocations: 8.031 kB / 0.7264 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.1657, allocations: 122.5 kB / 0.7265 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00533/0.171, allocations: 0.7563 MB / 0.7272 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.1723, allocations: 0.6413 MB / 0.7279 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003651/0.1727, allocations: 302.9 kB / 0.7281 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.1728, allocations: 68 kB / 0.7282 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.1751, allocations: 0.9472 MB / 0.7291 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.1751, allocations: 0 / 0.7291 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/0.1752, allocations: 28 kB / 0.7292 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.1752, allocations: 16 kB / 0.7292 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.1776, allocations: 0.9654 MB / 0.7301 GB, free: 4.242 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.005642/0.1832, allocations: 2.344 MB / 0.7324 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.1852, allocations: 0.7786 MB / 0.7332 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.1867, allocations: 0.6279 MB / 0.7338 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.534e-05/0.1868, allocations: 8.656 kB / 0.7338 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.1868, allocations: 43.22 kB / 0.7338 GB, free: 388 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=81): time 3.056e-06/0.1868, allocations: 0 / 0.7338 GB, free: 388 kB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.02839/0.2152, allocations: 6.596 MB / 0.7403 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.2153, allocations: 68 kB / 0.7403 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.2165, allocations: 0.7866 MB / 0.7411 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.2167, allocations: 41.7 kB / 0.7411 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/0.2171, allocations: 437 kB / 0.7416 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.2174, allocations: 301.4 kB / 0.7418 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/0.2178, allocations: 178.6 kB / 0.742 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.218, allocations: 345.9 kB / 0.7423 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.2195, allocations: 0.6386 MB / 0.743 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.2212, allocations: 0.7704 MB / 0.7437 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01899/0.2402, allocations: 4.559 MB / 0.7482 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.2402, allocations: 0 / 0.7482 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01422/0.2545, allocations: 4.009 MB / 0.7521 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.2545, allocations: 4 kB / 0.7521 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.2545, allocations: 4 kB / 0.7521 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006662/0.2612, allocations: 1.859 MB / 0.7539 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008593/0.262, allocations: 167.7 kB / 0.7541 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/0.285, allocations: 8.807 MB / 0.7627 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.2864, allocations: 155.2 kB / 0.7628 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/0.2865, allocations: 32 kB / 0.7629 GB, free: 2.383 MB / 0.5294 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.0004381/0.2869, allocations: 226.8 kB / 0.7631 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.2871, allocations: 103.3 kB / 0.7632 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/0.3009, allocations: 3.793 MB / 0.7669 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.3009, allocations: 8 kB / 0.7669 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3009, allocations: 0 / 0.7669 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/0.301, allocations: 3.984 kB / 0.7669 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.3164, allocations: 4.692 MB / 0.7715 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.3164, allocations: 7.938 kB / 0.7715 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.317, allocations: 99.75 kB / 0.7716 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006475/0.3235, allocations: 1.738 MB / 0.7733 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/0.3237, allocations: 16 kB / 0.7733 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/0.3438, allocations: 7.767 MB / 0.7809 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.3438, allocations: 7.922 kB / 0.7809 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/0.3597, allocations: 4.662 MB / 0.7854 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004103/0.3601, allocations: 119.1 kB / 0.7855 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/0.3604, allocations: 16 kB / 0.7856 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.3615, allocations: 91.83 kB / 0.7856 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006954/0.3622, allocations: 208.6 kB / 0.7858 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.876e-05/0.3623, allocations: 24.06 kB / 0.7859 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008679/0.3632, allocations: 0.5264 MB / 0.7864 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3632, allocations: 3.938 kB / 0.7864 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001408/0.3646, allocations: 403.7 kB / 0.7868 GB, free: 9.652 MB / 0.5606 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.01656/0.3812, allocations: 5.238 MB / 0.7919 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00749/0.3887, allocations: 2.192 MB / 0.794 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3887, allocations: 0 / 0.794 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005086/0.3937, allocations: 1.443 MB / 0.7954 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.3948, allocations: 77.66 kB / 0.7955 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04051/0.4353, allocations: 13.94 MB / 0.8091 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.4359, allocations: 437.9 kB / 0.8095 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003574/0.4362, allocations: 78.19 kB / 0.8096 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/0.4368, allocations: 379.3 kB / 0.81 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.4368, allocations: 4 kB / 0.81 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3603/0.7971, allocations: 32.69 MB / 0.8419 GB, free: 83.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.93, allocations: 3.938 kB / 0.8419 GB, free: 83.83 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.773223127704114] Failed to read output from testmodel.py, exit status != 0: 15.067369653843343 15.087956196 14.926415679 Calling exit ...