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.3_Modelica.Fluid.Examples.BranchingDynamicPipes") Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.255e-05, allocations: 8 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08587/0.08592, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.085/9.171, allocations: 3.617 GB / 3.926 GB, free: 108.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/9.171, allocations: 75.22 kB / 3.926 GB, free: 108.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.864/14.03, allocations: 0.9783 GB / 4.905 GB, free: 16.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.478e-06/14.03, allocations: 0 / 4.905 GB, free: 16.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005009/14.04, allocations: 159.8 kB / 4.905 GB, free: 16.44 MB / 474.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.04501/14.08, allocations: 9.832 MB / 4.914 GB, free: 7.738 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/14.08, allocations: 16.03 kB / 4.914 GB, free: 7.723 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007882/14.09, allocations: 0.8656 MB / 4.915 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02207/14.11, allocations: 5.692 MB / 4.921 GB, free: 1.109 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008044/14.11, allocations: 0.5244 MB / 4.921 GB, free: 0.582 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004704/14.12, allocations: 0.7336 MB / 4.922 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05025/14.17, allocations: 14.01 MB / 4.936 GB, free: 1.645 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004624/14.17, allocations: 23.83 kB / 4.936 GB, free: 1.621 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004424/14.17, allocations: 288 kB / 4.936 GB, free: 1.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001122/14.17, allocations: 0.7099 MB / 4.937 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4238/14.6, allocations: 16.56 MB / 4.953 GB, free: 30.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1361/14.73, allocations: 48.75 MB / 5 GB, free: 16.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02753/14.76, allocations: 10.96 MB / 5.011 GB, free: 16.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01791/14.78, allocations: 7.659 MB / 5.019 GB, free: 16.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004323/14.78, allocations: 4.138 MB / 5.023 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/14.78, allocations: 151 kB / 5.023 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007153/14.79, allocations: 0.8948 MB / 5.024 GB, free: 11.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=926): time 4.023e-05/14.79, allocations: 0 / 5.024 GB, free: 11.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=1188): time 0.3757/15.17, allocations: 86.53 MB / 5.108 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/15.17, allocations: 176.7 kB / 5.108 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00977/15.18, allocations: 3.392 MB / 5.112 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003582/15.18, allocations: 245.7 kB / 5.112 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002942/15.18, allocations: 2.298 MB / 5.114 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008356/15.19, allocations: 4.142 MB / 5.118 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003827/15.19, allocations: 222.2 kB / 5.118 GB, free: 3.762 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001434/15.2, allocations: 0.7649 MB / 5.119 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0615/15.26, allocations: 11.16 MB / 5.13 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3979/15.66, allocations: 10.46 MB / 5.14 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02766/15.68, allocations: 10.33 MB / 5.15 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.566e-05/15.68, allocations: 5.5 kB / 5.15 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1434) (initialization): time 0.09039/15.77, allocations: 29.94 MB / 5.18 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002007/15.78, allocations: 9.765 MB / 5.189 GB, free: 47.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/15.78, allocations: 26.64 kB / 5.189 GB, free: 47.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3855/16.16, allocations: 83.95 MB / 5.271 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006472/16.17, allocations: 1.07 MB / 5.272 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08912/16.26, allocations: 33.5 MB / 5.305 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02216/16.28, allocations: 2 MB / 5.307 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009086/16.29, allocations: 0.8228 MB / 5.308 GB, free: 0 / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/16.29, allocations: 5.719 kB / 5.308 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4775/16.77, allocations: 31.6 MB / 5.339 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/16.77, allocations: 22 kB / 5.339 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3313/17.1, allocations: 78.31 MB / 5.415 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006674/17.1, allocations: 1.121 MB / 5.416 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08042/17.18, allocations: 31.34 MB / 5.447 GB, free: 58.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01771/17.2, allocations: 1.805 MB / 5.448 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004424/17.21, allocations: 0.5827 MB / 5.449 GB, free: 57.34 MB / 0.5261 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.007333/17.21, allocations: 0.6131 MB / 5.45 GB, free: 57.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005033/17.22, allocations: 0.6717 MB / 5.45 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0829/17.3, allocations: 27.69 MB / 5.477 GB, free: 42.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001486/17.3, allocations: 124 kB / 5.477 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.526e-05/17.3, allocations: 0 / 5.477 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0594/17.36, allocations: 21.09 MB / 5.498 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5361/17.9, allocations: 44.76 MB / 5.542 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001232/17.9, allocations: 2.656 kB / 5.542 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0245/17.92, allocations: 3.391 MB / 5.545 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04002/17.96, allocations: 10.16 MB / 5.555 GB, free: 68.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004092/17.97, allocations: 0.6299 MB / 5.556 GB, free: 68.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0396/18.01, allocations: 41.75 MB / 5.596 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/18.01, allocations: 0 / 5.596 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1412/18.15, allocations: 35.82 MB / 5.631 GB, free: 37.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002941/18.15, allocations: 0.8152 MB / 5.632 GB, free: 37.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004942/18.16, allocations: 487.2 kB / 5.633 GB, free: 37.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01676/18.17, allocations: 1.488 MB / 5.634 GB, free: 37.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004024/18.18, allocations: 0.8076 MB / 5.635 GB, free: 37.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004342/18.18, allocations: 0.5736 MB / 5.635 GB, free: 37.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006783/18.19, allocations: 2.594 MB / 5.638 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.081e-06/18.19, allocations: 0 / 5.638 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03238/18.22, allocations: 7.104 MB / 5.645 GB, free: 36.95 MB / 0.5261 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 (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.01629/18.24, allocations: 4.045 MB / 5.649 GB, free: 36.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.09672/18.33, allocations: 34.81 MB / 5.683 GB, free: 26.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/18.33, allocations: 8.781 kB / 5.683 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.04004/18.37, allocations: 12.9 MB / 5.695 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02064/18.39, allocations: 3.165 MB / 5.699 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0835/18.48, allocations: 28.2 MB / 5.726 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01298/18.49, allocations: 5.289 MB / 5.731 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.397/18.89, allocations: 5.672 MB / 5.737 GB, free: 76.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007632/18.9, allocations: 0.7607 MB / 5.738 GB, free: 76.39 MB / 0.5417 GB Notification: Performance of SimCode: time 2.128e-06/18.9, allocations: 0 / 5.738 GB, free: 76.39 MB / 0.5417 GB Notification: Performance of Templates: time 1.891/20.79, allocations: 428 MB / 6.156 GB, free: 61.5 MB / 0.5574 GB