Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001316/0.001316, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.507/1.507, allocations: 230.6 MB / 252.7 MB, free: 8.066 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.002566/0.002566, allocations: 217.6 kB / 309.2 MB, free: 2.926 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6345/0.6345, allocations: 107.2 MB / 472.8 MB, free: 4.473 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 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_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_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.002601/0.002601, allocations: 83.88 kB / 0.6331 GB, free: 5.023 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4257, allocations: 80.13 MB / 0.7113 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005786/0.4315, allocations: 5.719 MB / 0.7169 GB, free: 396 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004264/0.4358, allocations: 1.902 MB / 0.7188 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008973/0.4367, allocations: 17.06 kB / 0.7188 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007257/0.4374, allocations: 220.3 kB / 0.719 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.4396, allocations: 0.7538 MB / 0.7197 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.4413, allocations: 0.6323 MB / 0.7203 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.4431, allocations: 1.426 MB / 0.7217 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.4435, allocations: 220.5 kB / 0.7219 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008669/0.4444, allocations: 0.6112 MB / 0.7225 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008475/0.4452, allocations: 0.6781 MB / 0.7232 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.4454, allocations: 101.6 kB / 0.7233 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.4459, allocations: 243.6 kB / 0.7235 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002869/0.4462, allocations: 279.1 kB / 0.7238 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000514/0.4467, allocations: 0.5092 MB / 0.7243 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.4487, allocations: 1.563 MB / 0.7258 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4487, allocations: 2.812 kB / 0.7258 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.996e-06/0.4487, allocations: 0.7031 kB / 0.7258 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.208e-05/0.4488, allocations: 0 / 0.7258 GB, free: 11.43 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.008844/0.4576, allocations: 2.558 MB / 0.7283 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4577, allocations: 9.469 kB / 0.7283 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002061/0.4579, allocations: 128.3 kB / 0.7285 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005729/0.4636, allocations: 0.824 MB / 0.7293 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.4655, allocations: 0.733 MB / 0.73 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004059/0.4659, allocations: 307.2 kB / 0.7303 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.4661, allocations: 80.91 kB / 0.7303 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/0.4688, allocations: 1.083 MB / 0.7314 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.4688, allocations: 0 / 0.7314 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.4689, allocations: 29.88 kB / 0.7314 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.4689, allocations: 18.75 kB / 0.7314 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.4717, allocations: 1.117 MB / 0.7325 GB, free: 8.43 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.006182/0.4779, allocations: 2.607 MB / 0.7351 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.4799, allocations: 0.881 MB / 0.7359 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.4816, allocations: 0.7005 MB / 0.7366 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.895e-05/0.4817, allocations: 16.03 kB / 0.7366 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.4817, allocations: 43.28 kB / 0.7367 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=97): time 3.316e-06/0.4817, allocations: 0 / 0.7367 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97): time 0.02646/0.5082, allocations: 6.504 MB / 0.743 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.5082, allocations: 61.88 kB / 0.7431 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.5098, allocations: 0.9136 MB / 0.744 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003135/0.5102, allocations: 42.08 kB / 0.744 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.5106, allocations: 0.5046 MB / 0.7445 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004808/0.5111, allocations: 366.9 kB / 0.7449 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004226/0.5116, allocations: 196.9 kB / 0.7451 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.5117, allocations: 357.1 kB / 0.7454 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.5135, allocations: 0.7226 MB / 0.7461 GB, free: 464 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.5154, allocations: 0.8504 MB / 0.7469 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02059/0.536, allocations: 4.935 MB / 0.7518 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.536, allocations: 1.031 kB / 0.7518 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01496/0.551, allocations: 4.246 MB / 0.7559 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.551, allocations: 13.81 kB / 0.7559 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.551, allocations: 8 kB / 0.7559 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006813/0.5578, allocations: 1.804 MB / 0.7577 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.559, allocations: 211.7 kB / 0.7579 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02419/0.5832, allocations: 9.023 MB / 0.7667 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.5849, allocations: 179.2 kB / 0.7669 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.5851, allocations: 39.98 kB / 0.7669 GB, free: 14 MB / 0.5294 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.0005652/0.5857, allocations: 251.7 kB / 0.7671 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.5859, allocations: 127.2 kB / 0.7673 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/0.6004, allocations: 3.979 MB / 0.7712 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.6004, allocations: 16 kB / 0.7712 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6005, allocations: 3.938 kB / 0.7712 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.6005, allocations: 3.984 kB / 0.7712 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01673/0.6172, allocations: 4.969 MB / 0.776 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.6172, allocations: 0 / 0.776 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/0.6181, allocations: 131.8 kB / 0.7762 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006589/0.6247, allocations: 1.749 MB / 0.7779 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003069/0.625, allocations: 19.94 kB / 0.7779 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02122/0.6462, allocations: 7.776 MB / 0.7855 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.6462, allocations: 0 / 0.7855 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/0.6631, allocations: 4.937 MB / 0.7903 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/0.6635, allocations: 135 kB / 0.7904 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004096/0.6639, allocations: 20 kB / 0.7904 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.6653, allocations: 107.8 kB / 0.7905 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008724/0.6662, allocations: 232.5 kB / 0.7908 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.6663, allocations: 23.98 kB / 0.7908 GB, free: 5.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001019/0.6674, allocations: 0.6167 MB / 0.7914 GB, free: 4.688 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6674, allocations: 0 / 0.7914 GB, free: 4.688 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001752/0.6691, allocations: 443.6 kB / 0.7918 GB, free: 4.254 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.01685/0.686, allocations: 5.511 MB / 0.7972 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007606/0.6936, allocations: 2.394 MB / 0.7995 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6936, allocations: 0.5625 kB / 0.7995 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005132/0.6987, allocations: 1.522 MB / 0.801 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.6998, allocations: 84.42 kB / 0.8011 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04104/0.7408, allocations: 15.35 MB / 0.8161 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.7415, allocations: 0.5098 MB / 0.8166 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000493/0.742, allocations: 94.88 kB / 0.8167 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007067/0.7427, allocations: 451.3 kB / 0.8171 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.7427, allocations: 0 / 0.8171 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08289/0.8256, allocations: 35.98 MB / 0.8523 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.17, allocations: 11.8 kB / 0.8523 GB, free: 6.207 MB / 0.6075 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.956038895994425] Failed to read output from testmodel.py, exit status != 0: 15.312282807193696 15.34233652 14.887652067 Calling exit ...