Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|boundary.ports.1..Xi_outflow.1.|boundary.ports.1..C_outflow.1.|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..C_outflow.1.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..C_outflow.1.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..C_outflow.1.|boundary4.ports.1..m_flow|boundary4.ports.1..p|boundary4.ports.1..h_outflow|boundary4.ports.1..Xi_outflow.1.|boundary4.ports.1..C_outflow.1.|boundary5.ports.1..m_flow|boundary5.ports.1..p|boundary5.ports.1..h_outflow|boundary5.ports.1..Xi_outflow.1.|boundary5.ports.1..C_outflow.1.|boundary6.ports.1..m_flow|boundary6.ports.1..p|boundary6.ports.1..h_outflow|boundary6.ports.1..Xi_outflow.1.|boundary6.ports.1..C_outflow.1.|boundary6.ports.2..m_flow|boundary6.ports.2..p|boundary6.ports.2..h_outflow|boundary6.ports.2..Xi_outflow.1.|boundary6.ports.2..C_outflow.1.|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow|C.y|P.y|traceSubstance1.port_b.m_flow|traceSubstance1.port_b.p|traceSubstance1.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.319e-05, allocations: 4 kB / 304.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3263, allocations: 54.85 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.652/8.978, allocations: 3.668 GB / 4.02 GB, free: 87.85 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/8.979, allocations: 91.31 kB / 4.02 GB, free: 87.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.768/16.75, allocations: 1.437 GB / 5.456 GB, free: 27.02 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.189e-06/16.75, allocations: 0 / 5.456 GB, free: 27.02 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000243/16.75, allocations: 55.27 kB / 5.456 GB, free: 27.01 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.02668/16.77, allocations: 7.078 MB / 5.463 GB, free: 22.82 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/16.77, allocations: 10.88 kB / 5.463 GB, free: 22.82 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/16.78, allocations: 281.9 kB / 5.464 GB, free: 22.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004905/16.78, allocations: 1.518 MB / 5.465 GB, free: 22.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/16.78, allocations: 140.8 kB / 5.465 GB, free: 22.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008332/16.78, allocations: 177.5 kB / 5.465 GB, free: 22.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007734/16.79, allocations: 2.871 MB / 5.468 GB, free: 21.89 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.07e-05/16.79, allocations: 3.938 kB / 5.468 GB, free: 21.89 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005473/16.79, allocations: 83.94 kB / 5.468 GB, free: 21.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002397/16.79, allocations: 159.8 kB / 5.468 GB, free: 21.88 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007978/16.8, allocations: 3.092 MB / 5.471 GB, free: 21.22 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0261/16.82, allocations: 11.25 MB / 5.482 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004823/16.83, allocations: 1.798 MB / 5.484 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/16.83, allocations: 0.7499 MB / 5.485 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003037/16.83, allocations: 3.49 MB / 5.488 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/16.83, allocations: 51.88 kB / 5.488 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001641/16.84, allocations: 212.5 kB / 5.489 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=150): time 7.107e-06/16.84, allocations: 0 / 5.489 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of matching and sorting (n=150): time 0.005071/16.84, allocations: 1.786 MB / 5.49 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/16.84, allocations: 197.2 kB / 5.491 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/16.84, allocations: 1.315 MB / 5.492 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004496/16.84, allocations: 57.7 kB / 5.492 GB, free: 2.219 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007764/16.85, allocations: 0.9832 MB / 5.493 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007267/16.85, allocations: 0.5188 MB / 5.493 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/16.85, allocations: 48 kB / 5.493 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001697/16.85, allocations: 391.8 kB / 5.494 GB, free: 436 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/16.85, allocations: 0.795 MB / 5.495 GB, free: 15.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003459/16.85, allocations: 1.467 MB / 5.496 GB, free: 14.02 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/16.86, allocations: 1.2 MB / 5.497 GB, free: 12.94 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.449e-05/16.86, allocations: 14.19 kB / 5.497 GB, free: 12.93 MB / 0.573 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.008972/16.86, allocations: 2.823 MB / 5.5 GB, free: 10.36 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.004834/16.87, allocations: 8.44 MB / 5.508 GB, free: 1.395 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-05/16.87, allocations: 28 kB / 5.508 GB, free: 1.367 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004754/16.87, allocations: 0.6033 MB / 5.509 GB, free: 0.9219 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/16.88, allocations: 0.507 MB / 5.509 GB, free: 500 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4366/17.31, allocations: 1.501 MB / 5.511 GB, free: 42.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/17.32, allocations: 166.4 kB / 5.511 GB, free: 42.34 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008624/17.32, allocations: 164.9 kB / 5.511 GB, free: 42.34 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/17.32, allocations: 6.906 kB / 5.511 GB, free: 42.34 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007819/17.33, allocations: 2.535 MB / 5.514 GB, free: 42.16 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-05/17.33, allocations: 20.78 kB / 5.514 GB, free: 42.16 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/17.33, allocations: 336.3 kB / 5.514 GB, free: 42.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003604/17.33, allocations: 0.5492 MB / 5.514 GB, free: 42.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/17.33, allocations: 1.255 MB / 5.516 GB, free: 41.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003047/17.34, allocations: 151.3 kB / 5.516 GB, free: 41.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008352/17.34, allocations: 166 kB / 5.516 GB, free: 41.11 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (262): * Single equations (assignments): 255 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008505/17.34, allocations: 246.3 kB / 5.516 GB, free: 41 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006471/17.34, allocations: 189.8 kB / 5.516 GB, free: 41 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009718/17.35, allocations: 3.11 MB / 5.519 GB, free: 40.82 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.181e-05/17.35, allocations: 22.73 kB / 5.519 GB, free: 40.82 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/17.35, allocations: 3.297 kB / 5.519 GB, free: 40.82 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.772e-05/17.35, allocations: 8.484 kB / 5.519 GB, free: 40.82 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/17.36, allocations: 4.549 MB / 5.524 GB, free: 40.24 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/17.36, allocations: 6.109 kB / 5.524 GB, free: 40.24 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/17.36, allocations: 306.9 kB / 5.524 GB, free: 40.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004223/17.37, allocations: 0.5558 MB / 5.525 GB, free: 40.23 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004566/17.37, allocations: 67.86 kB / 5.525 GB, free: 40.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/17.37, allocations: 1.501 MB / 5.526 GB, free: 39.19 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/17.37, allocations: 8.969 kB / 5.526 GB, free: 39.19 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005932/17.38, allocations: 2.5 MB / 5.529 GB, free: 38.32 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009266/17.38, allocations: 302.4 kB / 5.529 GB, free: 38.12 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006651/17.38, allocations: 35.22 kB / 5.529 GB, free: 38.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/17.38, allocations: 104.8 kB / 5.529 GB, free: 38.12 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005106/17.38, allocations: 135.1 kB / 5.529 GB, free: 38.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003443/17.38, allocations: 116.8 kB / 5.529 GB, free: 38.11 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0022/17.38, allocations: 1.032 MB / 5.53 GB, free: 37.99 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.334e-06/17.38, allocations: 0 / 5.53 GB, free: 37.99 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01263/17.4, allocations: 3.081 MB / 5.533 GB, free: 37.95 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01379/17.41, allocations: 4.206 MB / 5.538 GB, free: 37.44 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009159/17.42, allocations: 3.786 MB / 5.541 GB, free: 36.78 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/17.42, allocations: 4.062 kB / 5.541 GB, free: 36.78 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002502/17.42, allocations: 0.9131 MB / 5.542 GB, free: 36.78 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005528/17.43, allocations: 0.8647 MB / 5.543 GB, free: 36.73 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008862/17.44, allocations: 3.187 MB / 5.546 GB, free: 36.12 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/17.44, allocations: 1.654 MB / 5.548 GB, free: 35.38 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.008186/17.45, allocations: 1.169 MB / 5.549 GB, free: 35.33 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/17.45, allocations: 218.7 kB / 5.549 GB, free: 35.33 MB / 0.573 GB Notification: Performance of SimCode: time 2.686e-06/17.45, allocations: 0 / 5.549 GB, free: 35.33 MB / 0.573 GB Notification: Performance of Templates: time 0.1958/17.64, allocations: 99.63 MB / 5.646 GB, free: 29.13 MB / 0.573 GB