Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.08724/0.08724, allocations: 12.36 MB / 31.22 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.001374/0.001374, allocations: 109 kB / 37.25 MB, free: 1.102 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.436/1.436, allocations: 207.7 MB / 250.9 MB, free: 7.25 MB / 190.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.001642/0.001642, allocations: 216.3 kB / 306.1 MB, free: 284 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.3319/0.3319, allocations: 79.73 MB / 441 MB, free: 12.26 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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.004582/0.004582, allocations: 145.2 kB / 0.5875 GB, free: 7.457 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3612, allocations: 71.97 MB / 0.6578 GB, free: 2.484 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006474/0.3677, allocations: 5.707 MB / 0.6634 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.3717, allocations: 1.75 MB / 0.6651 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008982/0.3726, allocations: 13.97 kB / 0.6651 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006145/0.3732, allocations: 230.3 kB / 0.6653 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002385/0.3756, allocations: 0.7569 MB / 0.666 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.3772, allocations: 0.6097 MB / 0.6666 GB, free: 12.44 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00215/0.3794, allocations: 1.414 MB / 0.668 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.3799, allocations: 223.5 kB / 0.6682 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.3809, allocations: 0.6037 MB / 0.6688 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.3819, allocations: 0.672 MB / 0.6695 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.3821, allocations: 100.3 kB / 0.6696 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005827/0.3827, allocations: 238.4 kB / 0.6698 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002927/0.383, allocations: 283.4 kB / 0.6701 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005756/0.3836, allocations: 0.506 MB / 0.6706 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.3856, allocations: 1.545 MB / 0.6721 GB, free: 9.586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3856, allocations: 0 / 0.6721 GB, free: 9.586 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3856, allocations: 0 / 0.6721 GB, free: 9.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.682e-05/0.3856, allocations: 5.094 kB / 0.6721 GB, free: 9.582 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.008479/0.3941, allocations: 2.523 MB / 0.6745 GB, free: 8.043 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3942, allocations: 12.97 kB / 0.6745 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/0.3944, allocations: 129.6 kB / 0.6747 GB, free: 7.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00506/0.3994, allocations: 0.79 MB / 0.6754 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.401, allocations: 0.7095 MB / 0.6761 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003774/0.4014, allocations: 312.2 kB / 0.6764 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.4016, allocations: 86.89 kB / 0.6765 GB, free: 6.676 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.4041, allocations: 1.084 MB / 0.6776 GB, free: 6.066 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.4041, allocations: 0 / 0.6776 GB, free: 6.066 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.4042, allocations: 31.28 kB / 0.6776 GB, free: 6.043 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.4042, allocations: 18.94 kB / 0.6776 GB, free: 6.043 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/0.4069, allocations: 1.114 MB / 0.6787 GB, free: 5.52 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.006544/0.4135, allocations: 2.604 MB / 0.6813 GB, free: 3.738 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.4156, allocations: 0.8934 MB / 0.6821 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.4173, allocations: 0.7007 MB / 0.6828 GB, free: 2.941 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.4174, allocations: 15.28 kB / 0.6828 GB, free: 2.934 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.4175, allocations: 44.03 kB / 0.6829 GB, free: 2.887 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.356e-06/0.4175, allocations: 0 / 0.6829 GB, free: 2.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.027/0.4445, allocations: 6.499 MB / 0.6892 GB, free: 15.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.4445, allocations: 62.59 kB / 0.6893 GB, free: 15.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.4465, allocations: 0.904 MB / 0.6902 GB, free: 15.15 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003125/0.4468, allocations: 41.05 kB / 0.6902 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005727/0.4474, allocations: 0.4975 MB / 0.6907 GB, free: 14.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006396/0.448, allocations: 363.4 kB / 0.691 GB, free: 14.35 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005208/0.4485, allocations: 205.5 kB / 0.6912 GB, free: 14.22 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.4487, allocations: 351.1 kB / 0.6916 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.4506, allocations: 0.7188 MB / 0.6923 GB, free: 13.53 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.4526, allocations: 0.8566 MB / 0.6931 GB, free: 13.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01997/0.4725, allocations: 4.821 MB / 0.6978 GB, free: 9.062 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.4726, allocations: 0 / 0.6978 GB, free: 9.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01545/0.488, allocations: 4.242 MB / 0.702 GB, free: 4.805 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.488, allocations: 7.938 kB / 0.702 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.488, allocations: 4 kB / 0.702 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00675/0.4948, allocations: 1.811 MB / 0.7037 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.4959, allocations: 215.6 kB / 0.7039 GB, free: 2.766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/0.5195, allocations: 9.017 MB / 0.7127 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.5213, allocations: 183.2 kB / 0.7129 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/0.5215, allocations: 39.98 kB / 0.713 GB, free: 9.41 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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.0007196/0.5222, allocations: 251.3 kB / 0.7132 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/0.5226, allocations: 131.1 kB / 0.7133 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/0.5368, allocations: 3.971 MB / 0.7172 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.5368, allocations: 15.98 kB / 0.7172 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5368, allocations: 0 / 0.7172 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/0.5368, allocations: 7.984 kB / 0.7172 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/0.554, allocations: 4.961 MB / 0.7221 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.554, allocations: 0 / 0.7221 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008546/0.5548, allocations: 135.8 kB / 0.7222 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006242/0.5611, allocations: 1.741 MB / 0.7239 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.5613, allocations: 27.92 kB / 0.7239 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/0.5814, allocations: 7.779 MB / 0.7315 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5814, allocations: 0 / 0.7315 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/0.5976, allocations: 4.93 MB / 0.7363 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/0.5981, allocations: 138.9 kB / 0.7365 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/0.5984, allocations: 16 kB / 0.7365 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.5996, allocations: 115.8 kB / 0.7366 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000732/0.6004, allocations: 228.6 kB / 0.7368 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.836e-05/0.6005, allocations: 20 kB / 0.7368 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009384/0.6014, allocations: 0.6047 MB / 0.7374 GB, free: 124 kB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.6014, allocations: 0 / 0.7374 GB, free: 124 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001484/0.6029, allocations: 443.7 kB / 0.7378 GB, free: 15.68 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.01667/0.6196, allocations: 5.511 MB / 0.7432 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007781/0.6273, allocations: 2.382 MB / 0.7455 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6273, allocations: 4 kB / 0.7456 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005283/0.6326, allocations: 1.535 MB / 0.7471 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.6338, allocations: 80.42 kB / 0.7471 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04289/0.6767, allocations: 15.31 MB / 0.7621 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.6773, allocations: 0.5056 MB / 0.7626 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005039/0.6778, allocations: 90.75 kB / 0.7627 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/0.6786, allocations: 451.3 kB / 0.7631 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.6786, allocations: 0 / 0.7631 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08108/0.7596, allocations: 35.83 MB / 0.7981 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.66, allocations: 15.83 kB / 0.7981 GB, free: 1.641 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.04618437215686] Failed to read output from testmodel.py, exit status != 0: 14.801453046966344 14.826430903 14.435970176 Calling exit ...