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.892/1.892, allocations: 209.3 MB / 224.4 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.263e-05, allocations: 7.984 kB / 276.2 MB, free: 15.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3561, allocations: 48.69 MB / 324.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState): time 0.7095/1.066, allocations: 207.8 MB / 0.5202 GB, free: 1.953 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04574/1.111, allocations: 24.48 MB / 0.5441 GB, free: 15.64 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003745/1.115, allocations: 110.3 kB / 0.5442 GB, free: 15.64 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004128/1.119, allocations: 0.9771 MB / 0.5451 GB, free: 15.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01809/1.138, allocations: 4.351 MB / 0.5494 GB, free: 14.08 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02118/1.159, allocations: 5.621 MB / 0.5549 GB, free: 12.14 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01377/1.173, allocations: 6.977 MB / 0.5617 GB, free: 10.74 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00658/1.179, allocations: 3.059 MB / 0.5647 GB, free: 9.43 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01252/1.192, allocations: 4.183 MB / 0.5688 GB, free: 7.262 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01296/1.205, allocations: 4.439 MB / 0.5731 GB, free: 3.992 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03326/1.238, allocations: 10.33 MB / 0.5832 GB, free: 11.95 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006601/1.245, allocations: 0.6484 MB / 0.5838 GB, free: 11.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007695/1.252, allocations: 3.379 MB / 0.5871 GB, free: 8.844 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00579/1.258, allocations: 0.8672 MB / 0.588 GB, free: 7.977 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03081/1.289, allocations: 13.11 MB / 0.6008 GB, free: 12.51 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.289, allocations: 0 / 0.6008 GB, free: 12.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.376e-06/1.289, allocations: 0 / 0.6008 GB, free: 12.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004502/1.29, allocations: 0 / 0.6008 GB, free: 12.51 MB / 458.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.05991/1.35, allocations: 9.519 MB / 0.6101 GB, free: 3.59 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/1.35, allocations: 8.031 kB / 0.6101 GB, free: 3.582 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007084/1.357, allocations: 0.8317 MB / 0.6109 GB, free: 2.746 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/1.372, allocations: 4.202 MB / 0.615 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009611/1.373, allocations: 489 kB / 0.6155 GB, free: 15.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004475/1.378, allocations: 0.6297 MB / 0.6161 GB, free: 15.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04673/1.424, allocations: 14.19 MB / 0.6299 GB, free: 1.977 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004028/1.425, allocations: 22.44 kB / 0.63 GB, free: 1.957 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003495/1.428, allocations: 260.2 kB / 0.6302 GB, free: 1.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0027/1.431, allocations: 1.259 MB / 0.6314 GB, free: 484 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05293/1.484, allocations: 16.53 MB / 0.6476 GB, free: 15.94 MB / 0.4948 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.4674/1.952, allocations: 47.99 MB / 0.6944 GB, free: 186.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03404/1.986, allocations: 10.92 MB / 0.7051 GB, free: 181 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006744/1.993, allocations: 4.154 MB / 0.7092 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/1.993, allocations: 150.3 kB / 0.7093 GB, free: 176.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00874/2.002, allocations: 0.7647 MB / 0.71 GB, free: 175.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=882): time 3.829e-05/2.002, allocations: 1.281 kB / 0.71 GB, free: 175.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1122): time 0.553/2.555, allocations: 96.93 MB / 0.8047 GB, free: 88.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/2.555, allocations: 168.2 kB / 0.8049 GB, free: 87.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007797/2.563, allocations: 3.347 MB / 0.8081 GB, free: 84.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.003688/2.567, allocations: 229.7 kB / 0.8084 GB, free: 84.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001873/2.568, allocations: 2.266 MB / 0.8106 GB, free: 82.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006824/2.575, allocations: 3.897 MB / 0.8144 GB, free: 78.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003428/2.579, allocations: 220 kB / 0.8146 GB, free: 77.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009282/2.58, allocations: 0.7575 MB / 0.8153 GB, free: 77.22 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03609/2.616, allocations: 10.12 MB / 0.8252 GB, free: 67.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03668/2.653, allocations: 11.7 MB / 0.8366 GB, free: 54.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05637/2.709, allocations: 11.21 MB / 0.8476 GB, free: 43.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-05/2.709, allocations: 8 kB / 0.8476 GB, free: 43.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 0.1493/2.859, allocations: 32.47 MB / 0.8793 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.3234/3.182, allocations: 13.78 MB / 0.8928 GB, free: 195.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/3.182, allocations: 36.92 kB / 0.8928 GB, free: 195.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4947/3.677, allocations: 77.22 MB / 0.9682 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008952/3.686, allocations: 1.117 MB / 0.9693 GB, free: 147.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1268/3.813, allocations: 35.25 MB / 1.004 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03013/3.843, allocations: 1.791 MB / 1.005 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00654/3.85, allocations: 0.6012 MB / 1.006 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/3.85, allocations: 3.594 kB / 1.006 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1651/4.015, allocations: 30.91 MB / 1.036 GB, free: 79.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002373/4.015, allocations: 32 kB / 1.036 GB, free: 79.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4447/4.46, allocations: 53.31 MB / 1.088 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0124/4.472, allocations: 1.217 MB / 1.09 GB, free: 24.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4571/4.929, allocations: 32.17 MB / 1.121 GB, free: 186.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02318/4.953, allocations: 1.748 MB / 1.123 GB, free: 186.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004725/4.958, allocations: 0.5912 MB / 1.123 GB, free: 186 MB / 0.4948 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.01237/4.97, allocations: 2.503 MB / 1.126 GB, free: 184.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005182/4.975, allocations: 0.6415 MB / 1.126 GB, free: 184.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1385/5.114, allocations: 30.26 MB / 1.156 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002055/5.114, allocations: 116 kB / 1.156 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.326e-05/5.114, allocations: 4 kB / 1.156 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09129/5.205, allocations: 23.93 MB / 1.179 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.148/5.353, allocations: 42.06 MB / 1.22 GB, free: 99.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001863/5.354, allocations: 0 / 1.22 GB, free: 99.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02093/5.375, allocations: 2.13 MB / 1.223 GB, free: 97.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08602/5.461, allocations: 13.73 MB / 1.236 GB, free: 83.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005145/5.466, allocations: 0.6126 MB / 1.237 GB, free: 82.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06669/5.533, allocations: 33.2 MB / 1.269 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/5.533, allocations: 0 / 1.269 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.13/5.663, allocations: 37.11 MB / 1.305 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003092/5.666, allocations: 0.7894 MB / 1.306 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006061/5.672, allocations: 463.7 kB / 1.306 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02306/5.695, allocations: 1.435 MB / 1.308 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004467/5.7, allocations: 0.7622 MB / 1.309 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003872/5.704, allocations: 0.5504 MB / 1.309 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.3254/6.029, allocations: 2.522 MB / 1.312 GB, free: 192.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.264e-06/6.029, allocations: 0 / 1.312 GB, free: 192.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.03621/6.065, allocations: 6.565 MB / 1.318 GB, free: 192 MB / 0.4948 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.01629/6.082, allocations: 2.761 MB / 1.321 GB, free: 191.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.1447/6.226, allocations: 37.07 MB / 1.357 GB, free: 180.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.28e-05/6.227, allocations: 5 kB / 1.357 GB, free: 180.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.04617/6.273, allocations: 12.72 MB / 1.369 GB, free: 168.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02788/6.301, allocations: 3.076 MB / 1.372 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1072/6.408, allocations: 33.82 MB / 1.405 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01012/6.418, allocations: 5.197 MB / 1.41 GB, free: 126.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008703/6.427, allocations: 0.8193 MB / 1.411 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/6.427, allocations: 0 / 1.411 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of Templates: time 1.852/8.279, allocations: 0.5375 GB / 1.949 GB, free: 135.3 MB / 0.4948 GB