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.08237/0.08237, allocations: 12.37 MB / 31.19 MB, free: 36 kB / 19.63 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.0012/0.0012, allocations: 117.7 kB / 37.24 MB, free: 1.262 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.321/1.321, allocations: 207.6 MB / 250.8 MB, free: 7.395 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.001532/0.001532, allocations: 220.3 kB / 306.1 MB, free: 488 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.3029/0.3029, allocations: 79.73 MB / 440.9 MB, free: 12.46 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.00393/0.00393, allocations: 143.8 kB / 0.5875 GB, free: 7.594 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.336, allocations: 71.96 MB / 0.6578 GB, free: 2.637 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006454/0.3425, allocations: 6.534 MB / 0.6642 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.3464, allocations: 1.838 MB / 0.666 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007753/0.3471, allocations: 19.72 kB / 0.666 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006561/0.3478, allocations: 225 kB / 0.6662 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.3498, allocations: 0.7733 MB / 0.667 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3512, allocations: 0.6202 MB / 0.6676 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.3529, allocations: 1.419 MB / 0.669 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.3533, allocations: 227.6 kB / 0.6692 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000795/0.3541, allocations: 0.6099 MB / 0.6698 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008696/0.355, allocations: 0.7365 MB / 0.6705 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.3551, allocations: 106.6 kB / 0.6706 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.3556, allocations: 238 kB / 0.6708 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.3559, allocations: 286.6 kB / 0.6711 GB, free: 9.848 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005626/0.3564, allocations: 0.6235 MB / 0.6717 GB, free: 9.426 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.3582, allocations: 1.525 MB / 0.6732 GB, free: 8.555 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3582, allocations: 3.984 kB / 0.6732 GB, free: 8.551 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3582, allocations: 5 kB / 0.6732 GB, free: 8.547 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.3582, allocations: 0 / 0.6732 GB, free: 8.547 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.007925/0.3662, allocations: 2.526 MB / 0.6757 GB, free: 7.004 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3662, allocations: 9.562 kB / 0.6757 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/0.3664, allocations: 128.6 kB / 0.6758 GB, free: 6.895 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004772/0.3711, allocations: 0.791 MB / 0.6766 GB, free: 6.562 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.3725, allocations: 0.7208 MB / 0.6773 GB, free: 5.957 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003252/0.3728, allocations: 307.6 kB / 0.6776 GB, free: 5.668 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.373, allocations: 83.73 kB / 0.6777 GB, free: 5.637 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.3754, allocations: 1.084 MB / 0.6787 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.3754, allocations: 0 / 0.6787 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/0.3755, allocations: 30.81 kB / 0.6787 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.3755, allocations: 19.25 kB / 0.6788 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.3781, allocations: 1.12 MB / 0.6799 GB, free: 4.48 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.005988/0.3841, allocations: 3.395 MB / 0.6832 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.386, allocations: 0.8852 MB / 0.684 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.3875, allocations: 0.713 MB / 0.6847 GB, free: 1.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.3876, allocations: 15.14 kB / 0.6848 GB, free: 1.012 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.3876, allocations: 43.25 kB / 0.6848 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.046e-06/0.3876, allocations: 0 / 0.6848 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02418/0.4118, allocations: 6.5 MB / 0.6911 GB, free: 13.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.4119, allocations: 61.47 kB / 0.6912 GB, free: 13.75 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.4131, allocations: 0.9001 MB / 0.6921 GB, free: 13.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.4133, allocations: 41.14 kB / 0.6921 GB, free: 13.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/0.4137, allocations: 0.4973 MB / 0.6926 GB, free: 12.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003967/0.4141, allocations: 358.9 kB / 0.6929 GB, free: 12.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.4145, allocations: 200.4 kB / 0.6931 GB, free: 12.31 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4147, allocations: 359.8 kB / 0.6935 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.4163, allocations: 0.7231 MB / 0.6942 GB, free: 11.61 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.418, allocations: 0.8499 MB / 0.695 GB, free: 11.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01805/0.436, allocations: 4.825 MB / 0.6997 GB, free: 7.195 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.436, allocations: 0 / 0.6997 GB, free: 7.195 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01348/0.4495, allocations: 4.242 MB / 0.7039 GB, free: 2.938 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.4495, allocations: 11.94 kB / 0.7039 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.4496, allocations: 0 / 0.7039 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006126/0.4557, allocations: 1.815 MB / 0.7057 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4567, allocations: 207.7 kB / 0.7059 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/0.4781, allocations: 9.243 MB / 0.7149 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.4797, allocations: 171.2 kB / 0.715 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.4798, allocations: 43.98 kB / 0.7151 GB, free: 7.328 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.0005029/0.4803, allocations: 253.5 kB / 0.7153 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.4805, allocations: 127.2 kB / 0.7154 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.4932, allocations: 3.979 MB / 0.7193 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.4933, allocations: 12 kB / 0.7193 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4933, allocations: 0 / 0.7193 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/0.4933, allocations: 7.969 kB / 0.7194 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.5083, allocations: 5.547 MB / 0.7248 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5083, allocations: 0 / 0.7248 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/0.509, allocations: 131.8 kB / 0.7249 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005634/0.5146, allocations: 1.745 MB / 0.7266 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/0.5148, allocations: 23.92 kB / 0.7266 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01827/0.5331, allocations: 7.969 MB / 0.7344 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5331, allocations: 0 / 0.7344 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/0.5475, allocations: 4.937 MB / 0.7392 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/0.5479, allocations: 131 kB / 0.7394 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.5481, allocations: 16 kB / 0.7394 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009488/0.549, allocations: 119.8 kB / 0.7395 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006553/0.5497, allocations: 224.6 kB / 0.7397 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.5498, allocations: 24 kB / 0.7397 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007983/0.5506, allocations: 0.6008 MB / 0.7403 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5506, allocations: 0 / 0.7403 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001154/0.5517, allocations: 447.6 kB / 0.7407 GB, free: 12.75 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.01436/0.5661, allocations: 5.508 MB / 0.7461 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006421/0.5725, allocations: 2.389 MB / 0.7484 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5725, allocations: 0 / 0.7484 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004465/0.577, allocations: 1.534 MB / 0.7499 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.5777, allocations: 84.42 kB / 0.75 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03661/0.6143, allocations: 15.31 MB / 0.765 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/0.615, allocations: 1.095 MB / 0.766 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004088/0.6154, allocations: 94.75 kB / 0.7661 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005994/0.616, allocations: 443.3 kB / 0.7666 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.616, allocations: 0 / 0.7666 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07518/0.6912, allocations: 34.95 MB / 0.8007 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.25/17.94, allocations: 15.94 kB / 0.8007 GB, free: 15.05 MB / 0.5762 GB " [Timeout remaining time 642] (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: 21.026858961999096] Failed to read output from testmodel.py, exit status != 0: 18.07028659199932 18.094599421 17.731324534 Calling exit ...