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_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.53e-05, allocations: 11.98 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3885, allocations: 54.85 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState): time 0.7194/1.108, allocations: 208.1 MB / 0.5576 GB, free: 96 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0504/1.158, allocations: 24.62 MB / 0.5816 GB, free: 12.92 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003869/1.162, allocations: 108.8 kB / 0.5817 GB, free: 12.86 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004366/1.167, allocations: 1.002 MB / 0.5827 GB, free: 12.46 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.019/1.186, allocations: 4.354 MB / 0.5869 GB, free: 10.62 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02231/1.208, allocations: 5.637 MB / 0.5924 GB, free: 7.434 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0156/1.224, allocations: 7.017 MB / 0.5993 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006754/1.231, allocations: 3.065 MB / 0.6023 GB, free: 13.81 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/1.243, allocations: 4.264 MB / 0.6064 GB, free: 9.891 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/1.255, allocations: 4.494 MB / 0.6108 GB, free: 5.664 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03244/1.288, allocations: 10.47 MB / 0.6211 GB, free: 11.34 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006408/1.294, allocations: 0.6484 MB / 0.6217 GB, free: 10.7 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007308/1.301, allocations: 3.435 MB / 0.625 GB, free: 7.488 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005431/1.307, allocations: 0.8789 MB / 0.6259 GB, free: 6.609 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03061/1.338, allocations: 13.12 MB / 0.6387 GB, free: 9.461 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/1.338, allocations: 4 kB / 0.6387 GB, free: 9.457 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.386e-06/1.338, allocations: 3 kB / 0.6387 GB, free: 9.457 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004902/1.338, allocations: 0 / 0.6387 GB, free: 9.457 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.05918/1.397, allocations: 9.519 MB / 0.648 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.397, allocations: 8.031 kB / 0.648 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006598/1.404, allocations: 0.8407 MB / 0.6488 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/1.419, allocations: 4.21 MB / 0.653 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009205/1.42, allocations: 487.4 kB / 0.6534 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003922/1.424, allocations: 0.6361 MB / 0.654 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0459/1.47, allocations: 14.18 MB / 0.6679 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003997/1.47, allocations: 23.89 kB / 0.6679 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003318/1.474, allocations: 251.9 kB / 0.6682 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002592/1.476, allocations: 1.268 MB / 0.6694 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05395/1.53, allocations: 16.52 MB / 0.6855 GB, free: 9.5 MB / 0.5261 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.4891/2.019, allocations: 53.43 MB / 0.7377 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02986/2.049, allocations: 10.92 MB / 0.7484 GB, free: 175.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005015/2.054, allocations: 4.163 MB / 0.7524 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/2.055, allocations: 148.4 kB / 0.7526 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006996/2.062, allocations: 0.7646 MB / 0.7533 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=882): time 3.363e-05/2.062, allocations: 0 / 0.7533 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1122): time 0.533/2.595, allocations: 96.94 MB / 0.848 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/2.595, allocations: 168.2 kB / 0.8482 GB, free: 74.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007907/2.603, allocations: 3.347 MB / 0.8514 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003412/2.606, allocations: 225.7 kB / 0.8516 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001833/2.608, allocations: 2.27 MB / 0.8539 GB, free: 68.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.006381/2.615, allocations: 3.899 MB / 0.8577 GB, free: 65.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003459/2.618, allocations: 216 kB / 0.8579 GB, free: 64.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009808/2.619, allocations: 0.7614 MB / 0.8586 GB, free: 64.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03472/2.654, allocations: 10.12 MB / 0.8685 GB, free: 53.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03676/2.691, allocations: 11.7 MB / 0.8799 GB, free: 41.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03751/2.728, allocations: 11.22 MB / 0.8909 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-05/2.728, allocations: 8 kB / 0.8909 GB, free: 30.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 0.4604/3.189, allocations: 32.46 MB / 0.9226 GB, free: 198.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003164/3.192, allocations: 13.79 MB / 0.9361 GB, free: 184.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/3.192, allocations: 34.41 kB / 0.9361 GB, free: 184.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4568/3.649, allocations: 78.7 MB / 1.013 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008984/3.658, allocations: 1.109 MB / 1.014 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1224/3.781, allocations: 35.25 MB / 1.048 GB, free: 98.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0243/3.805, allocations: 1.797 MB / 1.05 GB, free: 96.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004301/3.809, allocations: 0.5973 MB / 1.051 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/3.809, allocations: 5.406 kB / 1.051 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.17/3.979, allocations: 30.91 MB / 1.081 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000182/3.98, allocations: 36.88 kB / 1.081 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.748/4.728, allocations: 53.95 MB / 1.134 GB, free: 192.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009682/4.737, allocations: 1.207 MB / 1.135 GB, free: 192.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1145/4.852, allocations: 32.18 MB / 1.166 GB, free: 183.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02929/4.881, allocations: 1.75 MB / 1.168 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00522/4.887, allocations: 0.5869 MB / 1.169 GB, free: 183.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (610): * Single equations (assignments): 609 * 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 {73 715} Notification: Performance of prepare postOptimizeDAE: time 0.01307/4.9, allocations: 2.509 MB / 1.171 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005675/4.905, allocations: 0.6353 MB / 1.172 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1181/5.024, allocations: 30.26 MB / 1.201 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001668/5.024, allocations: 116 kB / 1.201 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.794e-05/5.024, allocations: 0 / 1.201 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08338/5.107, allocations: 23.94 MB / 1.225 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1365/5.244, allocations: 42.05 MB / 1.266 GB, free: 90.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001878/5.244, allocations: 7.953 kB / 1.266 GB, free: 90.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0212/5.265, allocations: 2.126 MB / 1.268 GB, free: 88.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08362/5.349, allocations: 13.73 MB / 1.281 GB, free: 74.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003954/5.353, allocations: 0.6049 MB / 1.282 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06375/5.417, allocations: 33.19 MB / 1.314 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/5.417, allocations: 4.031 kB / 1.314 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.495/5.912, allocations: 37.12 MB / 1.351 GB, free: 198.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002862/5.915, allocations: 0.7751 MB / 1.351 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005384/5.92, allocations: 462.6 kB / 1.352 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02193/5.942, allocations: 1.44 MB / 1.353 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003405/5.946, allocations: 0.7655 MB / 1.354 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002404/5.948, allocations: 0.5451 MB / 1.354 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005356/5.953, allocations: 2.526 MB / 1.357 GB, free: 197.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.11e-07/5.953, allocations: 0 / 1.357 GB, free: 197.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.05148/6.005, allocations: 6.581 MB / 1.363 GB, free: 196.9 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,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.04608/6.051, allocations: 2.762 MB / 1.366 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.134/6.185, allocations: 37.06 MB / 1.402 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/6.185, allocations: 11.75 kB / 1.402 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0538/6.239, allocations: 12.72 MB / 1.415 GB, free: 157.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03397/6.273, allocations: 3.067 MB / 1.418 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1049/6.378, allocations: 33.81 MB / 1.451 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009608/6.388, allocations: 5.201 MB / 1.456 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008682/6.396, allocations: 0.8155 MB / 1.456 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/6.396, allocations: 0 / 1.456 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of Templates: time 2.085/8.481, allocations: 0.5377 GB / 1.994 GB, free: 142.6 MB / 0.5261 GB