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.2_Modelica.Fluid.Examples.BranchingDynamicPipes") Notification: Performance of loadModel(Modelica): time 1.849/1.849, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.893e-05, allocations: 4 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.07969, allocations: 44.51 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.756/8.836, allocations: 3.671 GB / 3.963 GB, free: 52.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/8.836, allocations: 71.41 kB / 3.963 GB, free: 52.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.123/13.96, allocations: 0.9749 GB / 4.938 GB, free: 20.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.151e-06/13.96, allocations: 0 / 4.938 GB, free: 20.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005033/13.96, allocations: 162.1 kB / 4.939 GB, free: 20.42 MB / 458.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.0448/14, allocations: 9.815 MB / 4.948 GB, free: 16.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/14, allocations: 8.875 kB / 4.948 GB, free: 16.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007882/14.01, allocations: 0.8639 MB / 4.949 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02193/14.03, allocations: 5.718 MB / 4.955 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009148/14.04, allocations: 0.5276 MB / 4.955 GB, free: 14.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0051/14.04, allocations: 0.7341 MB / 4.956 GB, free: 14.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04354/14.08, allocations: 14.01 MB / 4.969 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000469/14.08, allocations: 19.42 kB / 4.969 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004336/14.09, allocations: 292.4 kB / 4.97 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009076/14.09, allocations: 0.7048 MB / 4.97 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04124/14.13, allocations: 16.56 MB / 4.987 GB, free: 2.656 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4742/14.61, allocations: 48.77 MB / 5.034 GB, free: 24.47 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02586/14.63, allocations: 10.86 MB / 5.045 GB, free: 24.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01716/14.65, allocations: 7.608 MB / 5.052 GB, free: 24.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004841/14.65, allocations: 4.187 MB / 5.056 GB, free: 20.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/14.65, allocations: 151.7 kB / 5.056 GB, free: 20.06 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007539/14.66, allocations: 0.8813 MB / 5.057 GB, free: 19.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=926): time 4.443e-05/14.66, allocations: 0 / 5.057 GB, free: 19.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=1188): time 0.3611/15.02, allocations: 85.88 MB / 5.141 GB, free: 11.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/15.02, allocations: 174.5 kB / 5.141 GB, free: 10.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00754/15.03, allocations: 3.261 MB / 5.145 GB, free: 8.051 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003761/15.03, allocations: 245.7 kB / 5.145 GB, free: 7.805 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002185/15.04, allocations: 2.32 MB / 5.147 GB, free: 5.988 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006737/15.04, allocations: 4.135 MB / 5.151 GB, free: 2.406 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003719/15.05, allocations: 224 kB / 5.151 GB, free: 2.188 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001141/15.05, allocations: 0.7661 MB / 5.152 GB, free: 1.551 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06903/15.12, allocations: 11.71 MB / 5.164 GB, free: 0 / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0268/15.14, allocations: 10.48 MB / 5.174 GB, free: 6.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03425/15.18, allocations: 10.65 MB / 5.184 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-05/15.18, allocations: 10 kB / 5.184 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.4503/15.63, allocations: 29.99 MB / 5.213 GB, free: 56.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002145/15.63, allocations: 10.96 MB / 5.224 GB, free: 45.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.462e-05/15.63, allocations: 24.38 kB / 5.224 GB, free: 45.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3891/16.02, allocations: 83.06 MB / 5.305 GB, free: 44.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006497/16.03, allocations: 1.08 MB / 5.306 GB, free: 44.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08353/16.11, allocations: 33.44 MB / 5.339 GB, free: 27.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01898/16.13, allocations: 1.839 MB / 5.341 GB, free: 26.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004811/16.13, allocations: 0.6022 MB / 5.341 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/16.13, allocations: 4.938 kB / 5.341 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07601/16.21, allocations: 28.35 MB / 5.369 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/16.21, allocations: 24 kB / 5.369 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7766/16.99, allocations: 78.28 MB / 5.446 GB, free: 57.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007007/16.99, allocations: 1.132 MB / 5.447 GB, free: 57.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07559/17.07, allocations: 31.27 MB / 5.477 GB, free: 57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01912/17.09, allocations: 1.812 MB / 5.479 GB, free: 57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004292/17.09, allocations: 0.585 MB / 5.48 GB, free: 57 MB / 0.4948 GB 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.006187/17.1, allocations: 0.6223 MB / 5.48 GB, free: 56.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004504/17.1, allocations: 0.6555 MB / 5.481 GB, free: 56.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07559/17.18, allocations: 27.6 MB / 5.508 GB, free: 44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001366/17.18, allocations: 131.8 kB / 5.508 GB, free: 43.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-05/17.18, allocations: 3.062 kB / 5.508 GB, free: 43.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05177/17.23, allocations: 21.03 MB / 5.528 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1151/17.35, allocations: 43.21 MB / 5.571 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001285/17.35, allocations: 0 / 5.571 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02598/17.37, allocations: 3.388 MB / 5.574 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3991/17.77, allocations: 10.27 MB / 5.584 GB, free: 74.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004266/17.78, allocations: 0.6301 MB / 5.585 GB, free: 74.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03922/17.82, allocations: 41.75 MB / 5.625 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.264e-06/17.82, allocations: 2.812 kB / 5.625 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09251/17.91, allocations: 35.68 MB / 5.66 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002698/17.91, allocations: 0.7975 MB / 5.661 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004769/17.92, allocations: 495.2 kB / 5.661 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01752/17.93, allocations: 1.483 MB / 5.663 GB, free: 43.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004434/17.94, allocations: 0.8018 MB / 5.664 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004277/17.94, allocations: 0.5635 MB / 5.664 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005592/17.95, allocations: 2.472 MB / 5.667 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.505e-06/17.95, allocations: 0 / 5.667 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03267/17.98, allocations: 7.06 MB / 5.673 GB, free: 42.86 MB / 0.5105 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.01609/18, allocations: 4.036 MB / 5.677 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.09154/18.09, allocations: 34.68 MB / 5.711 GB, free: 36.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/18.09, allocations: 8.281 kB / 5.711 GB, free: 36.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.03991/18.13, allocations: 12.86 MB / 5.724 GB, free: 32.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02005/18.15, allocations: 3.086 MB / 5.727 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0715/18.22, allocations: 28.22 MB / 5.754 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01139/18.23, allocations: 5.288 MB / 5.76 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.03482/18.27, allocations: 5.612 MB / 5.765 GB, free: 348 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009976/18.28, allocations: 0.8988 MB / 5.766 GB, free: 0 / 0.5105 GB Notification: Performance of SimCode: time 2.728e-06/18.28, allocations: 0.8438 kB / 5.766 GB, free: 0 / 0.5105 GB Notification: Performance of Templates: time 2.279/20.56, allocations: 424.2 MB / 6.18 GB, free: 56.86 MB / 0.5262 GB