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.001803/0.001803, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.465/1.465, allocations: 230.6 MB / 252.6 MB, free: 8.297 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.001572/0.001572, allocations: 209.9 kB / 309.2 MB, free: 3.145 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.4446/0.4446, allocations: 79.74 MB / 445.4 MB, free: 14.85 MB / 318.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.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.002521/0.002521, allocations: 86.06 kB / 0.5929 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1344, allocations: 73.3 MB / 0.6645 GB, free: 4.559 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007706/0.1421, allocations: 6.451 MB / 0.6708 GB, free: 14.08 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00415/0.1462, allocations: 1.962 MB / 0.6727 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007483/0.147, allocations: 15.94 kB / 0.6728 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.1476, allocations: 222 kB / 0.673 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.1497, allocations: 0.7753 MB / 0.6737 GB, free: 11.1 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.1513, allocations: 0.6439 MB / 0.6744 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.1533, allocations: 1.405 MB / 0.6757 GB, free: 9.051 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.1538, allocations: 228.8 kB / 0.6759 GB, free: 8.816 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009213/0.1547, allocations: 0.6107 MB / 0.6765 GB, free: 8.203 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009433/0.1556, allocations: 0.7272 MB / 0.6773 GB, free: 7.473 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.1558, allocations: 104 kB / 0.6774 GB, free: 7.371 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005294/0.1563, allocations: 251.9 kB / 0.6776 GB, free: 7.125 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.1566, allocations: 286.7 kB / 0.6779 GB, free: 6.844 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005763/0.1572, allocations: 0.6096 MB / 0.6785 GB, free: 6.23 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.1591, allocations: 1.536 MB / 0.68 GB, free: 4.688 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1591, allocations: 0 / 0.68 GB, free: 4.688 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1591, allocations: 3.938 kB / 0.68 GB, free: 4.684 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.298e-05/0.1591, allocations: 0 / 0.68 GB, free: 4.684 MB / 478.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.008413/0.1676, allocations: 2.53 MB / 0.6824 GB, free: 2.113 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1676, allocations: 11.98 kB / 0.6824 GB, free: 2.102 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/0.1678, allocations: 134.8 kB / 0.6826 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005364/0.1731, allocations: 0.8147 MB / 0.6834 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.1746, allocations: 0.7168 MB / 0.6841 GB, free: 392 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003659/0.175, allocations: 315.5 kB / 0.6844 GB, free: 28 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.1752, allocations: 72.08 kB / 0.6844 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.1777, allocations: 1.081 MB / 0.6855 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.1777, allocations: 0 / 0.6855 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.47e-05/0.1778, allocations: 28 kB / 0.6855 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.1778, allocations: 20 kB / 0.6855 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002729/0.1806, allocations: 1.117 MB / 0.6866 GB, free: 13.7 MB / 494.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.006521/0.1871, allocations: 3.383 MB / 0.6899 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.1892, allocations: 0.8773 MB / 0.6908 GB, free: 9.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.1908, allocations: 0.6992 MB / 0.6915 GB, free: 8.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.191, allocations: 13 kB / 0.6915 GB, free: 8.578 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.191, allocations: 43.56 kB / 0.6915 GB, free: 8.527 MB / 494.1 MB Notification: Performance of pre-optimization done (n=96): time 3.115e-06/0.191, allocations: 4 kB / 0.6915 GB, free: 8.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.02711/0.2181, allocations: 6.65 MB / 0.698 GB, free: 1.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.2182, allocations: 64.39 kB / 0.6981 GB, free: 1.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.2194, allocations: 0.8885 MB / 0.699 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.2196, allocations: 41.7 kB / 0.699 GB, free: 0.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.2201, allocations: 0.5013 MB / 0.6995 GB, free: 332 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2345/0.4546, allocations: 352.5 kB / 0.6998 GB, free: 33.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004172/0.455, allocations: 194.7 kB / 0.7 GB, free: 33.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.455, allocations: 353.5 kB / 0.7003 GB, free: 32.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.4566, allocations: 0.7096 MB / 0.701 GB, free: 32.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.4581, allocations: 0.84 MB / 0.7019 GB, free: 32.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01953/0.4776, allocations: 4.892 MB / 0.7066 GB, free: 32.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.4777, allocations: 5.391 kB / 0.7066 GB, free: 32.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01411/0.4918, allocations: 4.234 MB / 0.7108 GB, free: 32.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.4918, allocations: 6.75 kB / 0.7108 GB, free: 32.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.4918, allocations: 2.406 kB / 0.7108 GB, free: 32.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006562/0.4984, allocations: 1.86 MB / 0.7126 GB, free: 32.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.4995, allocations: 210.1 kB / 0.7128 GB, free: 32.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/0.52, allocations: 8.996 MB / 0.7216 GB, free: 28.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.5215, allocations: 175 kB / 0.7218 GB, free: 28.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.5216, allocations: 39.06 kB / 0.7218 GB, free: 28.03 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.0004414/0.522, allocations: 245.1 kB / 0.722 GB, free: 27.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.5222, allocations: 124.5 kB / 0.7221 GB, free: 27.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/0.5346, allocations: 3.972 MB / 0.726 GB, free: 26.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.5346, allocations: 9.375 kB / 0.726 GB, free: 26.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5346, allocations: 0 / 0.726 GB, free: 26.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.5346, allocations: 9 kB / 0.726 GB, free: 26.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.5485, allocations: 5.566 MB / 0.7315 GB, free: 23.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.5486, allocations: 0 / 0.7315 GB, free: 23.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007179/0.5493, allocations: 132.9 kB / 0.7316 GB, free: 23.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005334/0.5546, allocations: 1.739 MB / 0.7333 GB, free: 22.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/0.5548, allocations: 23.95 kB / 0.7333 GB, free: 22.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/0.5709, allocations: 7.962 MB / 0.7411 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.5709, allocations: 11.88 kB / 0.7411 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.5845, allocations: 4.93 MB / 0.7459 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.5848, allocations: 138.3 kB / 0.7461 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.585, allocations: 16 kB / 0.7461 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/0.586, allocations: 115.9 kB / 0.7462 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006197/0.5866, allocations: 224.5 kB / 0.7464 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.5867, allocations: 24 kB / 0.7464 GB, free: 10.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006262/0.5873, allocations: 0.6008 MB / 0.747 GB, free: 9.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5873, allocations: 0 / 0.747 GB, free: 9.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001188/0.5885, allocations: 437.3 kB / 0.7474 GB, free: 9.289 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.0136/0.6021, allocations: 5.525 MB / 0.7528 GB, free: 3.738 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006189/0.6083, allocations: 2.35 MB / 0.7551 GB, free: 1.375 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6083, allocations: 0 / 0.7551 GB, free: 1.375 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004543/0.6128, allocations: 1.522 MB / 0.7566 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008466/0.6137, allocations: 93.22 kB / 0.7567 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04052/0.6542, allocations: 15.13 MB / 0.7715 GB, free: 476 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000811/0.655, allocations: 1.092 MB / 0.7725 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004129/0.6554, allocations: 87.84 kB / 0.7726 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006459/0.6561, allocations: 455.3 kB / 0.773 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of SimCode: time 1.392e-06/0.6561, allocations: 0 / 0.773 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08184/0.7379, allocations: 34.61 MB / 0.8068 GB, free: 12.38 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.25/18.99, allocations: 9.516 kB / 0.8069 GB, free: 12.38 MB / 0.545 GB " [Timeout remaining time 641] (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: 22.390811852001207] Failed to read output from testmodel.py, exit status != 0: 19.11784955800249 19.133135074 18.970875107 Calling exit ...