Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001355/0.001355, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.514/1.514, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001866/0.001866, allocations: 209.4 kB / 309.2 MB, free: 3.156 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.649/0.649, allocations: 107.2 MB / 472.8 MB, free: 30.05 MB / 350.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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_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.002502/0.002502, allocations: 95.62 kB / 0.6331 GB, free: 29.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.15, allocations: 80.14 MB / 0.7113 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00824/0.1583, allocations: 5.767 MB / 0.717 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004814/0.1631, allocations: 1.911 MB / 0.7188 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.1643, allocations: 11.94 kB / 0.7188 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000871/0.1651, allocations: 226 kB / 0.719 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.1678, allocations: 0.7642 MB / 0.7198 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.1696, allocations: 0.6355 MB / 0.7204 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002625/0.1722, allocations: 1.437 MB / 0.7218 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006511/0.1728, allocations: 220.8 kB / 0.722 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.1742, allocations: 0.6146 MB / 0.7226 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.1756, allocations: 0.6685 MB / 0.7233 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003489/0.1759, allocations: 100 kB / 0.7234 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000762/0.1767, allocations: 251.8 kB / 0.7236 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.177, allocations: 278.8 kB / 0.7239 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008579/0.1779, allocations: 0.5165 MB / 0.7244 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002535/0.1804, allocations: 1.564 MB / 0.7259 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1804, allocations: 0 / 0.7259 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1804, allocations: 0 / 0.7259 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.066e-05/0.1805, allocations: 0 / 0.7259 GB, free: 8.656 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.009/0.1895, allocations: 2.553 MB / 0.7284 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.1895, allocations: 12.03 kB / 0.7284 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002409/0.1898, allocations: 130.8 kB / 0.7285 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005283/0.1951, allocations: 0.8264 MB / 0.7293 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.1965, allocations: 0.7209 MB / 0.7301 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.1969, allocations: 311.5 kB / 0.7303 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.1971, allocations: 83.95 kB / 0.7304 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.1996, allocations: 1.077 MB / 0.7315 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1997, allocations: 4 kB / 0.7315 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.1998, allocations: 31.98 kB / 0.7315 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.1998, allocations: 20 kB / 0.7315 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.2024, allocations: 1.109 MB / 0.7326 GB, free: 1.637 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.006525/0.209, allocations: 2.658 MB / 0.7352 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/0.2111, allocations: 0.8774 MB / 0.7361 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.2128, allocations: 0.6992 MB / 0.7368 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.2129, allocations: 13 kB / 0.7368 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.213, allocations: 43.56 kB / 0.7368 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 3.477e-06/0.213, allocations: 4 kB / 0.7368 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.02861/0.2416, allocations: 6.771 MB / 0.7434 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.2416, allocations: 60.41 kB / 0.7435 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.2432, allocations: 0.9008 MB / 0.7444 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002407/0.2434, allocations: 49.69 kB / 0.7444 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/0.2439, allocations: 0.4975 MB / 0.7449 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005672/0.2445, allocations: 376.7 kB / 0.7453 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005068/0.245, allocations: 202.9 kB / 0.7454 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2452, allocations: 349.9 kB / 0.7458 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.247, allocations: 0.7248 MB / 0.7465 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/0.249, allocations: 0.8735 MB / 0.7473 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02048/0.2694, allocations: 4.955 MB / 0.7522 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.2695, allocations: 4 kB / 0.7522 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01503/0.2845, allocations: 4.246 MB / 0.7563 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.2845, allocations: 8 kB / 0.7563 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2845, allocations: 0 / 0.7563 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006329/0.2909, allocations: 1.73 MB / 0.758 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.292, allocations: 227.7 kB / 0.7582 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/0.3151, allocations: 8.768 MB / 0.7668 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.3168, allocations: 179.2 kB / 0.767 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.3171, allocations: 39.98 kB / 0.767 GB, free: 14.05 MB / 0.545 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.0006784/0.3178, allocations: 241.8 kB / 0.7672 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.3181, allocations: 135.1 kB / 0.7674 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01436/0.3325, allocations: 3.979 MB / 0.7713 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/0.3325, allocations: 8 kB / 0.7713 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3325, allocations: 4 kB / 0.7713 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.662e-05/0.3325, allocations: 3.984 kB / 0.7713 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.3498, allocations: 4.989 MB / 0.7761 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.3498, allocations: 0 / 0.7761 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008354/0.3507, allocations: 131.8 kB / 0.7763 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006416/0.3571, allocations: 1.741 MB / 0.778 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002212/0.3573, allocations: 20 kB / 0.778 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02109/0.3784, allocations: 7.76 MB / 0.7856 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3784, allocations: 0 / 0.7856 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/0.3954, allocations: 4.941 MB / 0.7904 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/0.396, allocations: 131 kB / 0.7905 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004423/0.3965, allocations: 20 kB / 0.7905 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.3978, allocations: 107.9 kB / 0.7906 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008313/0.3986, allocations: 228.6 kB / 0.7909 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.3988, allocations: 31.92 kB / 0.7909 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001108/0.3999, allocations: 0.5973 MB / 0.7915 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.3999, allocations: 4 kB / 0.7915 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001705/0.4016, allocations: 443.6 kB / 0.7919 GB, free: 4.34 MB / 0.5606 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.01711/0.4187, allocations: 5.518 MB / 0.7973 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007693/0.4264, allocations: 2.372 MB / 0.7996 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4264, allocations: 4.062 kB / 0.7996 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005273/0.4317, allocations: 1.518 MB / 0.8011 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008889/0.4325, allocations: 94.7 kB / 0.8012 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3633/0.7959, allocations: 15.38 MB / 0.8162 GB, free: 93.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.7965, allocations: 0.5069 MB / 0.8167 GB, free: 93.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000489/0.797, allocations: 92.02 kB / 0.8168 GB, free: 93.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/0.7975, allocations: 449.4 kB / 0.8172 GB, free: 93.68 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.7975, allocations: 1.344 kB / 0.8172 GB, free: 93.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07747/0.875, allocations: 35.77 MB / 0.8521 GB, free: 72.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/15.05, allocations: 8.062 kB / 0.8522 GB, free: 72.4 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.953396901022643] Failed to read output from testmodel.py, exit status != 0: 15.194200311787426 15.205512532 15.022664579 Calling exit ...