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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.005/2.005, allocations: 209.2 MB / 224.4 MB, free: 1.371 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.719e-05, allocations: 4 kB / 276.1 MB, free: 15.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 48.71 MB / 324.9 MB, free: 15.17 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 1.058/1.166, allocations: 234 MB / 0.5458 GB, free: 1.805 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04343/1.209, allocations: 24.84 MB / 0.57 GB, free: 0 / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00319/1.212, allocations: 83.03 kB / 0.5701 GB, free: 0 / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00441/1.217, allocations: 0.8564 MB / 0.571 GB, free: 15.86 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02148/1.238, allocations: 5.122 MB / 0.576 GB, free: 14.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01932/1.258, allocations: 4.937 MB / 0.5808 GB, free: 12.6 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.006713/1.264, allocations: 2.466 MB / 0.5832 GB, free: 12.19 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003416/1.268, allocations: 1.397 MB / 0.5845 GB, free: 11.67 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008857/1.277, allocations: 2.664 MB / 0.5872 GB, free: 11.13 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005567/1.282, allocations: 1.888 MB / 0.589 GB, free: 10.68 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04007/1.323, allocations: 14.36 MB / 0.603 GB, free: 1.93 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005525/1.328, allocations: 0.5459 MB / 0.6035 GB, free: 1.387 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002542/1.331, allocations: 0.9471 MB / 0.6045 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/1.333, allocations: 276 kB / 0.6047 GB, free: 480 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02384/1.356, allocations: 7.724 MB / 0.6123 GB, free: 9.766 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.357, allocations: 2.531 kB / 0.6123 GB, free: 9.766 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.976e-06/1.357, allocations: 0 / 0.6123 GB, free: 9.766 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001307/1.357, allocations: 4 kB / 0.6123 GB, free: 9.762 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: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.01734/1.374, allocations: 4.01 MB / 0.6162 GB, free: 5.891 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/1.374, allocations: 8.031 kB / 0.6162 GB, free: 5.883 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/1.376, allocations: 284.8 kB / 0.6165 GB, free: 5.602 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004654/1.381, allocations: 1.462 MB / 0.6179 GB, free: 4.488 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/1.381, allocations: 149.1 kB / 0.618 GB, free: 4.406 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008814/1.382, allocations: 183.3 kB / 0.6182 GB, free: 4.285 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/1.392, allocations: 3.145 MB / 0.6213 GB, free: 2.082 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-05/1.392, allocations: 2.531 kB / 0.6213 GB, free: 2.082 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004683/1.393, allocations: 82.33 kB / 0.6214 GB, free: 2.062 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004258/1.393, allocations: 190.5 kB / 0.6216 GB, free: 1.898 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/1.405, allocations: 3.547 MB / 0.625 GB, free: 15.48 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03868/1.444, allocations: 12.19 MB / 0.6369 GB, free: 5.285 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005683/1.449, allocations: 1.666 MB / 0.6386 GB, free: 4.172 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002492/1.452, allocations: 1.744 MB / 0.6403 GB, free: 2.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.485e-05/1.452, allocations: 59.48 kB / 0.6403 GB, free: 2.129 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002987/1.455, allocations: 297 kB / 0.6406 GB, free: 1.879 MB / 474.7 MB Notification: Performance of pre-optimization done (n=157): time 8.125e-06/1.455, allocations: 4 kB / 0.6406 GB, free: 1.875 MB / 474.7 MB Notification: Performance of matching and sorting (n=169): time 0.0502/1.505, allocations: 8.598 MB / 0.649 GB, free: 11.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/1.506, allocations: 197.9 kB / 0.6492 GB, free: 11.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/1.509, allocations: 1.452 MB / 0.6506 GB, free: 9.668 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006683/1.51, allocations: 61.7 kB / 0.6507 GB, free: 9.602 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/1.511, allocations: 0.9845 MB / 0.6516 GB, free: 8.617 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001275/1.512, allocations: 0.5893 MB / 0.6522 GB, free: 8.031 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/1.513, allocations: 52 kB / 0.6523 GB, free: 7.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002829/1.513, allocations: 399.6 kB / 0.6526 GB, free: 7.582 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004811/1.518, allocations: 1.203 MB / 0.6538 GB, free: 6.375 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005718/1.524, allocations: 1.782 MB / 0.6555 GB, free: 4.363 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00566/1.529, allocations: 1.5 MB / 0.657 GB, free: 2.867 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.999e-05/1.53, allocations: 4 kB / 0.657 GB, free: 2.863 MB / 490.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01891/1.548, allocations: 3.966 MB / 0.6609 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003186/1.552, allocations: 6.246 MB / 0.667 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-05/1.552, allocations: 16 kB / 0.667 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01393/1.566, allocations: 1.326 MB / 0.6683 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004852/1.571, allocations: 0.541 MB / 0.6688 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005905/1.577, allocations: 2.158 MB / 0.6709 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004921/1.582, allocations: 203.7 kB / 0.6711 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/1.583, allocations: 179.9 kB / 0.6713 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.583, allocations: 4 kB / 0.6713 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01873/1.601, allocations: 3.832 MB / 0.675 GB, free: 52 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.604e-05/1.602, allocations: 20.19 kB / 0.6751 GB, free: 32 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009831/1.611, allocations: 0.9458 MB / 0.676 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004872/1.616, allocations: 0.5557 MB / 0.6765 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00487/1.621, allocations: 1.9 MB / 0.6784 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003942/1.625, allocations: 191.8 kB / 0.6786 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009557/1.626, allocations: 174.9 kB / 0.6787 GB, free: 12.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (276): * Single equations (assignments): 272 * 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.002374/1.629, allocations: 0.5715 MB / 0.6793 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007814/1.629, allocations: 201.6 kB / 0.6795 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/1.646, allocations: 4.072 MB / 0.6835 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.934e-05/1.646, allocations: 16 kB / 0.6835 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.646, allocations: 0 / 0.6835 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.301e-05/1.646, allocations: 11.97 kB / 0.6835 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01936/1.665, allocations: 5.682 MB / 0.689 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-05/1.665, allocations: 4 kB / 0.689 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003228/1.669, allocations: 337.3 kB / 0.6894 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01042/1.679, allocations: 1.171 MB / 0.6905 GB, free: 164 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006169/1.68, allocations: 75.95 kB / 0.6906 GB, free: 88 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2918/1.971, allocations: 2.042 MB / 0.6926 GB, free: 228.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.972, allocations: 4.75 kB / 0.6926 GB, free: 228.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/1.988, allocations: 4.766 MB / 0.6972 GB, free: 227.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.989, allocations: 311.5 kB / 0.6975 GB, free: 227.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/1.99, allocations: 48.77 kB / 0.6976 GB, free: 227.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003721/1.994, allocations: 145.1 kB / 0.6977 GB, free: 227.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007233/1.995, allocations: 149.6 kB / 0.6979 GB, free: 227.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005105/1.995, allocations: 118.5 kB / 0.698 GB, free: 227.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003108/1.999, allocations: 1.103 MB / 0.699 GB, free: 227.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.42e-07/1.999, allocations: 3.844 kB / 0.6991 GB, free: 227.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01248/2.011, allocations: 2.745 MB / 0.7017 GB, free: 226.8 MB / 0.5105 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.01176/2.023, allocations: 2.512 MB / 0.7042 GB, free: 226.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01877/2.042, allocations: 4.891 MB / 0.709 GB, free: 224.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/2.042, allocations: 1.438 kB / 0.709 GB, free: 224.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005448/2.047, allocations: 1.366 MB / 0.7103 GB, free: 224.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00897/2.056, allocations: 1.006 MB / 0.7113 GB, free: 224.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/2.07, allocations: 5.497 MB / 0.7166 GB, free: 221.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/2.072, allocations: 1.713 MB / 0.7183 GB, free: 220.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002437/2.074, allocations: 316.6 kB / 0.7186 GB, free: 220.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.964e-06/2.074, allocations: 7.812 kB / 0.7186 GB, free: 220.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.1753/2.25, allocations: 81.4 MB / 0.7981 GB, free: 147.8 MB / 0.5105 GB