Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.00135/0.00135, allocations: 113 kB / 18.94 MB, free: 2.934 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.44/1.44, allocations: 230.6 MB / 252.6 MB, free: 8.34 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.001651/0.001651, allocations: 215.7 kB / 309.2 MB, free: 3.234 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.5631/0.5631, allocations: 101.3 MB / 467 MB, free: 10.38 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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.002532/0.002532, allocations: 95.86 kB / 0.6244 GB, free: 12.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4342, allocations: 78.6 MB / 0.7012 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006253/0.4404, allocations: 6.6 MB / 0.7076 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.4441, allocations: 2.012 MB / 0.7096 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.4452, allocations: 15.69 kB / 0.7096 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006867/0.4458, allocations: 223.3 kB / 0.7098 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.4479, allocations: 0.7982 MB / 0.7106 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.4493, allocations: 0.638 MB / 0.7112 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.4509, allocations: 1.435 MB / 0.7126 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.4512, allocations: 236.2 kB / 0.7129 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007164/0.452, allocations: 0.6156 MB / 0.7135 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008268/0.4528, allocations: 0.7344 MB / 0.7142 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.4529, allocations: 101.3 kB / 0.7143 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.4535, allocations: 258.7 kB / 0.7145 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.4537, allocations: 284.3 kB / 0.7148 GB, free: 328 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005166/0.4542, allocations: 0.6248 MB / 0.7154 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.4562, allocations: 1.545 MB / 0.7169 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4562, allocations: 0 / 0.7169 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4562, allocations: 1.156 kB / 0.7169 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.078e-05/0.4562, allocations: 3.938 kB / 0.7169 GB, free: 15.17 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008657/0.4649, allocations: 2.56 MB / 0.7194 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4649, allocations: 12.56 kB / 0.7194 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.4651, allocations: 128.9 kB / 0.7196 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005406/0.4705, allocations: 0.8233 MB / 0.7204 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.4723, allocations: 0.7209 MB / 0.7211 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/0.4726, allocations: 306.4 kB / 0.7214 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.4728, allocations: 87.61 kB / 0.7214 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.4753, allocations: 1.084 MB / 0.7225 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.4753, allocations: 0 / 0.7225 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.4754, allocations: 30.97 kB / 0.7225 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.4754, allocations: 18.41 kB / 0.7225 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.4783, allocations: 1.121 MB / 0.7236 GB, free: 12.17 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.007892/0.4862, allocations: 3.438 MB / 0.727 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.4886, allocations: 0.8872 MB / 0.7279 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.4903, allocations: 0.7093 MB / 0.7286 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.4904, allocations: 17.56 kB / 0.7286 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.4905, allocations: 39.09 kB / 0.7286 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 2.745e-06/0.4905, allocations: 0 / 0.7286 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.02738/0.5179, allocations: 6.77 MB / 0.7352 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.518, allocations: 66.41 kB / 0.7353 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.5194, allocations: 0.9007 MB / 0.7362 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000276/0.5197, allocations: 41.42 kB / 0.7362 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.5202, allocations: 0.4959 MB / 0.7367 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005437/0.5208, allocations: 372.4 kB / 0.737 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004429/0.5212, allocations: 203.8 kB / 0.7372 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.5214, allocations: 356.3 kB / 0.7376 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.5233, allocations: 0.7255 MB / 0.7383 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.5252, allocations: 0.8632 MB / 0.7391 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02112/0.5463, allocations: 4.956 MB / 0.744 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.5463, allocations: 1.344 kB / 0.744 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01514/0.5615, allocations: 4.251 MB / 0.7481 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.5615, allocations: 8.781 kB / 0.7481 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.5615, allocations: 2.5 kB / 0.7481 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006994/0.5685, allocations: 1.732 MB / 0.7498 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.5699, allocations: 227.7 kB / 0.75 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/0.5935, allocations: 8.969 MB / 0.7588 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.5952, allocations: 183.2 kB / 0.759 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.5953, allocations: 43.98 kB / 0.759 GB, free: 4.922 MB / 0.5137 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005632/0.5959, allocations: 233.7 kB / 0.7592 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.5962, allocations: 135.1 kB / 0.7594 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/0.6104, allocations: 3.983 MB / 0.7633 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.6104, allocations: 8 kB / 0.7633 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6104, allocations: 0 / 0.7633 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.802e-05/0.6105, allocations: 7.984 kB / 0.7633 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/0.6275, allocations: 5.559 MB / 0.7687 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.6275, allocations: 0 / 0.7687 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009445/0.6284, allocations: 131.8 kB / 0.7688 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006418/0.6349, allocations: 1.737 MB / 0.7705 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002787/0.6351, allocations: 23.98 kB / 0.7706 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02102/0.6562, allocations: 7.962 MB / 0.7783 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.6562, allocations: 4 kB / 0.7783 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/0.6726, allocations: 4.941 MB / 0.7832 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000487/0.6731, allocations: 134.9 kB / 0.7833 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/0.6734, allocations: 16 kB / 0.7833 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.6745, allocations: 115.9 kB / 0.7834 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007926/0.6753, allocations: 224.6 kB / 0.7836 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.6754, allocations: 27.94 kB / 0.7836 GB, free: 11.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000929/0.6763, allocations: 0.6012 MB / 0.7842 GB, free: 10.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6763, allocations: 0 / 0.7842 GB, free: 10.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001523/0.6778, allocations: 447.6 kB / 0.7847 GB, free: 10.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.01677/0.6946, allocations: 5.519 MB / 0.7901 GB, free: 4.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007347/0.702, allocations: 2.361 MB / 0.7924 GB, free: 2.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.702, allocations: 0 / 0.7924 GB, free: 2.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005171/0.7071, allocations: 1.527 MB / 0.7938 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009949/0.7081, allocations: 92.36 kB / 0.7939 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04268/0.7508, allocations: 15.39 MB / 0.809 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009545/0.7518, allocations: 1.107 MB / 0.81 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005793/0.7524, allocations: 90.89 kB / 0.8101 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000678/0.753, allocations: 451.3 kB / 0.8106 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.753, allocations: 0 / 0.8106 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/0.8706, allocations: 34.9 MB / 0.8446 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.33/19.2, allocations: 7.75 kB / 0.8447 GB, free: 12.75 MB / 0.6075 GB " [Timeout remaining time 641] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.787026409001555] Failed to read output from testmodel.py, exit status != 0: 19.332712899999024 19.348891869 18.889493968 Calling exit ...