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.001307/0.001307, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.492/1.492, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.00181/0.00181, allocations: 212.2 kB / 309.2 MB, free: 3.156 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.6225/0.6225, allocations: 107.3 MB / 473 MB, free: 30.51 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.002574/0.002574, allocations: 87.77 kB / 0.6332 GB, free: 29.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1382, allocations: 80.17 MB / 0.7115 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00735/0.1455, allocations: 5.754 MB / 0.7172 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.1497, allocations: 1.923 MB / 0.719 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000641/0.1504, allocations: 15.88 kB / 0.719 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005706/0.1509, allocations: 226 kB / 0.7193 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.1528, allocations: 0.7548 MB / 0.72 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.1543, allocations: 0.6402 MB / 0.7206 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.1562, allocations: 1.437 MB / 0.722 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004204/0.1566, allocations: 220.8 kB / 0.7222 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008682/0.1575, allocations: 0.6185 MB / 0.7228 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008697/0.1584, allocations: 0.6607 MB / 0.7235 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.1585, allocations: 111.9 kB / 0.7236 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005739/0.1591, allocations: 247.9 kB / 0.7238 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.1594, allocations: 278.8 kB / 0.7241 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.1599, allocations: 0.5127 MB / 0.7246 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.1618, allocations: 1.571 MB / 0.7261 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1618, allocations: 0 / 0.7261 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1618, allocations: 0 / 0.7261 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.386e-05/0.1618, allocations: 0 / 0.7261 GB, free: 8.438 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.008505/0.1703, allocations: 2.546 MB / 0.7286 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.1704, allocations: 12.02 kB / 0.7286 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/0.1706, allocations: 130.8 kB / 0.7288 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005573/0.1761, allocations: 0.8225 MB / 0.7296 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.1778, allocations: 0.7209 MB / 0.7303 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003651/0.1781, allocations: 311.6 kB / 0.7306 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.1783, allocations: 80 kB / 0.7306 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.1808, allocations: 1.089 MB / 0.7317 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.1808, allocations: 0 / 0.7317 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.3e-05/0.1809, allocations: 28 kB / 0.7317 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.1809, allocations: 20 kB / 0.7317 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/0.1835, allocations: 1.116 MB / 0.7328 GB, free: 1.422 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.006284/0.1898, allocations: 2.646 MB / 0.7354 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.1919, allocations: 0.8852 MB / 0.7363 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.1936, allocations: 0.6992 MB / 0.737 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.394e-05/0.1937, allocations: 20.98 kB / 0.737 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.1937, allocations: 47.5 kB / 0.737 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 7.094e-06/0.1937, allocations: 3.984 kB / 0.737 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.02832/0.222, allocations: 6.759 MB / 0.7436 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.2221, allocations: 64.41 kB / 0.7437 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.2235, allocations: 0.9086 MB / 0.7446 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002059/0.2237, allocations: 41.7 kB / 0.7446 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.2241, allocations: 0.4936 MB / 0.7451 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004715/0.2246, allocations: 372.8 kB / 0.7455 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004509/0.225, allocations: 206.9 kB / 0.7457 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.2252, allocations: 353.9 kB / 0.746 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.227, allocations: 0.7287 MB / 0.7467 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.229, allocations: 0.858 MB / 0.7475 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02026/0.2492, allocations: 4.959 MB / 0.7524 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.2493, allocations: 4 kB / 0.7524 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01428/0.2635, allocations: 4.246 MB / 0.7565 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.2636, allocations: 4 kB / 0.7565 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.2636, allocations: 4 kB / 0.7565 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006224/0.2698, allocations: 1.734 MB / 0.7582 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.271, allocations: 227.7 kB / 0.7585 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/0.293, allocations: 8.767 MB / 0.767 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.2945, allocations: 179.2 kB / 0.7672 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.2946, allocations: 39.98 kB / 0.7672 GB, free: 13.85 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.0005352/0.2952, allocations: 245.6 kB / 0.7675 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/0.2954, allocations: 139.1 kB / 0.7676 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0139/0.3093, allocations: 3.971 MB / 0.7715 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.3094, allocations: 8 kB / 0.7715 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3094, allocations: 0 / 0.7715 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/0.3094, allocations: 7.984 kB / 0.7715 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/0.3258, allocations: 4.985 MB / 0.7764 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.3258, allocations: 0 / 0.7764 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008203/0.3266, allocations: 127.8 kB / 0.7765 GB, free: 4.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006298/0.3329, allocations: 1.741 MB / 0.7782 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/0.3331, allocations: 19.98 kB / 0.7782 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02022/0.3533, allocations: 7.764 MB / 0.7858 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3533, allocations: 0 / 0.7858 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/0.3698, allocations: 4.941 MB / 0.7906 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/0.3702, allocations: 135 kB / 0.7907 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.3705, allocations: 16 kB / 0.7907 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.3716, allocations: 107.9 kB / 0.7909 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007841/0.3724, allocations: 228.6 kB / 0.7911 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.3725, allocations: 27.98 kB / 0.7911 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001023/0.3735, allocations: 0.6012 MB / 0.7917 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3735, allocations: 3.938 kB / 0.7917 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001563/0.3751, allocations: 447.6 kB / 0.7921 GB, free: 4.129 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.01691/0.392, allocations: 5.515 MB / 0.7975 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007589/0.3996, allocations: 2.368 MB / 0.7998 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.3996, allocations: 4 kB / 0.7998 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005247/0.4049, allocations: 1.523 MB / 0.8013 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009067/0.4058, allocations: 98.47 kB / 0.8014 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3247/0.7305, allocations: 15.38 MB / 0.8164 GB, free: 93.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.7311, allocations: 0.5061 MB / 0.8169 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004854/0.7316, allocations: 94.48 kB / 0.817 GB, free: 93.61 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005572/0.7321, allocations: 450.8 kB / 0.8174 GB, free: 93.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.322e-06/0.7321, allocations: 0 / 0.8174 GB, free: 93.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07243/0.8046, allocations: 35.77 MB / 0.8524 GB, free: 72.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.93, allocations: 10.14 kB / 0.8524 GB, free: 72.16 MB / 0.5762 GB " [Timeout remaining time 645] (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: 18.67888597305864] Failed to read output from testmodel.py, exit status != 0: 15.068311019800603 15.080148093 14.915819799 Calling exit ...