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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.263/2.263, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.252e-05, allocations: 4 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3311, allocations: 54.85 MB / 359.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.988/9.319, allocations: 3.686 GB / 4.037 GB, free: 165.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/9.32, allocations: 83.69 kB / 4.038 GB, free: 165.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.766/17.09, allocations: 1.457 GB / 5.494 GB, free: 26.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.336e-06/17.09, allocations: 0 / 5.494 GB, free: 26.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000246/17.09, allocations: 63.02 kB / 5.494 GB, free: 26.83 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: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.02684/17.11, allocations: 7.27 MB / 5.501 GB, free: 22.96 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/17.11, allocations: 13.38 kB / 5.501 GB, free: 22.96 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00235/17.12, allocations: 277.4 kB / 5.502 GB, free: 22.84 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005453/17.12, allocations: 1.636 MB / 5.503 GB, free: 22.42 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/17.12, allocations: 142.2 kB / 5.503 GB, free: 22.42 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008984/17.12, allocations: 184.2 kB / 5.504 GB, free: 22.42 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007944/17.13, allocations: 3.057 MB / 5.507 GB, free: 22.19 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-05/17.13, allocations: 0 / 5.507 GB, free: 22.19 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004968/17.13, allocations: 80.56 kB / 5.507 GB, free: 22.19 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003032/17.13, allocations: 188.9 kB / 5.507 GB, free: 22.19 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008576/17.14, allocations: 3.364 MB / 5.51 GB, free: 22.18 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/17.17, allocations: 11.98 MB / 5.522 GB, free: 17.54 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003971/17.17, allocations: 1.55 MB / 5.523 GB, free: 17.5 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/17.18, allocations: 1 MB / 5.524 GB, free: 17.48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/17.18, allocations: 1.744 MB / 5.526 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/17.18, allocations: 69.34 kB / 5.526 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002483/17.18, allocations: 317.7 kB / 5.526 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=157): time 8.272e-06/17.18, allocations: 0 / 5.526 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=169): time 0.02849/17.21, allocations: 6.966 MB / 5.533 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.67e-05/17.21, allocations: 199.4 kB / 5.533 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003001/17.21, allocations: 1.432 MB / 5.535 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005568/17.21, allocations: 60.2 kB / 5.535 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008001/17.21, allocations: 1.015 MB / 5.536 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008982/17.21, allocations: 0.5954 MB / 5.536 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003614/17.21, allocations: 45 kB / 5.537 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001953/17.21, allocations: 400.7 kB / 5.537 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005051/17.22, allocations: 1.091 MB / 5.538 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005471/17.22, allocations: 1.62 MB / 5.54 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005702/17.23, allocations: 1.386 MB / 5.541 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.355e-05/17.23, allocations: 4.906 kB / 5.541 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.02141/17.25, allocations: 3.774 MB / 5.545 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001799/17.25, allocations: 5.935 MB / 5.55 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.573e-05/17.25, allocations: 17.41 kB / 5.55 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01532/17.27, allocations: 1.213 MB / 5.552 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003403/17.27, allocations: 0.5405 MB / 5.552 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/17.28, allocations: 2.016 MB / 5.554 GB, free: 21.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/17.28, allocations: 206.3 kB / 5.554 GB, free: 21.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007562/17.28, allocations: 182.2 kB / 5.554 GB, free: 21.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/17.28, allocations: 5.875 kB / 5.554 GB, free: 21.2 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01106/17.29, allocations: 3.52 MB / 5.558 GB, free: 21 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.21e-05/17.29, allocations: 13.12 kB / 5.558 GB, free: 21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00566/17.3, allocations: 0.8711 MB / 5.559 GB, free: 20.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00335/17.3, allocations: 0.5451 MB / 5.559 GB, free: 20.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/17.3, allocations: 1.812 MB / 5.561 GB, free: 19.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/17.31, allocations: 204.5 kB / 5.561 GB, free: 19.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007388/17.31, allocations: 174.2 kB / 5.561 GB, free: 19.88 MB / 0.573 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,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.0009748/17.31, allocations: 234.8 kB / 5.562 GB, free: 19.73 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006871/17.31, allocations: 203.4 kB / 5.562 GB, free: 19.63 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/17.32, allocations: 3.798 MB / 5.566 GB, free: 19.37 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/17.32, allocations: 19.28 kB / 5.566 GB, free: 19.37 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/17.32, allocations: 3.938 kB / 5.566 GB, free: 19.36 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.056e-05/17.32, allocations: 7.359 kB / 5.566 GB, free: 19.36 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01538/17.34, allocations: 5.749 MB / 5.571 GB, free: 18.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-05/17.34, allocations: 3.562 kB / 5.571 GB, free: 18.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/17.34, allocations: 340.1 kB / 5.572 GB, free: 18.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006784/17.35, allocations: 1.079 MB / 5.573 GB, free: 18.76 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005676/17.35, allocations: 75.34 kB / 5.573 GB, free: 18.76 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002955/17.35, allocations: 1.93 MB / 5.575 GB, free: 17.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.439e-06/17.35, allocations: 11.8 kB / 5.575 GB, free: 17.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009547/17.36, allocations: 4.427 MB / 5.579 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/17.36, allocations: 308.7 kB / 5.579 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007417/17.36, allocations: 52.19 kB / 5.579 GB, free: 15.42 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/17.36, allocations: 156 kB / 5.579 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005662/17.36, allocations: 137.5 kB / 5.579 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003839/17.36, allocations: 125.2 kB / 5.58 GB, free: 15.35 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002217/17.37, allocations: 1.084 MB / 5.581 GB, free: 14.93 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.21e-07/17.37, allocations: 0 / 5.581 GB, free: 14.93 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01242/17.38, allocations: 3.176 MB / 5.584 GB, free: 14.03 MB / 0.573 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.01329/17.39, allocations: 4.295 MB / 5.588 GB, free: 12.77 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01199/17.4, allocations: 4.512 MB / 5.592 GB, free: 11.04 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/17.4, allocations: 2.531 kB / 5.592 GB, free: 11.04 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006142/17.41, allocations: 1.264 MB / 5.594 GB, free: 10.59 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01146/17.42, allocations: 1.026 MB / 5.595 GB, free: 10.37 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/17.44, allocations: 3.863 MB / 5.598 GB, free: 7.57 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003577/17.44, allocations: 1.72 MB / 5.6 GB, free: 6.168 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01622/17.46, allocations: 1.359 MB / 5.601 GB, free: 5.203 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002642/17.46, allocations: 239.3 kB / 5.602 GB, free: 5.004 MB / 0.573 GB Notification: Performance of SimCode: time 7.17e-06/17.46, allocations: 3.938 kB / 5.602 GB, free: 5 MB / 0.573 GB Notification: Performance of Templates: time 0.6723/18.14, allocations: 109.6 MB / 5.709 GB, free: 52.52 MB / 0.5886 GB