Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-06,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.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadModel(ModelicaTest): time 1.798/1.798, allocations: 209.3 MB / 221.9 MB, free: 1.855 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.043e-05/5.063e-05, allocations: 4 kB / 273.1 MB, free: 0.7266 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 48.71 MB / 321.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.981/9.098, allocations: 3.673 GB / 3.987 GB, free: 35.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/9.099, allocations: 76.34 kB / 3.987 GB, free: 35.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13/14.23, allocations: 0.9641 GB / 4.952 GB, free: 25.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.182e-06/14.23, allocations: 0 / 4.952 GB, free: 25.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004742/14.23, allocations: 160.9 kB / 4.952 GB, free: 25.6 MB / 490.7 MB 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.04206/14.27, allocations: 9.633 MB / 4.961 GB, free: 21.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/14.27, allocations: 11.44 kB / 4.961 GB, free: 21.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007256/14.28, allocations: 0.8506 MB / 4.962 GB, free: 21.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02112/14.3, allocations: 5.741 MB / 4.968 GB, free: 20.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008059/14.3, allocations: 0.5269 MB / 4.968 GB, free: 20.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004318/14.3, allocations: 0.6997 MB / 4.969 GB, free: 20.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04275/14.35, allocations: 13.76 MB / 4.982 GB, free: 19.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004375/14.35, allocations: 31.08 kB / 4.982 GB, free: 19.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004118/14.35, allocations: 279.9 kB / 4.982 GB, free: 19.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008907/14.35, allocations: 0.7113 MB / 4.983 GB, free: 19.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04187/14.4, allocations: 16.08 MB / 4.999 GB, free: 19.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1139/14.51, allocations: 42.15 MB / 5.04 GB, free: 6.363 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02514/14.53, allocations: 10.44 MB / 5.05 GB, free: 1.906 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.04085/14.58, allocations: 8.426 MB / 5.058 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006092/14.58, allocations: 4.183 MB / 5.063 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/14.58, allocations: 142.9 kB / 5.063 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007306/14.59, allocations: 0.8537 MB / 5.063 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=882): time 3.329e-05/14.59, allocations: 3.656 kB / 5.063 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1122): time 0.7284/15.32, allocations: 83.48 MB / 5.145 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/15.32, allocations: 167.4 kB / 5.145 GB, free: 46.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008584/15.33, allocations: 3.328 MB / 5.148 GB, free: 46.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003828/15.33, allocations: 228.8 kB / 5.149 GB, free: 45.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002074/15.33, allocations: 2.233 MB / 5.151 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.006765/15.34, allocations: 3.893 MB / 5.155 GB, free: 43.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003702/15.34, allocations: 217.7 kB / 5.155 GB, free: 43.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001207/15.34, allocations: 0.7497 MB / 5.156 GB, free: 42.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02064/15.36, allocations: 8.733 MB / 5.164 GB, free: 42.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02276/15.39, allocations: 10.12 MB / 5.174 GB, free: 41.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0237/15.41, allocations: 9.813 MB / 5.184 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.179e-05/15.41, allocations: 7.469 kB / 5.184 GB, free: 41.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.07921/15.49, allocations: 28.23 MB / 5.211 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002485/15.49, allocations: 11.88 MB / 5.223 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00016/15.49, allocations: 29.59 kB / 5.223 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7329/16.23, allocations: 75.64 MB / 5.297 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007019/16.23, allocations: 1.073 MB / 5.298 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0861/16.32, allocations: 31.56 MB / 5.329 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01871/16.34, allocations: 1.784 MB / 5.33 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004764/16.34, allocations: 0.5903 MB / 5.331 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/16.34, allocations: 6.453 kB / 5.331 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07746/16.42, allocations: 26.9 MB / 5.357 GB, free: 60.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001738/16.42, allocations: 32.06 kB / 5.357 GB, free: 60.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2722/16.69, allocations: 52.06 MB / 5.408 GB, free: 60.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00739/16.7, allocations: 1.176 MB / 5.409 GB, free: 60.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06721/16.77, allocations: 28.46 MB / 5.437 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01614/16.78, allocations: 1.756 MB / 5.439 GB, free: 40.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004162/16.79, allocations: 0.5866 MB / 5.439 GB, free: 40.12 MB / 0.5261 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.006913/16.79, allocations: 0.6039 MB / 5.44 GB, free: 39.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004612/16.8, allocations: 0.6422 MB / 5.44 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07346/16.87, allocations: 26.78 MB / 5.467 GB, free: 17.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001304/16.87, allocations: 123.1 kB / 5.467 GB, free: 17.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.329e-05/16.87, allocations: 2.844 kB / 5.467 GB, free: 17.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4216/17.29, allocations: 20.45 MB / 5.487 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1163/17.41, allocations: 41.33 MB / 5.527 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001417/17.41, allocations: 3.219 kB / 5.527 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01625/17.43, allocations: 2.133 MB / 5.529 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05223/17.48, allocations: 11.68 MB / 5.541 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00382/17.48, allocations: 0.6055 MB / 5.541 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03346/17.52, allocations: 30.02 MB / 5.57 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/17.52, allocations: 2.5 kB / 5.57 GB, free: 38.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09097/17.61, allocations: 35.14 MB / 5.605 GB, free: 35.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002888/17.61, allocations: 0.7894 MB / 5.606 GB, free: 34.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00464/17.62, allocations: 460.9 kB / 5.606 GB, free: 34.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01631/17.63, allocations: 1.441 MB / 5.607 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003723/17.64, allocations: 0.7769 MB / 5.608 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003771/17.64, allocations: 0.5479 MB / 5.609 GB, free: 34.37 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005462/17.65, allocations: 2.514 MB / 5.611 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.101e-06/17.65, allocations: 0 / 5.611 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03113/17.68, allocations: 6.904 MB / 5.618 GB, free: 32.79 MB / 0.5261 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.01541/17.69, allocations: 3.985 MB / 5.622 GB, free: 32.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.08267/17.77, allocations: 32.65 MB / 5.654 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/17.77, allocations: 4.781 kB / 5.654 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02864/17.8, allocations: 11.4 MB / 5.665 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01983/17.82, allocations: 3.061 MB / 5.668 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5033/18.33, allocations: 28.04 MB / 5.695 GB, free: 56.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01019/18.34, allocations: 5.201 MB / 5.7 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00694/18.34, allocations: 0.8117 MB / 5.701 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.63e-06/18.34, allocations: 4 kB / 5.701 GB, free: 55.62 MB / 0.5261 GB Notification: Performance of Templates: time 1.574/19.92, allocations: 0.5398 GB / 6.241 GB, free: 39.75 MB / 0.573 GB