Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 109.2 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 242.1 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 197 kB / 294.4 MB, free: 12.64 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4046/0.4046, allocations: 78.52 MB / 425.1 MB, free: 11.18 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 83.84 kB / 0.5617 GB, free: 18.83 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.11, allocations: 68.19 MB / 0.6283 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.0071/0.1171, allocations: 6.371 MB / 0.6345 GB, free: 8.215 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.1204, allocations: 1.849 MB / 0.6363 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.1207, allocations: 12 kB / 0.6363 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.1212, allocations: 218 kB / 0.6365 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.1227, allocations: 0.7181 MB / 0.6372 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.1239, allocations: 0.6 MB / 0.6378 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.1253, allocations: 1.394 MB / 0.6391 GB, free: 3.418 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.1257, allocations: 332.2 kB / 0.6395 GB, free: 3.086 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006387/0.1264, allocations: 0.5873 MB / 0.64 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007797/0.1272, allocations: 0.7271 MB / 0.6407 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.1273, allocations: 100 kB / 0.6408 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004132/0.1277, allocations: 235.9 kB / 0.6411 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.128, allocations: 278.8 kB / 0.6413 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005291/0.1285, allocations: 0.6213 MB / 0.6419 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.1301, allocations: 1.509 MB / 0.6434 GB, free: 15.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1301, allocations: 0 / 0.6434 GB, free: 15.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1301, allocations: 0 / 0.6434 GB, free: 15.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.1301, allocations: 0 / 0.6434 GB, free: 15.02 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007456/0.1376, allocations: 2.586 MB / 0.6459 GB, free: 12.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1376, allocations: 12.03 kB / 0.646 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.1378, allocations: 134.8 kB / 0.6461 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/0.1425, allocations: 0.7757 MB / 0.6468 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.1437, allocations: 0.7732 MB / 0.6476 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/0.144, allocations: 268.1 kB / 0.6478 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.1442, allocations: 76 kB / 0.6479 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.1465, allocations: 1.073 MB / 0.649 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.1465, allocations: 3.938 kB / 0.649 GB, free: 9.164 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.035e-05/0.1466, allocations: 32 kB / 0.649 GB, free: 9.133 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.1467, allocations: 20 kB / 0.649 GB, free: 9.113 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.1492, allocations: 1.113 MB / 0.6501 GB, free: 7.996 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.005876/0.1551, allocations: 3.425 MB / 0.6535 GB, free: 4.418 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.1575, allocations: 1.42 MB / 0.6548 GB, free: 2.887 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001728/0.1593, allocations: 0.7813 MB / 0.6556 GB, free: 2.102 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.1594, allocations: 9 kB / 0.6556 GB, free: 2.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/0.1594, allocations: 43.56 kB / 0.6557 GB, free: 2.039 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.795e-06/0.1594, allocations: 0 / 0.6557 GB, free: 2.039 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02656/0.186, allocations: 6.758 MB / 0.6623 GB, free: 11.24 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.1861, allocations: 60.41 kB / 0.6623 GB, free: 11.17 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.1872, allocations: 0.8839 MB / 0.6632 GB, free: 10.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000107/0.1873, allocations: 41.7 kB / 0.6632 GB, free: 10.22 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.1877, allocations: 0.4973 MB / 0.6637 GB, free: 9.715 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/0.1881, allocations: 353 kB / 0.664 GB, free: 9.367 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.1885, allocations: 198.9 kB / 0.6642 GB, free: 9.164 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1887, allocations: 349.9 kB / 0.6646 GB, free: 8.816 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.1904, allocations: 0.7092 MB / 0.6653 GB, free: 8.109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.1921, allocations: 0.8384 MB / 0.6661 GB, free: 7.238 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01847/0.2106, allocations: 4.783 MB / 0.6707 GB, free: 2.418 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.2107, allocations: 4 kB / 0.6707 GB, free: 2.414 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01412/0.2248, allocations: 4.266 MB / 0.6749 GB, free: 14.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.2249, allocations: 8 kB / 0.6749 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.2249, allocations: 4 kB / 0.6749 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006393/0.2313, allocations: 1.858 MB / 0.6767 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.2323, allocations: 207.6 kB / 0.6769 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/0.2542, allocations: 9.091 MB / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.2556, allocations: 175.2 kB / 0.686 GB, free: 2.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.2557, allocations: 43.98 kB / 0.686 GB, free: 2.602 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0004475/0.2562, allocations: 245.5 kB / 0.6863 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.2564, allocations: 127.1 kB / 0.6864 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2277/0.4841, allocations: 4.003 MB / 0.6903 GB, free: 55.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.4841, allocations: 8.781 kB / 0.6903 GB, free: 55.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4841, allocations: 1.094 kB / 0.6903 GB, free: 55.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.4842, allocations: 3.375 kB / 0.6903 GB, free: 55.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/0.4992, allocations: 5.62 MB / 0.6958 GB, free: 54.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.4992, allocations: 3.938 kB / 0.6958 GB, free: 54.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006421/0.4998, allocations: 129 kB / 0.6959 GB, free: 54.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005969/0.5058, allocations: 1.737 MB / 0.6976 GB, free: 54.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.5059, allocations: 18.28 kB / 0.6976 GB, free: 54.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/0.5231, allocations: 8.093 MB / 0.7055 GB, free: 50.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5231, allocations: 5.406 kB / 0.7055 GB, free: 50.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.5372, allocations: 4.965 MB / 0.7104 GB, free: 48.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.5375, allocations: 208.8 kB / 0.7106 GB, free: 48.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.5377, allocations: 16.47 kB / 0.7106 GB, free: 48.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009784/0.5387, allocations: 112.6 kB / 0.7107 GB, free: 48.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006068/0.5393, allocations: 215.5 kB / 0.7109 GB, free: 48.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/0.5393, allocations: 28.48 kB / 0.7109 GB, free: 48.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006116/0.54, allocations: 0.5875 MB / 0.7115 GB, free: 48.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.54, allocations: 1.375 kB / 0.7115 GB, free: 48.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009808/0.541, allocations: 437.6 kB / 0.7119 GB, free: 47.99 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.01381/0.5548, allocations: 5.554 MB / 0.7174 GB, free: 44.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005904/0.5607, allocations: 2.47 MB / 0.7198 GB, free: 43.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5607, allocations: 0.5625 kB / 0.7198 GB, free: 43.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004257/0.565, allocations: 1.591 MB / 0.7213 GB, free: 42.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006948/0.5657, allocations: 89.17 kB / 0.7214 GB, free: 42.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03109/0.5968, allocations: 15.16 MB / 0.7362 GB, free: 27.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.5972, allocations: 1.084 MB / 0.7373 GB, free: 26.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003054/0.5975, allocations: 92.5 kB / 0.7374 GB, free: 26.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.5979, allocations: 447.3 kB / 0.7378 GB, free: 26.27 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5979, allocations: 0 / 0.7378 GB, free: 26.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05829/0.6562, allocations: 33.27 MB / 0.7703 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/16.59, allocations: 6.812 kB / 0.7703 GB, free: 9.176 MB / 0.4981 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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_Order2test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.578317455016077] Failed to read output from testmodel.py, exit status != 0: 16.704799389932305 16.718234512 16.585755078 Calling exit ...