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_trunk_Modelica.Fluid.Examples.BranchingDynamicPipes") Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.677e-05, allocations: 4 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.09046, allocations: 50.43 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.521/8.611, allocations: 3.452 GB / 3.787 GB, free: 118.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/8.611, allocations: 75.97 kB / 3.787 GB, free: 118 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.756/13.37, allocations: 0.9574 GB / 4.745 GB, free: 17.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.19e-06/13.37, allocations: 4.391 kB / 4.745 GB, free: 17.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004916/13.37, allocations: 162.8 kB / 4.745 GB, free: 17.88 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.04383/13.41, allocations: 9.636 MB / 4.754 GB, free: 8.172 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/13.41, allocations: 8.031 kB / 4.754 GB, free: 8.164 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00766/13.42, allocations: 0.8657 MB / 4.755 GB, free: 7.289 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02025/13.44, allocations: 5.69 MB / 4.76 GB, free: 1.543 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007724/13.44, allocations: 0.5282 MB / 4.761 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004517/13.44, allocations: 0.7297 MB / 4.762 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04637/13.49, allocations: 13.99 MB / 4.775 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004649/13.49, allocations: 27.83 kB / 4.775 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004283/13.5, allocations: 287.9 kB / 4.776 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001113/13.5, allocations: 0.706 MB / 4.776 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4087/13.91, allocations: 16.54 MB / 4.793 GB, free: 32.15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1167/14.02, allocations: 48.79 MB / 4.84 GB, free: 17.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0247/14.05, allocations: 10.92 MB / 4.851 GB, free: 17.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01628/14.06, allocations: 7.644 MB / 4.858 GB, free: 17.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00422/14.07, allocations: 4.145 MB / 4.862 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/14.07, allocations: 149.8 kB / 4.862 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007206/14.08, allocations: 0.9037 MB / 4.863 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=925): time 3.751e-05/14.08, allocations: 0 / 4.863 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1187): time 0.4019/14.48, allocations: 88.39 MB / 4.95 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001759/14.48, allocations: 176.5 kB / 4.95 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008343/14.49, allocations: 3.405 MB / 4.953 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003544/14.49, allocations: 241.7 kB / 4.953 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002863/14.49, allocations: 2.3 MB / 4.956 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.007858/14.5, allocations: 4.134 MB / 4.96 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003456/14.5, allocations: 224 kB / 4.96 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001271/14.51, allocations: 0.7672 MB / 4.961 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02387/14.53, allocations: 9.227 MB / 4.97 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4163/14.95, allocations: 11.28 MB / 4.981 GB, free: 58.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02666/14.97, allocations: 10.31 MB / 4.991 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.649e-05/14.97, allocations: 4.938 kB / 4.991 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.08338/15.06, allocations: 29.9 MB / 5.02 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001996/15.06, allocations: 9.768 MB / 5.03 GB, free: 47.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/15.06, allocations: 21.25 kB / 5.03 GB, free: 47.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3678/15.43, allocations: 82.92 MB / 5.111 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006796/15.43, allocations: 1.061 MB / 5.112 GB, free: 30.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08161/15.51, allocations: 33.48 MB / 5.144 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01882/15.53, allocations: 1.84 MB / 5.146 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004607/15.54, allocations: 0.5704 MB / 5.147 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/15.54, allocations: 7.281 kB / 5.147 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5048/16.04, allocations: 30.03 MB / 5.176 GB, free: 64.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/16.04, allocations: 22.62 kB / 5.176 GB, free: 64.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3273/16.37, allocations: 76.61 MB / 5.251 GB, free: 63.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006572/16.38, allocations: 1.109 MB / 5.252 GB, free: 63.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07178/16.45, allocations: 31.33 MB / 5.282 GB, free: 62.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01742/16.47, allocations: 1.804 MB / 5.284 GB, free: 62.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004109/16.47, allocations: 0.5576 MB / 5.285 GB, free: 62.98 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.006323/16.48, allocations: 0.6169 MB / 5.285 GB, free: 62.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005066/16.48, allocations: 0.6654 MB / 5.286 GB, free: 62.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07339/16.56, allocations: 28.29 MB / 5.314 GB, free: 50.19 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001528/16.56, allocations: 124 kB / 5.314 GB, free: 50.07 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.856e-05/16.56, allocations: 4 kB / 5.314 GB, free: 50.06 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05326/16.61, allocations: 21.05 MB / 5.334 GB, free: 34.58 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.498/17.11, allocations: 43.21 MB / 5.376 GB, free: 63.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001201/17.11, allocations: 0.875 kB / 5.376 GB, free: 63.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02649/17.13, allocations: 3.375 MB / 5.38 GB, free: 63.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04069/17.17, allocations: 10.16 MB / 5.39 GB, free: 63.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004064/17.18, allocations: 0.6228 MB / 5.39 GB, free: 63.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03758/17.22, allocations: 41.75 MB / 5.431 GB, free: 34.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.218e-06/17.22, allocations: 3.312 kB / 5.431 GB, free: 34.08 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1006/17.32, allocations: 37.55 MB / 5.468 GB, free: 33.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002886/17.32, allocations: 0.8277 MB / 5.469 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005175/17.32, allocations: 487.4 kB / 5.469 GB, free: 32.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02194/17.35, allocations: 1.486 MB / 5.47 GB, free: 32.58 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005621/17.35, allocations: 0.7929 MB / 5.471 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005789/17.36, allocations: 0.5464 MB / 5.472 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.009394/17.37, allocations: 2.599 MB / 5.474 GB, free: 32.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.729e-06/17.37, allocations: 0 / 5.474 GB, free: 32.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.04376/17.41, allocations: 6.973 MB / 5.481 GB, free: 32.41 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.01547/17.43, allocations: 3.756 MB / 5.485 GB, free: 32.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.08796/17.51, allocations: 34.77 MB / 5.519 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/17.51, allocations: 8.094 kB / 5.519 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03638/17.55, allocations: 12.88 MB / 5.531 GB, free: 23.24 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01951/17.57, allocations: 3.169 MB / 5.534 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07091/17.64, allocations: 28.19 MB / 5.562 GB, free: 2.312 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01068/17.65, allocations: 5.289 MB / 5.567 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.03063/17.68, allocations: 6.312 MB / 5.573 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007194/17.69, allocations: 0.7129 MB / 5.574 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of SimCode: time 2.044e-06/17.69, allocations: 0 / 5.574 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of Templates: time 1.546/19.24, allocations: 424.9 MB / 5.989 GB, free: 8.98 MB / 0.573 GB