Running command: translateModel(Modelica.Fluid.Examples.BranchingDynamicPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.flowModel.m_flows.1.|pipe1.flowModel.m_flows.2.|pipe1.flowModel.m_flows.3.|pipe1.flowModel.m_flows.4.|pipe1.flowModel.m_flows.5.|pipe1.flowModel.m_flows.6.|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.flowModel.m_flows.1.|pipe2.flowModel.m_flows.2.|pipe2.flowModel.m_flows.3.|pipe2.flowModel.m_flows.4.|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.flowModel.m_flows.1.|pipe3.flowModel.m_flows.2.|pipe3.flowModel.m_flows.3.|pipe3.flowModel.m_flows.4.|pipe3.flowModel.m_flows.5.|pipe3.flowModel.m_flows.6.|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.flowModel.m_flows.1.|pipe4.flowModel.m_flows.2.|pipe4.flowModel.m_flows.3.|pipe4.flowModel.m_flows.4.|pipe4.flowModel.m_flows.5.|pipe4.flowModel.m_flows.6.|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="Modelica_4.0.0_Modelica.Fluid.Examples.BranchingDynamicPipes") Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.812e-05, allocations: 8 kB / 292.1 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09038/0.09043, allocations: 50.41 MB / 342.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.874/9.964, allocations: 3.452 GB / 3.787 GB, free: 118.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/9.965, allocations: 75.95 kB / 3.787 GB, free: 118.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.318/15.28, allocations: 0.9574 GB / 4.744 GB, free: 34.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.119e-06/15.28, allocations: 6.5 kB / 4.744 GB, free: 34.24 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005183/15.28, allocations: 157.4 kB / 4.744 GB, free: 34.19 MB / 0.4948 GB 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.0467/15.33, allocations: 9.628 MB / 4.754 GB, free: 24.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/15.33, allocations: 8.031 kB / 4.754 GB, free: 24.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008322/15.34, allocations: 0.8694 MB / 4.754 GB, free: 23.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02275/15.36, allocations: 5.694 MB / 4.76 GB, free: 17.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008047/15.36, allocations: 0.536 MB / 4.761 GB, free: 17.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004677/15.37, allocations: 0.7258 MB / 4.761 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04713/15.41, allocations: 13.99 MB / 4.775 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004419/15.41, allocations: 19.91 kB / 4.775 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004291/15.42, allocations: 284 kB / 4.775 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001141/15.42, allocations: 0.713 MB / 4.776 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4102/15.83, allocations: 16.53 MB / 4.792 GB, free: 32.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1184/15.95, allocations: 48.8 MB / 4.84 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02571/15.97, allocations: 10.91 MB / 4.85 GB, free: 17.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01689/15.99, allocations: 7.651 MB / 4.858 GB, free: 17.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004542/16, allocations: 4.146 MB / 4.862 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/16, allocations: 148.4 kB / 4.862 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007321/16, allocations: 0.8941 MB / 4.863 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=925): time 3.487e-05/16, allocations: 0.5625 kB / 4.863 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1187): time 0.4157/16.42, allocations: 88.33 MB / 4.949 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001763/16.42, allocations: 172.7 kB / 4.949 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008508/16.43, allocations: 3.403 MB / 4.953 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003635/16.43, allocations: 243 kB / 4.953 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002916/16.43, allocations: 2.3 MB / 4.955 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.008061/16.44, allocations: 4.133 MB / 4.959 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003383/16.45, allocations: 229.2 kB / 4.959 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001239/16.45, allocations: 0.7658 MB / 4.96 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02361/16.47, allocations: 9.228 MB / 4.969 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4126/16.88, allocations: 11.36 MB / 4.98 GB, free: 58.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02641/16.91, allocations: 10.31 MB / 4.99 GB, free: 58.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.752e-05/16.91, allocations: 6.031 kB / 4.99 GB, free: 58.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.09078/17, allocations: 29.91 MB / 5.019 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002015/17, allocations: 9.761 MB / 5.029 GB, free: 47.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/17, allocations: 21.34 kB / 5.029 GB, free: 47.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3844/17.39, allocations: 82.92 MB / 5.11 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006491/17.39, allocations: 1.056 MB / 5.111 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07879/17.47, allocations: 33.48 MB / 5.144 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01864/17.49, allocations: 1.84 MB / 5.146 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004349/17.5, allocations: 0.5708 MB / 5.146 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/17.5, allocations: 6.516 kB / 5.146 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5621/18.06, allocations: 29.92 MB / 5.175 GB, free: 64.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/18.06, allocations: 25 kB / 5.175 GB, free: 64.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3542/18.41, allocations: 76.6 MB / 5.25 GB, free: 63.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006911/18.42, allocations: 1.117 MB / 5.251 GB, free: 63.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07428/18.49, allocations: 31.33 MB / 5.282 GB, free: 62.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01968/18.51, allocations: 1.805 MB / 5.284 GB, free: 62.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004221/18.52, allocations: 0.5578 MB / 5.284 GB, free: 62.89 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (597): * Single equations (assignments): 596 * 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 {75 763} Notification: Performance of prepare postOptimizeDAE: time 0.006894/18.52, allocations: 0.6127 MB / 5.285 GB, free: 62.79 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005162/18.53, allocations: 0.6653 MB / 5.285 GB, free: 62.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08017/18.61, allocations: 28.3 MB / 5.313 GB, free: 50.06 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001366/18.61, allocations: 124 kB / 5.313 GB, free: 49.94 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-05/18.61, allocations: 4 kB / 5.313 GB, free: 49.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05758/18.67, allocations: 21.06 MB / 5.334 GB, free: 34.46 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5135/19.18, allocations: 43.2 MB / 5.376 GB, free: 63.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001221/19.18, allocations: 4.031 kB / 5.376 GB, free: 63.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02672/19.21, allocations: 3.371 MB / 5.379 GB, free: 63.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04836/19.26, allocations: 10.16 MB / 5.389 GB, free: 63.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004077/19.26, allocations: 0.6285 MB / 5.39 GB, free: 63.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03836/19.3, allocations: 41.75 MB / 5.43 GB, free: 34.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.481e-06/19.3, allocations: 4.594 kB / 5.43 GB, free: 34.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1045/19.4, allocations: 37.55 MB / 5.467 GB, free: 33.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003355/19.41, allocations: 0.8222 MB / 5.468 GB, free: 32.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005749/19.41, allocations: 487.8 kB / 5.468 GB, free: 32.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01816/19.43, allocations: 1.487 MB / 5.47 GB, free: 32.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0042/19.44, allocations: 0.7931 MB / 5.471 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004209/19.44, allocations: 0.5504 MB / 5.471 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00608/19.45, allocations: 2.596 MB / 5.474 GB, free: 32.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.122e-06/19.45, allocations: 0.8438 kB / 5.474 GB, free: 32.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.03253/19.48, allocations: 6.974 MB / 5.481 GB, free: 32.45 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 82 (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,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],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,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],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,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],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,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1168): * Single equations (assignments): 1121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 22 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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: 20 {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} Notification: Performance of Backend phase and start with SimCode phase: time 0.01516/19.49, allocations: 3.758 MB / 5.484 GB, free: 32.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.09571/19.59, allocations: 34.78 MB / 5.518 GB, free: 27.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/19.59, allocations: 7.969 kB / 5.518 GB, free: 27.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03938/19.63, allocations: 12.87 MB / 5.531 GB, free: 23.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0211/19.65, allocations: 3.178 MB / 5.534 GB, free: 22.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08067/19.73, allocations: 28.2 MB / 5.561 GB, free: 2.215 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01168/19.74, allocations: 5.279 MB / 5.567 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.04011/19.78, allocations: 6.317 MB / 5.573 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01071/19.79, allocations: 0.715 MB / 5.573 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of SimCode: time 3.384e-06/19.79, allocations: 0 / 5.573 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of Templates: time 1.678/21.47, allocations: 425 MB / 5.988 GB, free: 8.789 MB / 0.573 GB