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.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.001369/0.001369, 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.502/1.502, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001743/0.001743, allocations: 218.8 kB / 309.2 MB, free: 3.105 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.6636/0.6636, allocations: 107.2 MB / 472.8 MB, free: 29.79 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.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: 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.00261/0.00261, allocations: 84.41 kB / 0.6331 GB, free: 29.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1428, allocations: 80.14 MB / 0.7113 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007526/0.1503, allocations: 5.676 MB / 0.7169 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.1548, allocations: 1.872 MB / 0.7187 GB, free: 112 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000702/0.1555, allocations: 15.94 kB / 0.7187 GB, free: 96 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.1562, allocations: 218.2 kB / 0.7189 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.1582, allocations: 0.7494 MB / 0.7196 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1597, allocations: 0.6238 MB / 0.7203 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001924/0.1616, allocations: 1.413 MB / 0.7216 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004274/0.1621, allocations: 220.7 kB / 0.7218 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008283/0.1629, allocations: 0.6146 MB / 0.7224 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008877/0.1638, allocations: 0.6646 MB / 0.7231 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.164, allocations: 100 kB / 0.7232 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005245/0.1645, allocations: 239.9 kB / 0.7234 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.1648, allocations: 278.8 kB / 0.7237 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005027/0.1653, allocations: 0.501 MB / 0.7242 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.167, allocations: 1.548 MB / 0.7257 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.167, allocations: 0 / 0.7257 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.167, allocations: 0 / 0.7257 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.167, allocations: 0 / 0.7257 GB, free: 8.91 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.008284/0.1753, allocations: 2.534 MB / 0.7282 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1754, allocations: 8.031 kB / 0.7282 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.1755, allocations: 134.8 kB / 0.7283 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005236/0.1808, allocations: 0.8186 MB / 0.7291 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.1821, allocations: 0.7168 MB / 0.7298 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/0.1825, allocations: 303.6 kB / 0.7301 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.1826, allocations: 79.94 kB / 0.7302 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.185, allocations: 1.081 MB / 0.7312 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.185, allocations: 3.938 kB / 0.7312 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.1851, allocations: 28 kB / 0.7312 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.1852, allocations: 20 kB / 0.7313 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.1878, allocations: 1.113 MB / 0.7324 GB, free: 1.93 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.005876/0.1937, allocations: 2.595 MB / 0.7349 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.1958, allocations: 0.8695 MB / 0.7357 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.1974, allocations: 0.7031 MB / 0.7364 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.1975, allocations: 13 kB / 0.7364 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.1976, allocations: 43.56 kB / 0.7365 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 3.376e-06/0.1976, allocations: 3.938 kB / 0.7365 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.02732/0.2249, allocations: 6.634 MB / 0.743 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.225, allocations: 64.39 kB / 0.743 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.2262, allocations: 0.9001 MB / 0.7439 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.2264, allocations: 45.7 kB / 0.7439 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.2269, allocations: 0.4936 MB / 0.7444 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003925/0.2272, allocations: 360.9 kB / 0.7448 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/0.2276, allocations: 194.9 kB / 0.745 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2278, allocations: 353.9 kB / 0.7453 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.2295, allocations: 0.7131 MB / 0.746 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.2314, allocations: 0.8384 MB / 0.7468 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01972/0.2511, allocations: 4.892 MB / 0.7516 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.2511, allocations: 4 kB / 0.7516 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01426/0.2654, allocations: 4.227 MB / 0.7557 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.2654, allocations: 4 kB / 0.7557 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.2654, allocations: 4 kB / 0.7557 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006452/0.2719, allocations: 1.863 MB / 0.7575 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.273, allocations: 215.6 kB / 0.7578 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02287/0.2959, allocations: 8.79 MB / 0.7663 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.2975, allocations: 183.2 kB / 0.7665 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.2977, allocations: 43.97 kB / 0.7666 GB, free: 14.56 MB / 0.545 GB 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.0006258/0.2983, allocations: 247.3 kB / 0.7668 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.2986, allocations: 127.2 kB / 0.7669 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/0.3127, allocations: 3.975 MB / 0.7708 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.3128, allocations: 12 kB / 0.7708 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.3128, allocations: 3.938 kB / 0.7708 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/0.3128, allocations: 3.984 kB / 0.7708 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.3292, allocations: 4.965 MB / 0.7757 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.3292, allocations: 4 kB / 0.7757 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008647/0.3301, allocations: 127.8 kB / 0.7758 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006348/0.3365, allocations: 1.741 MB / 0.7775 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.3366, allocations: 19.94 kB / 0.7775 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0208/0.3574, allocations: 7.779 MB / 0.7851 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3574, allocations: 0 / 0.7851 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01682/0.3743, allocations: 4.941 MB / 0.7899 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.3748, allocations: 134.9 kB / 0.7901 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003875/0.3751, allocations: 20.06 kB / 0.7901 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.3765, allocations: 107.9 kB / 0.7902 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008525/0.3773, allocations: 228.5 kB / 0.7904 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/0.3774, allocations: 27.98 kB / 0.7904 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009556/0.3784, allocations: 0.5969 MB / 0.791 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3784, allocations: 0 / 0.791 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001584/0.38, allocations: 435.6 kB / 0.7914 GB, free: 4.859 MB / 0.5606 GB 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.01747/0.3975, allocations: 5.522 MB / 0.7968 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008481/0.4059, allocations: 2.366 MB / 0.7991 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.4059, allocations: 0.5625 kB / 0.7991 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005645/0.4116, allocations: 1.518 MB / 0.8006 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.4129, allocations: 84.42 kB / 0.8007 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3607/0.7736, allocations: 15.13 MB / 0.8155 GB, free: 94.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.7742, allocations: 0.4973 MB / 0.8159 GB, free: 94.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004376/0.7746, allocations: 88.14 kB / 0.816 GB, free: 94.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/0.7752, allocations: 449.7 kB / 0.8165 GB, free: 94.05 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.7752, allocations: 1.297 kB / 0.8165 GB, free: 94.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07413/0.8493, allocations: 35.53 MB / 0.8512 GB, free: 73.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.16, allocations: 7.938 kB / 0.8512 GB, free: 73.66 MB / 0.5762 GB " [Timeout remaining time 645] (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.109771203249693] Failed to read output from testmodel.py, exit status != 0: 15.29487761668861 15.305421605 15.136082163 Calling exit ...