Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08298/0.08298, allocations: 12.36 MB / 31.21 MB, free: 6.41 MB / 26.18 MB " [Timeout remaining time 180] 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.001269/0.001269, allocations: 109 kB / 37.25 MB, free: 1.105 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 207.7 MB / 250.9 MB, free: 7.293 MB / 190.1 MB " [Timeout remaining time 179] 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.001598/0.001598, allocations: 208.4 kB / 306.1 MB, free: 320 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3222/0.3222, allocations: 79.72 MB / 440.9 MB, free: 12.28 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.004203/0.004203, allocations: 155.8 kB / 0.5875 GB, free: 9.363 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1268, allocations: 71.95 MB / 0.6578 GB, free: 1.34 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2279/0.3547, allocations: 5.066 MB / 0.6627 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.3573, allocations: 1.622 MB / 0.6643 GB, free: 7.723 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.3577, allocations: 9.469 kB / 0.6643 GB, free: 7.723 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.3581, allocations: 202.4 kB / 0.6645 GB, free: 7.625 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.3595, allocations: 0.715 MB / 0.6652 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3605, allocations: 0.5466 MB / 0.6657 GB, free: 7.203 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.3616, allocations: 1.232 MB / 0.6669 GB, free: 6.582 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.3619, allocations: 178.6 kB / 0.6671 GB, free: 6.488 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005186/0.3624, allocations: 0.53 MB / 0.6676 GB, free: 6.227 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005335/0.3629, allocations: 0.5784 MB / 0.6682 GB, free: 5.977 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.363, allocations: 86.5 kB / 0.6683 GB, free: 5.977 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.3634, allocations: 220.5 kB / 0.6685 GB, free: 5.938 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.3636, allocations: 242.6 kB / 0.6687 GB, free: 5.773 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.3639, allocations: 441.9 kB / 0.6691 GB, free: 5.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.3651, allocations: 1.356 MB / 0.6705 GB, free: 4.898 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3651, allocations: 0.875 kB / 0.6705 GB, free: 4.898 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3651, allocations: 3.938 kB / 0.6705 GB, free: 4.895 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.3651, allocations: 0 / 0.6705 GB, free: 4.895 MB / 462.1 MB 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.006873/0.372, allocations: 2.29 MB / 0.6727 GB, free: 3.883 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.372, allocations: 8.656 kB / 0.6727 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.3722, allocations: 116.3 kB / 0.6728 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004609/0.3768, allocations: 0.7643 MB / 0.6736 GB, free: 3.645 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009648/0.3777, allocations: 0.6526 MB / 0.6742 GB, free: 3.184 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.3779, allocations: 300.5 kB / 0.6745 GB, free: 2.906 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.3781, allocations: 63.31 kB / 0.6746 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.3799, allocations: 0.9451 MB / 0.6755 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.3799, allocations: 0 / 0.6755 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.38, allocations: 26.28 kB / 0.6755 GB, free: 2.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.38, allocations: 18.03 kB / 0.6755 GB, free: 2.516 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.3819, allocations: 0.9633 MB / 0.6765 GB, free: 2.207 MB / 462.1 MB 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.004407/0.3863, allocations: 2.337 MB / 0.6787 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.388, allocations: 0.7751 MB / 0.6795 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.3892, allocations: 0.6241 MB / 0.6801 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.485e-05/0.3893, allocations: 18.56 kB / 0.6801 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.3893, allocations: 37.84 kB / 0.6802 GB, free: 460 kB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.254e-06/0.3893, allocations: 0 / 0.6802 GB, free: 460 kB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02713/0.4164, allocations: 6.596 MB / 0.6866 GB, free: 14.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.4165, allocations: 64.72 kB / 0.6867 GB, free: 14.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.4176, allocations: 0.7915 MB / 0.6874 GB, free: 13.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.4178, allocations: 36.23 kB / 0.6875 GB, free: 13.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.4182, allocations: 439.9 kB / 0.6879 GB, free: 13.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.4185, allocations: 297.5 kB / 0.6882 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.4189, allocations: 178 kB / 0.6883 GB, free: 13.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4191, allocations: 350.4 kB / 0.6887 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.4206, allocations: 0.6387 MB / 0.6893 GB, free: 12.39 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.4222, allocations: 0.764 MB / 0.6901 GB, free: 11.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01812/0.4403, allocations: 4.452 MB / 0.6944 GB, free: 9.762 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.4403, allocations: 1.5 kB / 0.6944 GB, free: 9.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01385/0.4541, allocations: 4.004 MB / 0.6983 GB, free: 7.793 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.4542, allocations: 7.344 kB / 0.6983 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.4542, allocations: 6.625 kB / 0.6983 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006742/0.4609, allocations: 1.863 MB / 0.7001 GB, free: 7.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009432/0.4619, allocations: 159.7 kB / 0.7003 GB, free: 6.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02271/0.4846, allocations: 8.805 MB / 0.7089 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.4861, allocations: 151.3 kB / 0.709 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.4862, allocations: 35.98 kB / 0.7091 GB, free: 14.79 MB / 494.1 MB 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.0005568/0.4868, allocations: 234.4 kB / 0.7093 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/0.4871, allocations: 103.3 kB / 0.7094 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/0.5005, allocations: 3.778 MB / 0.7131 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.5005, allocations: 12.97 kB / 0.7131 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5005, allocations: 4.875 kB / 0.7131 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/0.5005, allocations: 3.984 kB / 0.7131 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.516, allocations: 4.708 MB / 0.7177 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.516, allocations: 0 / 0.7177 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.5165, allocations: 91.83 kB / 0.7178 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006311/0.5229, allocations: 1.74 MB / 0.7195 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.523, allocations: 19.23 kB / 0.7195 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02021/0.5432, allocations: 7.779 MB / 0.7271 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5432, allocations: 0 / 0.7271 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/0.5586, allocations: 4.666 MB / 0.7317 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.559, allocations: 119.2 kB / 0.7318 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.5592, allocations: 12 kB / 0.7318 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.5602, allocations: 91.89 kB / 0.7319 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006311/0.5608, allocations: 208.5 kB / 0.7321 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.5609, allocations: 20 kB / 0.7321 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007972/0.5617, allocations: 0.5342 MB / 0.7326 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5617, allocations: 0 / 0.7326 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001281/0.563, allocations: 395.7 kB / 0.733 GB, free: 6.078 MB / 0.4981 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.0158/0.5788, allocations: 5.241 MB / 0.7381 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006877/0.5856, allocations: 2.195 MB / 0.7403 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5856, allocations: 0 / 0.7403 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004852/0.5905, allocations: 1.443 MB / 0.7417 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/0.5913, allocations: 82.22 kB / 0.7417 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03835/0.6296, allocations: 13.93 MB / 0.7553 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.6302, allocations: 437.9 kB / 0.7558 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003385/0.6305, allocations: 78.19 kB / 0.7558 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006023/0.6311, allocations: 379.3 kB / 0.7562 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of SimCode: time 7.42e-07/0.6311, allocations: 0 / 0.7562 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07603/0.7071, allocations: 32.65 MB / 0.7881 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.45, allocations: 12 kB / 0.7881 GB, free: 13.35 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.73854666389525] Failed to read output from testmodel.py, exit status != 0: 14.581687330733985 14.608080865 14.238229494 Calling exit ...