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_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.759e-05/3.735e-05, allocations: 7.938 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4065, allocations: 48.69 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState): time 0.7575/1.164, allocations: 207.8 MB / 0.5202 GB, free: 2.004 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04877/1.213, allocations: 24.48 MB / 0.5441 GB, free: 15.75 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003804/1.217, allocations: 112.1 kB / 0.5442 GB, free: 15.75 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004535/1.221, allocations: 0.9802 MB / 0.5452 GB, free: 15.45 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01911/1.241, allocations: 4.347 MB / 0.5494 GB, free: 14.2 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02176/1.262, allocations: 5.626 MB / 0.5549 GB, free: 12.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01572/1.278, allocations: 6.964 MB / 0.5617 GB, free: 10.86 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007243/1.285, allocations: 3.061 MB / 0.5647 GB, free: 9.551 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01221/1.298, allocations: 4.183 MB / 0.5688 GB, free: 7.375 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01288/1.311, allocations: 4.443 MB / 0.5731 GB, free: 4.105 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03352/1.344, allocations: 10.33 MB / 0.5832 GB, free: 12.07 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006766/1.351, allocations: 0.6484 MB / 0.5838 GB, free: 11.42 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009344/1.36, allocations: 3.381 MB / 0.5872 GB, free: 8.957 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007267/1.368, allocations: 0.8672 MB / 0.588 GB, free: 8.09 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03052/1.398, allocations: 13.11 MB / 0.6008 GB, free: 12.63 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.398, allocations: 0 / 0.6008 GB, free: 12.63 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.897e-06/1.398, allocations: 0 / 0.6008 GB, free: 12.63 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004715/1.399, allocations: 0 / 0.6008 GB, free: 12.63 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.06112/1.46, allocations: 9.514 MB / 0.6101 GB, free: 3.711 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.46, allocations: 11.97 kB / 0.6101 GB, free: 3.699 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006995/1.467, allocations: 0.8288 MB / 0.6109 GB, free: 2.863 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/1.483, allocations: 4.209 MB / 0.615 GB, free: 15.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009325/1.484, allocations: 484.1 kB / 0.6155 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004105/1.488, allocations: 0.6303 MB / 0.6161 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04897/1.537, allocations: 14.18 MB / 0.63 GB, free: 1.977 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004757/1.537, allocations: 23.89 kB / 0.63 GB, free: 1.953 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003602/1.541, allocations: 261.4 kB / 0.6302 GB, free: 1.727 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002685/1.544, allocations: 1.259 MB / 0.6315 GB, free: 480 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0551/1.599, 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.4913/2.09, allocations: 48 MB / 0.6945 GB, free: 186.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03088/2.121, allocations: 10.92 MB / 0.7051 GB, free: 181.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005641/2.127, allocations: 4.151 MB / 0.7092 GB, free: 176.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003705/2.127, allocations: 146.4 kB / 0.7093 GB, free: 176.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00903/2.136, allocations: 0.7643 MB / 0.7101 GB, free: 176.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=882): time 3.832e-05/2.137, allocations: 0 / 0.7101 GB, free: 176.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1122): time 0.5453/2.682, allocations: 96.94 MB / 0.8047 GB, free: 87.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/2.682, allocations: 164.2 kB / 0.8049 GB, free: 87.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008233/2.69, allocations: 3.351 MB / 0.8082 GB, free: 84.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.004224/2.695, allocations: 225.7 kB / 0.8084 GB, free: 84.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002637/2.697, allocations: 2.439 MB / 0.8108 GB, free: 81.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00805/2.705, allocations: 3.896 MB / 0.8146 GB, free: 77.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00353/2.709, allocations: 216 kB / 0.8148 GB, free: 77.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009626/2.71, allocations: 0.7528 MB / 0.8155 GB, free: 76.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03543/2.745, allocations: 10.12 MB / 0.8254 GB, free: 66.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03765/2.783, allocations: 11.71 MB / 0.8368 GB, free: 54.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03879/2.822, allocations: 11.21 MB / 0.8478 GB, free: 43.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-05/2.822, allocations: 12 kB / 0.8478 GB, free: 43.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 0.1232/2.945, allocations: 32.66 MB / 0.8797 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.3142/3.26, allocations: 15.08 MB / 0.8944 GB, free: 194.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/3.26, allocations: 34.25 kB / 0.8944 GB, free: 194.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5861/3.846, allocations: 77.22 MB / 0.9699 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009354/3.855, allocations: 1.111 MB / 0.9709 GB, free: 146.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1236/3.979, allocations: 35.25 MB / 1.005 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02492/4.004, allocations: 1.794 MB / 1.007 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004229/4.008, allocations: 0.6051 MB / 1.008 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/4.008, allocations: 11.53 kB / 1.008 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1123/4.121, allocations: 30.91 MB / 1.038 GB, free: 77.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001977/4.121, allocations: 36 kB / 1.038 GB, free: 77.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7109/4.832, allocations: 66.56 MB / 1.103 GB, free: 183.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/4.842, allocations: 1.21 MB / 1.104 GB, free: 183.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1134/4.956, allocations: 32.21 MB / 1.136 GB, free: 175.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02423/4.98, allocations: 1.756 MB / 1.137 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004323/4.984, allocations: 0.5868 MB / 1.138 GB, free: 175 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.01107/4.995, allocations: 2.504 MB / 1.14 GB, free: 173.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005298/5.001, allocations: 0.6368 MB / 1.141 GB, free: 173.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1116/5.112, allocations: 30.25 MB / 1.17 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001605/5.113, allocations: 116 kB / 1.171 GB, free: 151.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.097e-05/5.113, allocations: 7.844 kB / 1.171 GB, free: 151.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0866/5.199, allocations: 23.93 MB / 1.194 GB, free: 127 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1376/5.337, allocations: 42.05 MB / 1.235 GB, free: 85.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000168/5.337, allocations: 0 / 1.235 GB, free: 85.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02099/5.358, allocations: 2.131 MB / 1.237 GB, free: 82.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08376/5.442, allocations: 13.73 MB / 1.251 GB, free: 69.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004197/5.446, allocations: 0.6088 MB / 1.251 GB, free: 68.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06365/5.51, allocations: 33.19 MB / 1.284 GB, free: 34.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/5.51, allocations: 0 / 1.284 GB, free: 34.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4402/5.95, allocations: 37.11 MB / 1.32 GB, free: 191 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003539/5.954, allocations: 0.7826 MB / 1.321 GB, free: 190.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005835/5.96, allocations: 459.2 kB / 1.321 GB, free: 190.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02305/5.983, allocations: 1.438 MB / 1.322 GB, free: 190.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004348/5.987, allocations: 0.7687 MB / 1.323 GB, free: 190.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003975/5.991, allocations: 0.5449 MB / 1.324 GB, free: 190.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006971/5.998, allocations: 2.528 MB / 1.326 GB, free: 189.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.104e-06/5.998, allocations: 1.406 kB / 1.326 GB, free: 189.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.03343/6.032, allocations: 6.558 MB / 1.333 GB, free: 188.8 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.01402/6.046, allocations: 2.766 MB / 1.335 GB, free: 188.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.1374/6.183, allocations: 37.28 MB / 1.372 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.728e-05/6.183, allocations: 5 kB / 1.372 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.04468/6.228, allocations: 12.74 MB / 1.384 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02718/6.255, allocations: 3.068 MB / 1.387 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1031/6.358, allocations: 33.45 MB / 1.42 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009316/6.368, allocations: 5.201 MB / 1.425 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.03069/6.398, allocations: 5.635 MB / 1.43 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007745/6.406, allocations: 0.714 MB / 1.431 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of SimCode: time 2.514e-06/6.406, allocations: 0 / 1.431 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of Templates: time 1.499/7.905, allocations: 393.2 MB / 1.815 GB, free: 99.75 MB / 0.4948 GB