Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.1..Xi.1.|pipe1.mediums.1..p|pipe1.mediums.2..T|pipe1.mediums.2..Xi.1.|pipe1.mediums.2..p|pipe1.mediums.3..T|pipe1.mediums.3..Xi.1.|pipe1.mediums.3..p|pipe1.mediums.4..T|pipe1.mediums.4..Xi.1.|pipe1.mediums.4..p|pipe1.mediums.5..T|pipe1.mediums.5..Xi.1.|pipe1.mediums.5..p|pipe2.mediums.1..T|pipe2.mediums.1..Xi.1.|pipe2.mediums.1..p|pipe2.mediums.2..T|pipe2.mediums.2..Xi.1.|pipe2.mediums.2..p|pipe2.mediums.3..T|pipe2.mediums.3..Xi.1.|pipe2.mediums.3..p|pipe2.mediums.4..T|pipe2.mediums.4..Xi.1.|pipe2.mediums.4..p|pipe2.mediums.5..T|pipe2.mediums.5..Xi.1.|pipe2.mediums.5..p|pipe3.mediums.1..T|pipe3.mediums.1..Xi.1.|pipe3.mediums.1..p|pipe3.mediums.2..T|pipe3.mediums.2..Xi.1.|pipe3.mediums.2..p|pipe3.mediums.3..T|pipe3.mediums.3..Xi.1.|pipe3.mediums.3..p|pipe3.mediums.4..T|pipe3.mediums.4..Xi.1.|pipe3.mediums.4..p|pipe3.mediums.5..T|pipe3.mediums.5..Xi.1.|pipe3.mediums.5..p|pipe4.mediums.1..T|pipe4.mediums.1..Xi.1.|pipe4.mediums.1..p|pipe4.mediums.2..T|pipe4.mediums.2..Xi.1.|pipe4.mediums.2..p|pipe4.mediums.3..T|pipe4.mediums.3..Xi.1.|pipe4.mediums.3..p|pipe4.mediums.4..T|pipe4.mediums.4..Xi.1.|pipe4.mediums.4..p|pipe4.mediums.5..T|pipe4.mediums.5..Xi.1.|pipe4.mediums.5..p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadModel(ModelicaTest): time 2.186/2.186, allocations: 235 MB / 247.2 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.227e-05, allocations: 6.656 kB / 304.9 MB, free: 5.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3281, allocations: 54.86 MB / 359.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.811/9.139, allocations: 3.68 GB / 4.031 GB, free: 74.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/9.14, allocations: 79.8 kB / 4.031 GB, free: 74.69 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.063/14.2, allocations: 0.9744 GB / 5.006 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.963e-06/14.2, allocations: 0 / 5.006 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000487/14.2, allocations: 161.7 kB / 5.006 GB, free: 19.68 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.04306/14.25, allocations: 9.636 MB / 5.015 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/14.25, allocations: 11.75 kB / 5.015 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008094/14.25, allocations: 0.8676 MB / 5.016 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02203/14.28, allocations: 5.746 MB / 5.022 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008506/14.28, allocations: 0.5187 MB / 5.022 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004549/14.28, allocations: 0.7025 MB / 5.023 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04414/14.33, allocations: 13.75 MB / 5.036 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004949/14.33, allocations: 14.86 kB / 5.036 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004263/14.33, allocations: 293.4 kB / 5.037 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008527/14.33, allocations: 0.7052 MB / 5.037 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04775/14.38, allocations: 16.3 MB / 5.053 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5189/14.9, allocations: 47.58 MB / 5.1 GB, free: 38.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02477/14.92, allocations: 10.44 MB / 5.11 GB, free: 38.86 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01589/14.94, allocations: 7.111 MB / 5.117 GB, free: 38.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004517/14.94, allocations: 4.185 MB / 5.121 GB, free: 34.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/14.94, allocations: 142.7 kB / 5.121 GB, free: 34.53 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00734/14.95, allocations: 0.852 MB / 5.122 GB, free: 34.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=882): time 3.913e-05/14.95, allocations: 0 / 5.122 GB, free: 34.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1122): time 0.3567/15.31, allocations: 83.19 MB / 5.203 GB, free: 31.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/15.31, allocations: 169.4 kB / 5.203 GB, free: 31.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007502/15.32, allocations: 3.332 MB / 5.207 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.003558/15.32, allocations: 229 kB / 5.207 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002229/15.32, allocations: 2.405 MB / 5.209 GB, free: 28.23 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.006447/15.33, allocations: 3.899 MB / 5.213 GB, free: 25.39 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003589/15.33, allocations: 217.1 kB / 5.213 GB, free: 25.22 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001036/15.33, allocations: 0.7462 MB / 5.214 GB, free: 24.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02017/15.35, allocations: 8.734 MB / 5.222 GB, free: 21.67 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0226/15.38, allocations: 10.12 MB / 5.232 GB, free: 17.04 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02312/15.4, allocations: 9.816 MB / 5.242 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.139e-05/15.4, allocations: 8 kB / 5.242 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.08714/15.49, allocations: 28.47 MB / 5.27 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.006989/15.49, allocations: 13.04 MB / 5.282 GB, free: 3.059 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/15.49, allocations: 32.84 kB / 5.282 GB, free: 3.027 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7807/16.27, allocations: 77.57 MB / 5.358 GB, free: 77.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006626/16.28, allocations: 1.071 MB / 5.359 GB, free: 77.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1011/16.38, allocations: 31.56 MB / 5.39 GB, free: 76.22 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03235/16.41, allocations: 1.782 MB / 5.392 GB, free: 76.22 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006278/16.42, allocations: 0.5959 MB / 5.392 GB, free: 76.22 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/16.42, allocations: 5.062 kB / 5.392 GB, free: 76.22 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1242/16.54, allocations: 26.9 MB / 5.419 GB, free: 63.06 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/16.54, allocations: 28 kB / 5.419 GB, free: 63.03 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.286/16.83, allocations: 67.3 MB / 5.484 GB, free: 12.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007363/16.84, allocations: 1.172 MB / 5.485 GB, free: 12.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5064/17.34, allocations: 29.74 MB / 5.515 GB, free: 71.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01881/17.36, allocations: 1.753 MB / 5.516 GB, free: 71.44 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004844/17.37, allocations: 0.5841 MB / 5.517 GB, free: 71.44 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {72 716} Notification: Performance of prepare postOptimizeDAE: time 0.007704/17.38, allocations: 0.6043 MB / 5.517 GB, free: 71.33 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00545/17.38, allocations: 0.6438 MB / 5.518 GB, free: 71.33 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07971/17.46, allocations: 26.79 MB / 5.544 GB, free: 70.46 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001887/17.46, allocations: 118.8 kB / 5.544 GB, free: 70.46 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.153e-05/17.46, allocations: 4.062 kB / 5.544 GB, free: 70.46 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05574/17.52, allocations: 20.43 MB / 5.564 GB, free: 69.73 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1153/17.63, allocations: 41.32 MB / 5.605 GB, free: 64.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001308/17.63, allocations: 0 / 5.605 GB, free: 64.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01691/17.65, allocations: 2.136 MB / 5.607 GB, free: 64.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05027/17.7, allocations: 11.68 MB / 5.618 GB, free: 62.59 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004148/17.7, allocations: 0.6022 MB / 5.619 GB, free: 62.37 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03374/17.74, allocations: 30.02 MB / 5.648 GB, free: 40.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.553e-06/17.74, allocations: 0 / 5.648 GB, free: 40.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09448/17.83, allocations: 35.13 MB / 5.682 GB, free: 23.82 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003035/17.84, allocations: 0.7881 MB / 5.683 GB, free: 23.08 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005199/17.84, allocations: 462.9 kB / 5.684 GB, free: 22.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01672/17.86, allocations: 1.448 MB / 5.685 GB, free: 21.75 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004167/17.86, allocations: 0.7664 MB / 5.686 GB, free: 21.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004499/17.87, allocations: 0.5521 MB / 5.686 GB, free: 20.85 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006114/17.87, allocations: 2.517 MB / 5.689 GB, free: 18.61 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.147e-06/17.87, allocations: 0.6875 kB / 5.689 GB, free: 18.61 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0352/17.91, allocations: 6.923 MB / 5.695 GB, free: 12.36 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1057): * Single equations (assignments): 1030 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,4 20,2 6,2 6,2 6,2 6,2 6,2 6,4 20,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01723/17.93, allocations: 4.001 MB / 5.699 GB, free: 10.07 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.5236/18.45, allocations: 35.1 MB / 5.734 GB, free: 74.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/18.45, allocations: 6.281 kB / 5.734 GB, free: 74.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.03019/18.48, allocations: 11.4 MB / 5.745 GB, free: 73.52 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01986/18.5, allocations: 3.065 MB / 5.748 GB, free: 73.49 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07199/18.57, allocations: 25.99 MB / 5.773 GB, free: 70 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01058/18.58, allocations: 5.201 MB / 5.778 GB, free: 69.04 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02764/18.61, allocations: 5.539 MB / 5.784 GB, free: 68.52 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00715/18.62, allocations: 0.7196 MB / 5.784 GB, free: 68.51 MB / 0.573 GB Notification: Performance of SimCode: time 2.896e-06/18.62, allocations: 0 / 5.784 GB, free: 68.51 MB / 0.573 GB Notification: Performance of Templates: time 1.959/20.58, allocations: 406.2 MB / 6.181 GB, free: 79.22 MB / 0.6043 GB