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.385/2.385, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.199e-05, allocations: 0 / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3918, allocations: 54.86 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState): time 0.7641/1.156, allocations: 208.1 MB / 0.5576 GB, free: 104 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.06026/1.216, allocations: 24.62 MB / 0.5816 GB, free: 12.92 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003607/1.22, allocations: 110.9 kB / 0.5817 GB, free: 12.86 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004152/1.224, allocations: 1.003 MB / 0.5827 GB, free: 12.46 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02525/1.249, allocations: 4.357 MB / 0.587 GB, free: 10.62 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02186/1.271, allocations: 5.641 MB / 0.5925 GB, free: 7.426 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01453/1.286, allocations: 7.013 MB / 0.5993 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006225/1.292, allocations: 3.053 MB / 0.6023 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/1.304, allocations: 4.266 MB / 0.6065 GB, free: 9.859 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01229/1.317, allocations: 4.499 MB / 0.6109 GB, free: 5.629 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03332/1.35, allocations: 10.47 MB / 0.6211 GB, free: 11.31 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006199/1.356, allocations: 0.6484 MB / 0.6217 GB, free: 10.66 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007181/1.364, allocations: 3.431 MB / 0.6251 GB, free: 7.457 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005505/1.369, allocations: 0.8828 MB / 0.6259 GB, free: 6.574 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03071/1.4, allocations: 13.13 MB / 0.6388 GB, free: 9.422 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.4, allocations: 0 / 0.6388 GB, free: 9.422 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.395e-06/1.4, allocations: 0 / 0.6388 GB, free: 9.422 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003925/1.4, allocations: 0 / 0.6388 GB, free: 9.422 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.05806/1.458, allocations: 9.521 MB / 0.6481 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.459, allocations: 8.031 kB / 0.6481 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006553/1.465, allocations: 0.8422 MB / 0.6489 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/1.48, allocations: 4.203 MB / 0.653 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008821/1.481, allocations: 483.4 kB / 0.6535 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003779/1.484, allocations: 0.6361 MB / 0.6541 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04542/1.53, allocations: 14.18 MB / 0.6679 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005172/1.531, allocations: 19.91 kB / 0.6679 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004033/1.535, allocations: 259.9 kB / 0.6682 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00272/1.537, allocations: 1.264 MB / 0.6694 GB, free: 10 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05227/1.59, allocations: 16.52 MB / 0.6856 GB, free: 9.465 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.4786/2.068, allocations: 53.44 MB / 0.7377 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02934/2.098, allocations: 10.93 MB / 0.7484 GB, free: 175.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004861/2.103, allocations: 4.154 MB / 0.7525 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/2.103, allocations: 148.7 kB / 0.7526 GB, free: 171.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006742/2.11, allocations: 0.7672 MB / 0.7534 GB, free: 170.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=882): time 2.875e-05/2.11, allocations: 0 / 0.7534 GB, free: 170.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1122): time 0.5842/2.694, allocations: 96.94 MB / 0.848 GB, free: 74.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/2.694, allocations: 168.2 kB / 0.8482 GB, free: 74.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/2.704, allocations: 3.343 MB / 0.8515 GB, free: 71.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.004712/2.709, allocations: 229.7 kB / 0.8517 GB, free: 71.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003119/2.712, allocations: 2.438 MB / 0.8541 GB, free: 68.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00856/2.721, allocations: 3.891 MB / 0.8579 GB, free: 64.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004504/2.726, allocations: 220 kB / 0.8581 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001316/2.727, allocations: 0.7566 MB / 0.8588 GB, free: 63.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03759/2.765, allocations: 10.12 MB / 0.8687 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03653/2.801, allocations: 11.7 MB / 0.8801 GB, free: 41.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03693/2.838, allocations: 11.22 MB / 0.8911 GB, free: 30.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.1e-05/2.838, allocations: 12 kB / 0.8911 GB, free: 30.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 0.4666/3.305, allocations: 32.65 MB / 0.923 GB, free: 199.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.004153/3.309, allocations: 15.08 MB / 0.9377 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002411/3.309, allocations: 34.88 kB / 0.9377 GB, free: 183.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4714/3.781, allocations: 78.7 MB / 1.015 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008926/3.79, allocations: 1.108 MB / 1.016 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1634/3.953, allocations: 35.26 MB / 1.05 GB, free: 96.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02435/3.978, allocations: 1.789 MB / 1.052 GB, free: 94.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004093/3.982, allocations: 0.6051 MB / 1.052 GB, free: 94.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/3.982, allocations: 4 kB / 1.052 GB, free: 94.05 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1136/4.095, allocations: 30.91 MB / 1.083 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/4.096, allocations: 36 kB / 1.083 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7794/4.875, allocations: 67.58 MB / 1.149 GB, free: 191.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009592/4.885, allocations: 1.216 MB / 1.15 GB, free: 191.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1116/4.996, allocations: 32.22 MB / 1.181 GB, free: 175.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02412/5.02, allocations: 1.755 MB / 1.183 GB, free: 174.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004332/5.025, allocations: 0.5812 MB / 1.184 GB, free: 174 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.01006/5.035, allocations: 2.508 MB / 1.186 GB, free: 171.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004535/5.039, allocations: 0.6383 MB / 1.187 GB, free: 171.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1094/5.149, allocations: 30.25 MB / 1.216 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001535/5.149, allocations: 116 kB / 1.216 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.742e-05/5.149, allocations: 0 / 1.216 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08531/5.234, allocations: 23.94 MB / 1.24 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1355/5.37, allocations: 42.05 MB / 1.281 GB, free: 77.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002061/5.37, allocations: 7.953 kB / 1.281 GB, free: 77.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0284/5.399, allocations: 2.126 MB / 1.283 GB, free: 75.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1012/5.5, allocations: 13.72 MB / 1.296 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004686/5.505, allocations: 0.6049 MB / 1.297 GB, free: 60.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06418/5.569, allocations: 33.19 MB / 1.329 GB, free: 26.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/5.569, allocations: 4.031 kB / 1.329 GB, free: 26.25 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4829/6.052, allocations: 37.11 MB / 1.365 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00295/6.055, allocations: 0.783 MB / 1.366 GB, free: 190.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005679/6.061, allocations: 460.6 kB / 1.367 GB, free: 190.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02308/6.084, allocations: 1.446 MB / 1.368 GB, free: 190.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003806/6.088, allocations: 0.762 MB / 1.369 GB, free: 190.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003709/6.091, allocations: 0.546 MB / 1.369 GB, free: 190.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005993/6.097, allocations: 2.528 MB / 1.372 GB, free: 189.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.32e-07/6.097, allocations: 0 / 1.372 GB, free: 189.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03096/6.128, allocations: 6.579 MB / 1.378 GB, free: 188.6 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.01537/6.144, allocations: 2.761 MB / 1.381 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1339/6.278, allocations: 37.3 MB / 1.417 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-05/6.278, allocations: 9 kB / 1.417 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.04487/6.323, allocations: 12.73 MB / 1.43 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02699/6.35, allocations: 3.069 MB / 1.433 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.104/6.454, allocations: 33.44 MB / 1.465 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009422/6.463, allocations: 5.193 MB / 1.471 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.03081/6.494, allocations: 5.639 MB / 1.476 GB, free: 96.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007708/6.502, allocations: 0.7139 MB / 1.477 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.914e-06/6.502, allocations: 4 kB / 1.477 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of Templates: time 1.519/8.021, allocations: 393.3 MB / 1.861 GB, free: 84.32 MB / 0.5261 GB