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.551/2.551, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.184e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4019, allocations: 54.86 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.8423/1.244, allocations: 234.4 MB / 0.5833 GB, free: 12.41 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.06083/1.305, allocations: 24.96 MB / 0.6076 GB, free: 9.438 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005674/1.311, allocations: 84.12 kB / 0.6077 GB, free: 9.395 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006751/1.318, allocations: 0.8492 MB / 0.6085 GB, free: 8.551 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02765/1.345, allocations: 5.112 MB / 0.6135 GB, free: 3.422 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02235/1.368, allocations: 4.951 MB / 0.6184 GB, free: 14.46 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.007461/1.375, allocations: 2.471 MB / 0.6208 GB, free: 11.98 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003937/1.379, allocations: 1.402 MB / 0.6221 GB, free: 10.57 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009745/1.389, allocations: 2.666 MB / 0.6247 GB, free: 7.902 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005783/1.395, allocations: 1.906 MB / 0.6266 GB, free: 5.992 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0441/1.439, allocations: 14.5 MB / 0.6408 GB, free: 7.477 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007875/1.447, allocations: 0.543 MB / 0.6413 GB, free: 6.934 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003831/1.451, allocations: 0.9625 MB / 0.6422 GB, free: 5.969 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002612/1.454, allocations: 280 kB / 0.6425 GB, free: 5.695 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02676/1.481, allocations: 7.718 MB / 0.65 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.481, allocations: 0 / 0.65 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.146e-06/1.481, allocations: 0 / 0.65 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001439/1.481, allocations: 0 / 0.65 GB, free: 13.96 MB / 0.4948 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.01789/1.499, allocations: 4.021 MB / 0.654 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/1.499, allocations: 12.03 kB / 0.654 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0023/1.501, allocations: 280.9 kB / 0.6542 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005204/1.506, allocations: 1.46 MB / 0.6557 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/1.507, allocations: 143.6 kB / 0.6558 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007543/1.507, allocations: 195.8 kB / 0.656 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/1.518, allocations: 3.139 MB / 0.6591 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.775e-05/1.518, allocations: 7.891 kB / 0.6591 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004499/1.518, allocations: 79.97 kB / 0.6591 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004188/1.519, allocations: 183.7 kB / 0.6593 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01329/1.532, allocations: 3.548 MB / 0.6628 GB, free: 0.7305 MB / 0.4948 GB 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.04465/1.577, allocations: 12.58 MB / 0.6751 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005797/1.583, allocations: 1.66 MB / 0.6767 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00239/1.585, allocations: 1.745 MB / 0.6784 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.544e-05/1.585, allocations: 55.88 kB / 0.6784 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002967/1.588, allocations: 297.9 kB / 0.6787 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 6.462e-06/1.588, allocations: 0 / 0.6787 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.05005/1.638, allocations: 8.605 MB / 0.6871 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/1.638, allocations: 205.8 kB / 0.6873 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005297/1.644, allocations: 1.446 MB / 0.6887 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000794/1.645, allocations: 57.7 kB / 0.6888 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001449/1.646, allocations: 1.03 MB / 0.6898 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001537/1.648, allocations: 0.5893 MB / 0.6904 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004274/1.648, allocations: 48 kB / 0.6904 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003074/1.648, allocations: 398.7 kB / 0.6908 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005127/1.654, allocations: 1.207 MB / 0.692 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3671/2.021, allocations: 1.772 MB / 0.6937 GB, free: 225.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006017/2.027, allocations: 1.508 MB / 0.6952 GB, free: 225.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.438e-05/2.027, allocations: 3.969 kB / 0.6952 GB, free: 225.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.02188/2.049, allocations: 4.062 MB / 0.6992 GB, free: 224.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002153/2.051, allocations: 6.373 MB / 0.7054 GB, free: 217.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.383e-05/2.051, allocations: 18 kB / 0.7054 GB, free: 217.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01832/2.069, allocations: 1.315 MB / 0.7067 GB, free: 217.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006052/2.076, allocations: 0.5465 MB / 0.7072 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/2.082, allocations: 2.134 MB / 0.7093 GB, free: 216 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006543/2.089, allocations: 199.3 kB / 0.7095 GB, free: 216 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/2.09, allocations: 184 kB / 0.7097 GB, free: 216 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/2.09, allocations: 6.094 kB / 0.7097 GB, free: 216 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02301/2.113, allocations: 3.825 MB / 0.7134 GB, free: 214.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-05/2.113, allocations: 15.41 kB / 0.7134 GB, free: 214.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00953/2.123, allocations: 0.9715 MB / 0.7144 GB, free: 214.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004533/2.127, allocations: 0.5624 MB / 0.7149 GB, free: 214.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004672/2.132, allocations: 1.914 MB / 0.7168 GB, free: 213.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004769/2.137, allocations: 194.3 kB / 0.717 GB, free: 213.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/2.138, allocations: 179.4 kB / 0.7171 GB, free: 213.1 MB / 0.5261 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,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.002438/2.141, allocations: 0.5807 MB / 0.7177 GB, free: 212.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007925/2.141, allocations: 204.8 kB / 0.7179 GB, free: 212.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/2.156, allocations: 4.064 MB / 0.7219 GB, free: 210.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.364e-05/2.156, allocations: 17.66 kB / 0.7219 GB, free: 210.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.613e-05/2.156, allocations: 7.812 kB / 0.7219 GB, free: 210.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.058e-05/2.157, allocations: 15.95 kB / 0.7219 GB, free: 210.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01778/2.174, allocations: 5.673 MB / 0.7275 GB, free: 207.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/2.174, allocations: 2.875 kB / 0.7275 GB, free: 207.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/2.177, allocations: 343.1 kB / 0.7278 GB, free: 207.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01186/2.189, allocations: 1.171 MB / 0.7289 GB, free: 206 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007078/2.19, allocations: 75.94 kB / 0.729 GB, free: 205.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005489/2.195, allocations: 2.037 MB / 0.731 GB, free: 203.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/2.196, allocations: 7.953 kB / 0.731 GB, free: 203.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03179/2.227, allocations: 4.77 MB / 0.7357 GB, free: 198.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009023/2.236, allocations: 312.3 kB / 0.736 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001435/2.238, allocations: 39.98 kB / 0.736 GB, free: 198.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008747/2.247, allocations: 153 kB / 0.7361 GB, free: 198.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007734/2.248, allocations: 149.1 kB / 0.7363 GB, free: 198.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005346/2.248, allocations: 119.9 kB / 0.7364 GB, free: 198.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00731/2.255, allocations: 1.099 MB / 0.7375 GB, free: 197 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.492e-06/2.255, allocations: 0 / 0.7375 GB, free: 197 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01373/2.269, allocations: 2.757 MB / 0.7402 GB, free: 194.6 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.01065/2.28, allocations: 2.51 MB / 0.7426 GB, free: 192.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01673/2.297, allocations: 4.951 MB / 0.7474 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/2.297, allocations: 7.938 kB / 0.7475 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004415/2.301, allocations: 1.362 MB / 0.7488 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008327/2.31, allocations: 1.016 MB / 0.7498 GB, free: 185.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/2.322, allocations: 5.348 MB / 0.755 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/2.324, allocations: 1.723 MB / 0.7567 GB, free: 178 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008826/2.332, allocations: 1.391 MB / 0.758 GB, free: 176.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/2.334, allocations: 247.3 kB / 0.7583 GB, free: 176.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.362e-06/2.334, allocations: 0 / 0.7583 GB, free: 176.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.194/2.528, allocations: 83.38 MB / 0.8397 GB, free: 92.98 MB / 0.5261 GB