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.211/2.211, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.271e-05, allocations: 0 / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3773, allocations: 48.7 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.8389/1.216, allocations: 234 MB / 0.5458 GB, free: 15.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.06018/1.277, allocations: 24.85 MB / 0.5701 GB, free: 12.39 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003781/1.28, allocations: 84.78 kB / 0.5702 GB, free: 12.35 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0045/1.285, allocations: 0.8193 MB / 0.571 GB, free: 12.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02295/1.308, allocations: 5.12 MB / 0.576 GB, free: 9.754 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02032/1.328, allocations: 4.93 MB / 0.5808 GB, free: 7.039 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.008075/1.336, allocations: 2.468 MB / 0.5832 GB, free: 5.82 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004076/1.34, allocations: 1.401 MB / 0.5845 GB, free: 4.664 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008998/1.35, allocations: 2.663 MB / 0.5871 GB, free: 2.203 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005622/1.355, allocations: 1.894 MB / 0.589 GB, free: 460 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04385/1.399, allocations: 14.35 MB / 0.603 GB, free: 2.305 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006521/1.406, allocations: 0.543 MB / 0.6035 GB, free: 1.762 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002556/1.408, allocations: 0.949 MB / 0.6045 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002006/1.41, allocations: 280 kB / 0.6047 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02474/1.435, allocations: 7.721 MB / 0.6123 GB, free: 8.879 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.435, allocations: 0 / 0.6123 GB, free: 8.879 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.435, allocations: 0 / 0.6123 GB, free: 8.879 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001298/1.435, allocations: 4 kB / 0.6123 GB, free: 8.875 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.0171/1.452, allocations: 4.014 MB / 0.6162 GB, free: 4.797 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.453, allocations: 12.03 kB / 0.6162 GB, free: 4.785 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/1.455, allocations: 287.5 kB / 0.6165 GB, free: 4.504 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004696/1.459, allocations: 1.458 MB / 0.6179 GB, free: 3.039 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/1.46, allocations: 151.5 kB / 0.618 GB, free: 2.891 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007164/1.46, allocations: 180 kB / 0.6182 GB, free: 2.715 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/1.471, allocations: 3.147 MB / 0.6213 GB, free: 15.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.796e-05/1.471, allocations: 7.906 kB / 0.6213 GB, free: 15.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005077/1.472, allocations: 79.95 kB / 0.6214 GB, free: 15.44 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004303/1.472, allocations: 191.7 kB / 0.6216 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/1.484, allocations: 3.55 MB / 0.625 GB, free: 11.7 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.03986/1.524, allocations: 12.18 MB / 0.6369 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005923/1.53, allocations: 1.65 MB / 0.6385 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002691/1.533, allocations: 1.764 MB / 0.6403 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.697e-05/1.533, allocations: 55.88 kB / 0.6403 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003258/1.537, allocations: 301.8 kB / 0.6406 GB, free: 10.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=157): time 7.935e-06/1.537, allocations: 4 kB / 0.6406 GB, free: 10.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=169): time 0.04999/1.587, allocations: 8.606 MB / 0.649 GB, free: 2.004 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/1.587, allocations: 197.9 kB / 0.6492 GB, free: 1.766 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/1.59, allocations: 1.443 MB / 0.6506 GB, free: 332 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006465/1.591, allocations: 60.33 kB / 0.6507 GB, free: 268 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/1.592, allocations: 1.03 MB / 0.6517 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.594, allocations: 0.5892 MB / 0.6522 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00037/1.594, allocations: 52 kB / 0.6523 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002858/1.594, allocations: 394.7 kB / 0.6527 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004645/1.599, allocations: 1.207 MB / 0.6538 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00555/1.605, allocations: 1.782 MB / 0.6556 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005488/1.61, allocations: 1.505 MB / 0.6571 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.518e-05/1.61, allocations: 4 kB / 0.6571 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01892/1.629, allocations: 4.058 MB / 0.661 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.3145/1.944, allocations: 6.371 MB / 0.6672 GB, free: 216 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.591e-05/1.944, allocations: 18.16 kB / 0.6673 GB, free: 216 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01398/1.958, allocations: 1.31 MB / 0.6685 GB, free: 216 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004901/1.963, allocations: 0.5499 MB / 0.6691 GB, free: 216 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005548/1.968, allocations: 2.144 MB / 0.6712 GB, free: 214.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004675/1.973, allocations: 199.7 kB / 0.6714 GB, free: 214.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006492/1.974, allocations: 178.5 kB / 0.6715 GB, free: 214.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.974, allocations: 11.31 kB / 0.6715 GB, free: 214.9 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01769/1.991, allocations: 3.826 MB / 0.6753 GB, free: 213.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-05/1.992, allocations: 15.41 kB / 0.6753 GB, free: 213.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009996/2.002, allocations: 0.9642 MB / 0.6762 GB, free: 213.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004856/2.007, allocations: 0.5559 MB / 0.6768 GB, free: 213.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004486/2.011, allocations: 1.915 MB / 0.6786 GB, free: 212.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004243/2.015, allocations: 195 kB / 0.6788 GB, free: 212.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005912/2.016, allocations: 178.5 kB / 0.679 GB, free: 212.1 MB / 0.4948 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.001915/2.018, allocations: 0.5656 MB / 0.6796 GB, free: 211.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000739/2.019, allocations: 203.2 kB / 0.6797 GB, free: 211.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/2.034, allocations: 4.07 MB / 0.6837 GB, free: 210.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/2.034, allocations: 20.58 kB / 0.6837 GB, free: 210.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/2.034, allocations: 0 / 0.6837 GB, free: 210.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.552e-05/2.034, allocations: 10.88 kB / 0.6838 GB, free: 210.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02314/2.057, allocations: 5.676 MB / 0.6893 GB, free: 208 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/2.058, allocations: 6.344 kB / 0.6893 GB, free: 208 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003866/2.061, allocations: 342.4 kB / 0.6896 GB, free: 207.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01307/2.075, allocations: 1.171 MB / 0.6908 GB, free: 207.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006536/2.075, allocations: 74.47 kB / 0.6908 GB, free: 207.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005414/2.081, allocations: 2.044 MB / 0.6928 GB, free: 206.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/2.081, allocations: 11.86 kB / 0.6929 GB, free: 206.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/2.1, allocations: 4.77 MB / 0.6975 GB, free: 203.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/2.101, allocations: 314.2 kB / 0.6978 GB, free: 203.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009882/2.102, allocations: 43.72 kB / 0.6979 GB, free: 203.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004158/2.106, allocations: 149.9 kB / 0.698 GB, free: 203.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005674/2.107, allocations: 151.5 kB / 0.6981 GB, free: 203.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004943/2.107, allocations: 114.9 kB / 0.6982 GB, free: 203.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00309/2.11, allocations: 1.105 MB / 0.6993 GB, free: 202.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.062e-06/2.11, allocations: 0 / 0.6993 GB, free: 202.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01233/2.123, allocations: 2.742 MB / 0.702 GB, free: 202.3 MB / 0.4948 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.01027/2.133, allocations: 2.53 MB / 0.7045 GB, free: 201.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0166/2.15, allocations: 4.95 MB / 0.7093 GB, free: 198.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/2.15, allocations: 0 / 0.7093 GB, free: 198.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004457/2.154, allocations: 1.37 MB / 0.7106 GB, free: 196.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007979/2.162, allocations: 1.002 MB / 0.7116 GB, free: 195.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/2.174, allocations: 5.373 MB / 0.7169 GB, free: 190.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/2.175, allocations: 1.723 MB / 0.7186 GB, free: 188.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008693/2.184, allocations: 1.395 MB / 0.7199 GB, free: 187.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/2.185, allocations: 243.3 kB / 0.7201 GB, free: 186.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/2.185, allocations: 0 / 0.7201 GB, free: 186.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.1744/2.36, allocations: 83.26 MB / 0.8015 GB, free: 103.7 MB / 0.4948 GB