Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.269/2.269, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.425e-05, allocations: 8 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3211, allocations: 58.83 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.911/9.232, allocations: 3.633 GB / 4.006 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/9.233, allocations: 86.17 kB / 4.006 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.712/16.95, allocations: 1.462 GB / 5.468 GB, free: 30.79 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.099e-06/16.95, allocations: 0 / 5.468 GB, free: 30.79 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002663/16.95, allocations: 65.34 kB / 5.468 GB, free: 30.79 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.028/16.97, allocations: 7.281 MB / 5.475 GB, free: 27.37 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/16.97, allocations: 10.38 kB / 5.475 GB, free: 27.37 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/16.98, allocations: 287.6 kB / 5.476 GB, free: 27.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005104/16.98, allocations: 1.554 MB / 5.477 GB, free: 26.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/16.98, allocations: 148.4 kB / 5.477 GB, free: 26.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000865/16.98, allocations: 193 kB / 5.477 GB, free: 26.84 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007949/16.99, allocations: 3.063 MB / 5.48 GB, free: 26.61 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.189e-05/16.99, allocations: 0 / 5.48 GB, free: 26.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004576/16.99, allocations: 85.42 kB / 5.48 GB, free: 26.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002867/16.99, allocations: 184.6 kB / 5.481 GB, free: 26.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008524/17, allocations: 3.378 MB / 5.484 GB, free: 26.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03109/17.03, allocations: 12.16 MB / 5.496 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/17.03, allocations: 1.742 MB / 5.497 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/17.04, allocations: 1.109 MB / 5.499 GB, free: 22 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/17.04, allocations: 1.671 MB / 5.5 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/17.04, allocations: 63.59 kB / 5.5 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002933/17.04, allocations: 365.3 kB / 5.501 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=157): time 8.998e-06/17.04, allocations: 0 / 5.501 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=169): time 0.03004/17.07, allocations: 7.399 MB / 5.508 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.667e-05/17.07, allocations: 200.1 kB / 5.508 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/17.08, allocations: 1.784 MB / 5.51 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0005846/17.08, allocations: 62.58 kB / 5.51 GB, free: 18.93 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008114/17.08, allocations: 0.9658 MB / 5.511 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008244/17.08, allocations: 0.5901 MB / 5.511 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/17.08, allocations: 45.94 kB / 5.511 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001602/17.08, allocations: 391.4 kB / 5.512 GB, free: 17.87 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002975/17.08, allocations: 1.223 MB / 5.513 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003239/17.08, allocations: 1.554 MB / 5.514 GB, free: 17.54 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003673/17.09, allocations: 1.48 MB / 5.516 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/17.09, allocations: 0 / 5.516 GB, free: 17.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01308/17.1, allocations: 4.019 MB / 5.52 GB, free: 17.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006555/17.1, allocations: 3.05 MB / 5.523 GB, free: 14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/17.1, allocations: 10.12 kB / 5.523 GB, free: 14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/17.11, allocations: 1.226 MB / 5.524 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003722/17.12, allocations: 0.5012 MB / 5.525 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003259/17.12, allocations: 2.021 MB / 5.526 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004501/17.12, allocations: 202.8 kB / 5.527 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009635/17.12, allocations: 164.3 kB / 5.527 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/17.12, allocations: 6.031 kB / 5.527 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01045/17.14, allocations: 3.37 MB / 5.53 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.58e-05/17.14, allocations: 10.91 kB / 5.53 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006575/17.14, allocations: 0.8801 MB / 5.531 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003502/17.15, allocations: 0.5041 MB / 5.531 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/17.15, allocations: 1.816 MB / 5.533 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003713/17.15, allocations: 190.1 kB / 5.533 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007565/17.15, allocations: 163 kB / 5.534 GB, free: 11.71 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 6,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.0008641/17.15, allocations: 220.8 kB / 5.534 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007642/17.15, allocations: 222.5 kB / 5.534 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/17.17, allocations: 4.012 MB / 5.538 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/17.17, allocations: 22.41 kB / 5.538 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/17.17, allocations: 2.656 kB / 5.538 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-05/17.17, allocations: 11.67 kB / 5.538 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/17.18, allocations: 6.186 MB / 5.544 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-05/17.18, allocations: 2.312 kB / 5.544 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002507/17.19, allocations: 339.2 kB / 5.544 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007916/17.19, allocations: 1.087 MB / 5.545 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005728/17.19, allocations: 78.38 kB / 5.545 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/17.2, allocations: 1.94 MB / 5.547 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.86e-06/17.2, allocations: 6.469 kB / 5.547 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/17.21, allocations: 4.792 MB / 5.552 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/17.21, allocations: 360.2 kB / 5.552 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009033/17.21, allocations: 47.7 kB / 5.552 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003461/17.21, allocations: 162.7 kB / 5.553 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005518/17.21, allocations: 148.4 kB / 5.553 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00044/17.21, allocations: 132.7 kB / 5.553 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002914/17.22, allocations: 1.388 MB / 5.554 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.077e-06/17.22, allocations: 0 / 5.554 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01256/17.23, allocations: 3.243 MB / 5.557 GB, free: 7.754 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 164 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01402/17.24, allocations: 4.299 MB / 5.562 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01274/17.26, allocations: 4.817 MB / 5.566 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/17.26, allocations: 5.859 kB / 5.566 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003619/17.26, allocations: 1.34 MB / 5.568 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008442/17.27, allocations: 1.256 MB / 5.569 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009422/17.28, allocations: 3.747 MB / 5.573 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/17.28, allocations: 1.716 MB / 5.574 GB, free: 20.83 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.008872/17.29, allocations: 1.438 MB / 5.576 GB, free: 20.75 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/17.29, allocations: 255 kB / 5.576 GB, free: 20.75 MB / 0.6043 GB Notification: Performance of SimCode: time 1.687e-06/17.29, allocations: 2.719 kB / 5.576 GB, free: 20.75 MB / 0.6043 GB Notification: Performance of Templates: time 0.691/17.98, allocations: 119.1 MB / 5.692 GB, free: 58.8 MB / 0.6199 GB