Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0008714/0.0008714, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.8591/0.8591, allocations: 177.1 MB / 199.4 MB, free: 5.914 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.0009504/0.0009504, allocations: 152.6 kB / 256 MB, free: 13.32 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2556/0.2556, allocations: 80.36 MB / 392.7 MB, free: 2.355 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.555 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.044e-05, allocations: 2.281 kB / 0.555 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004577/0.004597, allocations: 5.675 MB / 0.5605 GB, free: 6.887 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.007804, allocations: 1.876 MB / 0.5623 GB, free: 5.008 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006148/0.008419, allocations: 11.94 kB / 0.5624 GB, free: 4.996 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.008923, allocations: 226 kB / 0.5626 GB, free: 4.773 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.0103, allocations: 0.7645 MB / 0.5633 GB, free: 4.004 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009096/0.01121, allocations: 0.6287 MB / 0.5639 GB, free: 3.383 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.01259, allocations: 1.455 MB / 0.5654 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.01295, allocations: 212.8 kB / 0.5656 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009463/0.0139, allocations: 0.8298 MB / 0.5664 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.01442, allocations: 0.5685 MB / 0.5669 GB, free: 308 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.01453, allocations: 100 kB / 0.567 GB, free: 208 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.01489, allocations: 247.8 kB / 0.5673 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.01504, allocations: 278.7 kB / 0.5675 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005175/0.01555, allocations: 414.6 kB / 0.5679 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.01669, allocations: 1.569 MB / 0.5694 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.01669, allocations: 0 / 0.5694 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.303e-06/0.0167, allocations: 0 / 0.5694 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.01671, allocations: 0 / 0.5694 GB, free: 13.71 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.004062/0.02077, allocations: 2.518 MB / 0.5719 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.02081, allocations: 8.031 kB / 0.5719 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.02093, allocations: 122.8 kB / 0.572 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002483/0.02341, allocations: 0.8264 MB / 0.5728 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008788/0.02429, allocations: 0.7245 MB / 0.5735 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.02449, allocations: 307.6 kB / 0.5738 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.0246, allocations: 80 kB / 0.5739 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.0262, allocations: 1.069 MB / 0.575 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.02622, allocations: 3.938 kB / 0.575 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-05/0.02627, allocations: 32 kB / 0.575 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.02629, allocations: 23.94 kB / 0.575 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.02776, allocations: 1.109 MB / 0.5761 GB, free: 6.738 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.00364/0.0314, allocations: 2.588 MB / 0.5786 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.03263, allocations: 0.8691 MB / 0.5795 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009238/0.03355, allocations: 0.6992 MB / 0.5802 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-05/0.03363, allocations: 9 kB / 0.5802 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.03366, allocations: 47.55 kB / 0.5802 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 5.129e-06/0.03367, allocations: 7.984 kB / 0.5802 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.01359/0.04726, allocations: 6.646 MB / 0.5867 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.0473, allocations: 60.41 kB / 0.5868 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008228/0.04812, allocations: 0.8962 MB / 0.5876 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.04823, allocations: 41.7 kB / 0.5877 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.04848, allocations: 0.5014 MB / 0.5882 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/0.04873, allocations: 356.9 kB / 0.5885 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.04897, allocations: 194.8 kB / 0.5887 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003329/0.0493, allocations: 353.9 kB / 0.589 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009676/0.05027, allocations: 0.7131 MB / 0.5897 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.05137, allocations: 0.8423 MB / 0.5906 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009768/0.06114, allocations: 4.885 MB / 0.5953 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.06114, allocations: 0 / 0.5953 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.1889/0.25, allocations: 4.233 MB / 0.5995 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.25, allocations: 10.25 kB / 0.5995 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.25, allocations: 2.156 kB / 0.5995 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003125/0.2532, allocations: 1.856 MB / 0.6013 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.2538, allocations: 207.8 kB / 0.6015 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.2651, allocations: 8.784 MB / 0.6101 GB, free: 88.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/0.2659, allocations: 179.6 kB / 0.6102 GB, free: 88.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.266, allocations: 39.03 kB / 0.6103 GB, free: 88.32 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.0003232/0.2663, allocations: 244.8 kB / 0.6105 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.2664, allocations: 126.8 kB / 0.6106 GB, free: 88.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007062/0.2735, allocations: 3.971 MB / 0.6145 GB, free: 87.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.2735, allocations: 9.625 kB / 0.6145 GB, free: 87.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2735, allocations: 6.172 kB / 0.6145 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.2735, allocations: 4.125 kB / 0.6145 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008624/0.2821, allocations: 4.976 MB / 0.6194 GB, free: 85.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.2821, allocations: 0 / 0.6194 GB, free: 85.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.2826, allocations: 134.7 kB / 0.6195 GB, free: 85.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003357/0.2859, allocations: 1.737 MB / 0.6212 GB, free: 85.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.286, allocations: 21.5 kB / 0.6212 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/0.2967, allocations: 7.779 MB / 0.6288 GB, free: 81.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2967, allocations: 1.375 kB / 0.6288 GB, free: 81.69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008017/0.3047, allocations: 4.938 MB / 0.6336 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.305, allocations: 131.7 kB / 0.6338 GB, free: 80.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.647e-05/0.3051, allocations: 15.81 kB / 0.6338 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/0.3056, allocations: 112.8 kB / 0.6339 GB, free: 80.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004759/0.3061, allocations: 226.1 kB / 0.6341 GB, free: 80.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.3061, allocations: 24.94 kB / 0.6341 GB, free: 80 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005403/0.3067, allocations: 0.5963 MB / 0.6347 GB, free: 79.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3067, allocations: 4 kB / 0.6347 GB, free: 79.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001065/0.3077, allocations: 437.8 kB / 0.6351 GB, free: 79.6 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.007572/0.3153, allocations: 5.523 MB / 0.6405 GB, free: 76.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003592/0.3189, allocations: 2.358 MB / 0.6428 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3189, allocations: 0 / 0.6428 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.3211, allocations: 1.521 MB / 0.6443 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.3217, allocations: 87.86 kB / 0.6444 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/0.3402, allocations: 15.08 MB / 0.6591 GB, free: 58.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.3405, allocations: 0.4946 MB / 0.6596 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.3407, allocations: 86.72 kB / 0.6597 GB, free: 57.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.341, allocations: 456.3 kB / 0.6601 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/0.341, allocations: 0 / 0.6601 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.3802, allocations: 35.77 MB / 0.6951 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.362, allocations: 6.562 kB / 0.6951 GB, free: 21.73 MB / 0.5105 GB " [Timeout remaining time 652] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.682158731855452] Failed to read output from testmodel.py, exit status != 0: 8.465496530756354 8.470923066 8.452925121 Calling exit ...