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.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.025/2.025, allocations: 209.3 MB / 221.5 MB, free: 1.852 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.188e-05/4.21e-05, allocations: 7.984 kB / 273.1 MB, free: 232 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08829/0.08836, allocations: 48.7 MB / 321.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.203/9.292, allocations: 3.679 GB / 3.994 GB, free: 121.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/9.292, allocations: 83.94 kB / 3.994 GB, free: 121.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.875/17.17, allocations: 1.447 GB / 5.441 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.907e-06/17.17, allocations: 2.469 kB / 5.441 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002335/17.17, allocations: 63.66 kB / 5.441 GB, free: 23.35 MB / 0.5105 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.03364/17.2, allocations: 7.27 MB / 5.448 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/17.2, allocations: 9.188 kB / 5.448 GB, free: 19.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003571/17.2, allocations: 278.5 kB / 5.448 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00945/17.21, allocations: 1.626 MB / 5.45 GB, free: 18.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/17.21, allocations: 150.5 kB / 5.45 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/17.22, allocations: 184.8 kB / 5.45 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01532/17.23, allocations: 3.051 MB / 5.453 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/17.23, allocations: 0 / 5.453 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/17.23, allocations: 94.83 kB / 5.453 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005919/17.23, allocations: 183 kB / 5.453 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01644/17.25, allocations: 3.365 MB / 5.456 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04063/17.29, allocations: 11.6 MB / 5.468 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004215/17.29, allocations: 1.558 MB / 5.469 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002494/17.3, allocations: 1.005 MB / 5.47 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001817/17.3, allocations: 1.741 MB / 5.472 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/17.3, allocations: 54.75 kB / 5.472 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002675/17.3, allocations: 322.1 kB / 5.472 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 9.223e-06/17.3, allocations: 0 / 5.472 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=169): time 0.02956/17.33, allocations: 6.961 MB / 5.479 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/17.33, allocations: 198 kB / 5.479 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/17.33, allocations: 1.427 MB / 5.481 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005524/17.33, allocations: 56.08 kB / 5.481 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007803/17.34, allocations: 1.017 MB / 5.482 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008896/17.34, allocations: 0.5908 MB / 5.482 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/17.34, allocations: 48.19 kB / 5.482 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001705/17.34, allocations: 397.7 kB / 5.483 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002668/17.34, allocations: 1.096 MB / 5.484 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003377/17.34, allocations: 1.619 MB / 5.485 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003529/17.35, allocations: 1.39 MB / 5.487 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.847e-05/17.35, allocations: 9.25 kB / 5.487 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01338/17.36, allocations: 3.776 MB / 5.49 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001497/17.36, allocations: 5.929 MB / 5.496 GB, free: 18.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.38e-05/17.36, allocations: 15.34 kB / 5.496 GB, free: 18.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008994/17.37, allocations: 1.219 MB / 5.497 GB, free: 18.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003606/17.37, allocations: 0.5444 MB / 5.498 GB, free: 18.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/17.38, allocations: 2.027 MB / 5.5 GB, free: 17.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/17.38, allocations: 207.5 kB / 5.5 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009607/17.38, allocations: 175.8 kB / 5.5 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/17.38, allocations: 3.969 kB / 5.5 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0128/17.4, allocations: 3.512 MB / 5.504 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-05/17.4, allocations: 15.16 kB / 5.504 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005863/17.4, allocations: 0.8699 MB / 5.505 GB, free: 16.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003692/17.41, allocations: 0.5504 MB / 5.505 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/17.41, allocations: 1.794 MB / 5.507 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/17.41, allocations: 202.6 kB / 5.507 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009093/17.41, allocations: 176.2 kB / 5.507 GB, free: 15.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (271): * Single equations (assignments): 267 * 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,5 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009759/17.41, allocations: 235 kB / 5.508 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/17.42, allocations: 200.2 kB / 5.508 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/17.43, allocations: 3.799 MB / 5.511 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/17.43, allocations: 17.09 kB / 5.511 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.589e-06/17.43, allocations: 0 / 5.511 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.165e-05/17.43, allocations: 10.03 kB / 5.511 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/17.44, allocations: 5.754 MB / 5.517 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-05/17.44, allocations: 3.969 kB / 5.517 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/17.45, allocations: 345.5 kB / 5.517 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007026/17.45, allocations: 1.084 MB / 5.518 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005885/17.45, allocations: 73.5 kB / 5.519 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003185/17.46, allocations: 1.94 MB / 5.52 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.475e-06/17.46, allocations: 2.688 kB / 5.52 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/17.47, allocations: 4.425 MB / 5.525 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/17.47, allocations: 315.7 kB / 5.525 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009971/17.47, allocations: 40 kB / 5.525 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003061/17.47, allocations: 158.6 kB / 5.525 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006405/17.47, allocations: 152.2 kB / 5.525 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004276/17.47, allocations: 112.3 kB / 5.525 GB, free: 4.715 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002789/17.48, allocations: 1.091 MB / 5.527 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.238e-06/17.48, allocations: 0 / 5.527 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01451/17.49, allocations: 3.158 MB / 5.53 GB, free: 0.6562 MB / 0.5261 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.01526/17.51, allocations: 4.291 MB / 5.534 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0137/17.52, allocations: 4.538 MB / 5.538 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/17.52, allocations: 0 / 5.538 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00384/17.53, allocations: 1.259 MB / 5.539 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006601/17.53, allocations: 1.024 MB / 5.54 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/17.54, allocations: 3.86 MB / 5.544 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/17.54, allocations: 1.72 MB / 5.546 GB, free: 2.496 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008834/17.55, allocations: 1.361 MB / 5.547 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/17.56, allocations: 239.9 kB / 5.547 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of SimCode: time 1.881e-06/17.56, allocations: 0 / 5.547 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of Templates: time 0.6283/18.18, allocations: 109.6 MB / 5.655 GB, free: 43.59 MB / 0.5417 GB