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_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes") Notification: Performance of loadModel(Modelica): time 1.633/1.633, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.265e-05, allocations: 4 kB / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2078, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.472/8.679, allocations: 3.665 GB / 3.922 GB, free: 35.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/8.68, allocations: 71.91 kB / 3.923 GB, free: 35.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.165/13.84, allocations: 0.9646 GB / 4.887 GB, free: 24.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.483e-06/13.84, allocations: 0 / 4.887 GB, free: 24.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000523/13.85, allocations: 162 kB / 4.887 GB, free: 24.09 MB / 426.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.04542/13.89, allocations: 9.828 MB / 4.897 GB, free: 20.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/13.89, allocations: 13.53 kB / 4.897 GB, free: 20.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007939/13.9, allocations: 0.8509 MB / 4.898 GB, free: 19.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02232/13.92, allocations: 5.71 MB / 4.903 GB, free: 19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008716/13.92, allocations: 0.5257 MB / 4.904 GB, free: 18.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004693/13.93, allocations: 0.731 MB / 4.905 GB, free: 18.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04368/13.97, allocations: 14.01 MB / 4.918 GB, free: 18.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005228/13.97, allocations: 22.05 kB / 4.918 GB, free: 18.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004355/13.98, allocations: 288.8 kB / 4.919 GB, free: 18.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009511/13.98, allocations: 0.7082 MB / 4.919 GB, free: 18.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04327/14.02, allocations: 16.56 MB / 4.935 GB, free: 18.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1147/14.13, allocations: 43.35 MB / 4.978 GB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02635/14.16, allocations: 10.85 MB / 4.988 GB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01906/14.18, allocations: 7.612 MB / 4.996 GB, free: 8.566 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006317/14.19, allocations: 4.192 MB / 5 GB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/14.19, allocations: 153.7 kB / 5 GB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007769/14.19, allocations: 0.8777 MB / 5.001 GB, free: 2.828 MB / 442.7 MB Notification: Performance of pre-optimization done (n=926): time 3.372e-05/14.19, allocations: 0 / 5.001 GB, free: 2.828 MB / 442.7 MB Notification: Performance of matching and sorting (n=1188): time 0.7321/14.93, allocations: 87.18 MB / 5.086 GB, free: 45.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/14.93, allocations: 175.8 kB / 5.086 GB, free: 45.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007845/14.93, allocations: 3.257 MB / 5.089 GB, free: 44.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003869/14.94, allocations: 242.2 kB / 5.09 GB, free: 44.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002479/14.94, allocations: 2.317 MB / 5.092 GB, free: 44.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006917/14.95, allocations: 4.136 MB / 5.096 GB, free: 41.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00392/14.95, allocations: 225.1 kB / 5.096 GB, free: 41.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001256/14.95, allocations: 0.7641 MB / 5.097 GB, free: 41.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02192/14.98, allocations: 9.182 MB / 5.106 GB, free: 41.53 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02411/15, allocations: 10.48 MB / 5.116 GB, free: 40.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02491/15.02, allocations: 10.28 MB / 5.126 GB, free: 40.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.729e-05/15.02, allocations: 10.55 kB / 5.126 GB, free: 40.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.08315/15.11, allocations: 29.83 MB / 5.155 GB, free: 31.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002122/15.11, allocations: 10.95 MB / 5.166 GB, free: 19.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/15.11, allocations: 24 kB / 5.166 GB, free: 19.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.7435/15.85, allocations: 83.75 MB / 5.248 GB, free: 40.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006528/15.86, allocations: 1.08 MB / 5.249 GB, free: 40.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08587/15.95, allocations: 33.44 MB / 5.281 GB, free: 40.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02072/15.97, allocations: 1.842 MB / 5.283 GB, free: 40.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004662/15.97, allocations: 0.6027 MB / 5.284 GB, free: 40.13 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/15.97, allocations: 5.938 kB / 5.284 GB, free: 40.13 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07838/16.05, allocations: 28.35 MB / 5.312 GB, free: 31.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001337/16.05, allocations: 24 kB / 5.312 GB, free: 31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.7135/16.76, allocations: 75.21 MB / 5.385 GB, free: 54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007104/16.77, allocations: 1.131 MB / 5.386 GB, free: 54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07709/16.85, allocations: 31.27 MB / 5.417 GB, free: 53.19 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01866/16.87, allocations: 1.814 MB / 5.418 GB, free: 53.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004338/16.87, allocations: 0.5905 MB / 5.419 GB, free: 53.19 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (604): * Single equations (assignments): 603 * 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.006489/16.88, allocations: 0.6203 MB / 5.42 GB, free: 53.08 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004553/16.88, allocations: 0.6528 MB / 5.42 GB, free: 53.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07642/16.96, allocations: 27.59 MB / 5.447 GB, free: 52.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001472/16.96, allocations: 122.8 kB / 5.447 GB, free: 52.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.408e-05/16.96, allocations: 2.281 kB / 5.447 GB, free: 52.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05498/17.01, allocations: 21.03 MB / 5.468 GB, free: 48.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1195/17.13, allocations: 43.23 MB / 5.51 GB, free: 22.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001331/17.13, allocations: 4 kB / 5.51 GB, free: 22.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02565/17.16, allocations: 3.378 MB / 5.513 GB, free: 20.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04162/17.2, allocations: 10.16 MB / 5.523 GB, free: 13.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00407/17.2, allocations: 0.6293 MB / 5.524 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3724/17.58, allocations: 41.76 MB / 5.565 GB, free: 44.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/17.58, allocations: 2.875 kB / 5.565 GB, free: 44.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09662/17.67, allocations: 35.69 MB / 5.6 GB, free: 43.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002866/17.68, allocations: 0.7945 MB / 5.6 GB, free: 42.58 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004975/17.68, allocations: 484.8 kB / 5.601 GB, free: 42.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01739/17.7, allocations: 1.484 MB / 5.602 GB, free: 42.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004086/17.7, allocations: 0.8039 MB / 5.603 GB, free: 42.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004158/17.71, allocations: 0.5663 MB / 5.604 GB, free: 42.54 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00562/17.71, allocations: 2.47 MB / 5.606 GB, free: 42.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.014e-06/17.71, allocations: 0 / 5.606 GB, free: 42.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.03244/17.75, allocations: 7.04 MB / 5.613 GB, free: 42.38 MB / 474.7 MB 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 (1169): * Single equations (assignments): 1122 * 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.01623/17.76, allocations: 4.037 MB / 5.617 GB, free: 42.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.09174/17.85, allocations: 34.68 MB / 5.651 GB, free: 37.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/17.85, allocations: 6.562 kB / 5.651 GB, free: 37.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0402/17.89, allocations: 12.87 MB / 5.663 GB, free: 33.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01961/17.91, allocations: 3.072 MB / 5.666 GB, free: 31.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07528/17.99, allocations: 28.22 MB / 5.694 GB, free: 8.621 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01076/18, allocations: 5.294 MB / 5.699 GB, free: 4.672 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.02843/18.03, allocations: 5.617 MB / 5.704 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007444/18.04, allocations: 0.7542 MB / 5.705 GB, free: 184 kB / 474.7 MB Notification: Performance of SimCode: time 2.81e-06/18.04, allocations: 0 / 5.705 GB, free: 184 kB / 474.7 MB Notification: Performance of Templates: time 2.117/20.15, allocations: 424 MB / 6.119 GB, free: 35.06 MB / 490.8 MB