Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.0007357/0.0007357, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.9003/0.9003, allocations: 177.1 MB / 199.4 MB, free: 5.957 MB / 186.7 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.001102/0.001102, allocations: 164.5 kB / 256 MB, free: 13.36 MB / 250.7 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.2637/0.2637, allocations: 80.25 MB / 392.6 MB, free: 2.473 MB / 314.7 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_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 0 / 0.5548 GB, free: 12.71 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.208e-05, allocations: 6.219 kB / 0.5548 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.008142/0.008174, allocations: 5.662 MB / 0.5603 GB, free: 7.004 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005047/0.01322, allocations: 1.876 MB / 0.5622 GB, free: 5.125 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008237/0.01405, allocations: 15.94 kB / 0.5622 GB, free: 5.109 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.01454, allocations: 226 kB / 0.5624 GB, free: 4.887 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.01603, allocations: 0.7672 MB / 0.5632 GB, free: 4.117 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.01727, allocations: 0.6249 MB / 0.5638 GB, free: 3.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.01854, allocations: 1.456 MB / 0.5652 GB, free: 2.039 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.01886, allocations: 212.8 kB / 0.5654 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008995/0.01976, allocations: 0.8337 MB / 0.5662 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005374/0.0203, allocations: 0.5685 MB / 0.5668 GB, free: 424 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.02041, allocations: 100 kB / 0.5669 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.02076, allocations: 239.8 kB / 0.5671 GB, free: 84 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.02093, allocations: 278.7 kB / 0.5673 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.0212, allocations: 414.6 kB / 0.5677 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.02234, allocations: 1.569 MB / 0.5693 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.02234, allocations: 0 / 0.5693 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.744e-06/0.02234, allocations: 0 / 0.5693 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.02236, allocations: 7.938 kB / 0.5693 GB, free: 13.82 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00451/0.02687, allocations: 2.51 MB / 0.5717 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.02691, allocations: 8.031 kB / 0.5717 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.02704, allocations: 130.8 kB / 0.5719 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.02967, allocations: 0.8264 MB / 0.5727 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009713/0.03064, allocations: 0.7246 MB / 0.5734 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.03084, allocations: 303.6 kB / 0.5737 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.03096, allocations: 80 kB / 0.5737 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.03242, allocations: 1.077 MB / 0.5748 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.03243, allocations: 0 / 0.5748 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.0325, allocations: 28 kB / 0.5748 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.03252, allocations: 23.94 kB / 0.5748 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.03414, allocations: 1.113 MB / 0.5759 GB, free: 6.852 MB / 0.4948 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.003573/0.03771, allocations: 2.592 MB / 0.5785 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.03895, allocations: 0.8652 MB / 0.5793 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009474/0.0399, allocations: 0.6992 MB / 0.58 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/0.03998, allocations: 16.98 kB / 0.58 GB, free: 2.629 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.04, allocations: 43.56 kB / 0.5801 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 2.004e-06/0.04, allocations: 0 / 0.5801 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.01292/0.05292, allocations: 6.65 MB / 0.5865 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.05296, allocations: 60.41 kB / 0.5866 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/0.05364, allocations: 0.9002 MB / 0.5875 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/0.0537, allocations: 45.7 kB / 0.5875 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.05394, allocations: 0.4897 MB / 0.588 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.05414, allocations: 356.9 kB / 0.5883 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.05438, allocations: 190.9 kB / 0.5885 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.471e-05/0.05447, allocations: 353.9 kB / 0.5889 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009727/0.05544, allocations: 0.7092 MB / 0.5896 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.05648, allocations: 0.8461 MB / 0.5904 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00945/0.06593, allocations: 4.889 MB / 0.5952 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.06593, allocations: 0 / 0.5952 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.2093/0.2752, allocations: 4.232 MB / 0.5993 GB, free: 91.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.2752, allocations: 6.094 kB / 0.5993 GB, free: 91.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2752, allocations: 3.156 kB / 0.5993 GB, free: 91.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0032/0.2784, allocations: 1.86 MB / 0.6011 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.2791, allocations: 203.1 kB / 0.6013 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.2908, allocations: 8.797 MB / 0.6099 GB, free: 88.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009894/0.2918, allocations: 172.5 kB / 0.6101 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/0.2919, allocations: 46.19 kB / 0.6101 GB, free: 88.06 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.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 (108): * Single equations (assignments): 107 * 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.0003954/0.2923, allocations: 237.8 kB / 0.6103 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.2924, allocations: 134.2 kB / 0.6105 GB, free: 87.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007595/0.3, allocations: 3.971 MB / 0.6143 GB, free: 86.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3, allocations: 9.625 kB / 0.6143 GB, free: 86.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.3, allocations: 0.7031 kB / 0.6143 GB, free: 86.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.3, allocations: 8.297 kB / 0.6144 GB, free: 86.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008716/0.3087, allocations: 4.982 MB / 0.6192 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3087, allocations: 0 / 0.6192 GB, free: 85.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.3091, allocations: 130.5 kB / 0.6193 GB, free: 85.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003512/0.3126, allocations: 1.735 MB / 0.621 GB, free: 85.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.128e-05/0.3127, allocations: 17.16 kB / 0.6211 GB, free: 85.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/0.3234, allocations: 7.78 MB / 0.6287 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3234, allocations: 0.5625 kB / 0.6287 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008248/0.3316, allocations: 4.936 MB / 0.6335 GB, free: 80.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.3318, allocations: 136.2 kB / 0.6336 GB, free: 79.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.99e-05/0.3319, allocations: 19.97 kB / 0.6336 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.3324, allocations: 107.3 kB / 0.6337 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003857/0.3328, allocations: 227.3 kB / 0.6339 GB, free: 79.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.3329, allocations: 23.41 kB / 0.634 GB, free: 79.81 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005506/0.3334, allocations: 0.6 MB / 0.6346 GB, free: 79.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3334, allocations: 1.75 kB / 0.6346 GB, free: 79.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001031/0.3344, allocations: 438.8 kB / 0.635 GB, free: 79.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.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 (63): * Single equations (assignments): 62 * 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.007761/0.3422, allocations: 5.526 MB / 0.6404 GB, free: 76.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003527/0.3457, allocations: 2.353 MB / 0.6427 GB, free: 75.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3457, allocations: 0 / 0.6427 GB, free: 75.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.3479, allocations: 1.521 MB / 0.6442 GB, free: 73.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.3483, allocations: 88.42 kB / 0.6442 GB, free: 73.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.3673, allocations: 15.07 MB / 0.659 GB, free: 58.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3676, allocations: 0.4984 MB / 0.6594 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002347/0.3679, allocations: 90.7 kB / 0.6595 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.3682, allocations: 448.3 kB / 0.66 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.413e-06/0.3682, allocations: 4 kB / 0.66 GB, free: 57.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03768/0.4059, allocations: 35.77 MB / 0.6949 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.26/9.666, allocations: 7.156 kB / 0.6949 GB, free: 21.59 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation_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_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.191613820381463] Failed to read output from testmodel.py, exit status != 0: 9.773213237524033 9.780190643 9.756187918 Calling exit ...