Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.001333/0.001333, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 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 1.441/1.441, allocations: 230.6 MB / 252.7 MB, free: 8.289 MB / 206.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.001592/0.001592, allocations: 203 kB / 309.2 MB, free: 3.148 MB / 238.1 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.5486/0.5486, allocations: 101.3 MB / 467 MB, free: 10.35 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.002538/0.002538, allocations: 87.88 kB / 0.6244 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4318, allocations: 78.6 MB / 0.7012 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006012/0.4379, allocations: 6.551 MB / 0.7076 GB, free: 4.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00392/0.4418, allocations: 1.984 MB / 0.7095 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009605/0.4427, allocations: 15.44 kB / 0.7096 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.4433, allocations: 226.4 kB / 0.7098 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.445, allocations: 0.7834 MB / 0.7105 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.4465, allocations: 0.6305 MB / 0.7112 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.4482, allocations: 1.432 MB / 0.7126 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.4486, allocations: 229.6 kB / 0.7128 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008669/0.4494, allocations: 0.6155 MB / 0.7134 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007919/0.4502, allocations: 0.7404 MB / 0.7141 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.4504, allocations: 101.1 kB / 0.7142 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004934/0.4509, allocations: 257.5 kB / 0.7144 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.4511, allocations: 285 kB / 0.7147 GB, free: 360 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004513/0.4515, allocations: 0.6149 MB / 0.7153 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.4537, allocations: 1.557 MB / 0.7168 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4537, allocations: 3.938 kB / 0.7168 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4537, allocations: 0 / 0.7168 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.112e-05/0.4537, allocations: 0 / 0.7168 GB, free: 15.2 MB / 0.4981 GB 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.008965/0.4627, allocations: 2.555 MB / 0.7193 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4627, allocations: 8.406 kB / 0.7193 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.4629, allocations: 132.1 kB / 0.7195 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005429/0.4684, allocations: 0.8283 MB / 0.7203 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.47, allocations: 0.7322 MB / 0.721 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/0.4704, allocations: 309.8 kB / 0.7213 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.4705, allocations: 77.31 kB / 0.7214 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.473, allocations: 1.079 MB / 0.7224 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.473, allocations: 1.281 kB / 0.7224 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.4731, allocations: 33.91 kB / 0.7224 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.4731, allocations: 18 kB / 0.7225 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.4761, allocations: 1.12 MB / 0.7236 GB, free: 12.21 MB / 0.4981 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.007428/0.4836, allocations: 3.4 MB / 0.7269 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.4859, allocations: 0.8775 MB / 0.7277 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.4876, allocations: 0.7035 MB / 0.7284 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.4877, allocations: 19.91 kB / 0.7284 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.4878, allocations: 40.22 kB / 0.7285 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=97): time 2.955e-06/0.4878, allocations: 0 / 0.7285 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97): time 0.02702/0.5148, allocations: 6.507 MB / 0.7348 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.5149, allocations: 61.53 kB / 0.7349 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.5164, allocations: 0.9123 MB / 0.7358 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003157/0.5167, allocations: 41.42 kB / 0.7358 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.5171, allocations: 0.5016 MB / 0.7363 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/0.5177, allocations: 367.4 kB / 0.7367 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004483/0.5181, allocations: 201.1 kB / 0.7368 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.5183, allocations: 351.4 kB / 0.7372 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.52, allocations: 0.7183 MB / 0.7379 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.5219, allocations: 0.8577 MB / 0.7387 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.021/0.5429, allocations: 4.938 MB / 0.7435 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.5429, allocations: 0 / 0.7435 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01491/0.5578, allocations: 4.246 MB / 0.7477 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.5579, allocations: 12.84 kB / 0.7477 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5579, allocations: 1.375 kB / 0.7477 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006942/0.5648, allocations: 1.809 MB / 0.7495 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.5661, allocations: 219.7 kB / 0.7497 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0236/0.5897, allocations: 9.224 MB / 0.7587 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.5916, allocations: 187.2 kB / 0.7589 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.5918, allocations: 39.98 kB / 0.7589 GB, free: 5.004 MB / 0.5137 GB 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.000642/0.5924, allocations: 246.4 kB / 0.7591 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/0.5927, allocations: 135.2 kB / 0.7593 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/0.6067, allocations: 3.979 MB / 0.7632 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.6067, allocations: 12 kB / 0.7632 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.6067, allocations: 4 kB / 0.7632 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.952e-05/0.6067, allocations: 3.984 kB / 0.7632 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/0.6233, allocations: 5.539 MB / 0.7686 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.6233, allocations: 7.938 kB / 0.7686 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008841/0.6242, allocations: 131.8 kB / 0.7687 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006482/0.6306, allocations: 1.741 MB / 0.7704 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/0.6309, allocations: 19.94 kB / 0.7704 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02014/0.651, allocations: 7.985 MB / 0.7782 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.651, allocations: 0 / 0.7782 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/0.6674, allocations: 4.937 MB / 0.7831 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.6678, allocations: 135 kB / 0.7832 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.668, allocations: 23.94 kB / 0.7832 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6691, allocations: 111.9 kB / 0.7833 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007041/0.6698, allocations: 224.6 kB / 0.7835 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/0.6699, allocations: 24 kB / 0.7836 GB, free: 11.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008491/0.6707, allocations: 0.6129 MB / 0.7841 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6707, allocations: 3.938 kB / 0.7842 GB, free: 10.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001228/0.6719, allocations: 439.6 kB / 0.7846 GB, free: 10.4 MB / 0.545 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.01648/0.6884, allocations: 5.518 MB / 0.79 GB, free: 4.848 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007359/0.6958, allocations: 2.389 MB / 0.7923 GB, free: 2.445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6958, allocations: 0 / 0.7923 GB, free: 2.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005109/0.7009, allocations: 1.525 MB / 0.7938 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009468/0.7018, allocations: 94.75 kB / 0.7939 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04229/0.7441, allocations: 15.35 MB / 0.8089 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007802/0.7449, allocations: 1.103 MB / 0.8099 GB, free: 144 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004717/0.7454, allocations: 86.88 kB / 0.81 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/0.746, allocations: 447.4 kB / 0.8105 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of SimCode: time 1.432e-06/0.746, allocations: 0 / 0.8105 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08228/0.8283, allocations: 35.13 MB / 0.8448 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.47/19.3, allocations: 8.062 kB / 0.8448 GB, free: 12.62 MB / 0.6075 GB " [Timeout remaining time 641] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.844289563003258] Failed to read output from testmodel.py, exit status != 0: 19.43138496499887 19.447484845 18.99059664 Calling exit ...