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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.697/2.697, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.027e-05, allocations: 3.984 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3839, allocations: 54.86 MB / 362.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.934/1.318, allocations: 234.4 MB / 0.5832 GB, free: 12.43 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.05218/1.37, allocations: 24.97 MB / 0.6076 GB, free: 9.488 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003104/1.373, allocations: 80.5 kB / 0.6077 GB, free: 9.449 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003945/1.377, allocations: 0.8436 MB / 0.6085 GB, free: 8.621 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02835/1.406, allocations: 5.116 MB / 0.6135 GB, free: 3.488 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02889/1.435, allocations: 4.935 MB / 0.6183 GB, free: 14.54 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.009242/1.444, allocations: 2.478 MB / 0.6207 GB, free: 12.05 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005205/1.449, allocations: 1.406 MB / 0.6221 GB, free: 10.64 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00871/1.458, allocations: 2.662 MB / 0.6247 GB, free: 7.977 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005279/1.463, allocations: 1.91 MB / 0.6266 GB, free: 6.062 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04693/1.51, allocations: 14.5 MB / 0.6407 GB, free: 7.543 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00615/1.517, allocations: 0.543 MB / 0.6413 GB, free: 7 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002963/1.52, allocations: 0.9547 MB / 0.6422 GB, free: 6.043 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001919/1.522, allocations: 280 kB / 0.6425 GB, free: 5.77 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0291/1.551, allocations: 7.73 MB / 0.65 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.551, allocations: 3.938 kB / 0.65 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.547e-06/1.551, allocations: 0 / 0.65 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001204/1.551, allocations: 0 / 0.65 GB, free: 14.02 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.01652/1.567, allocations: 4.009 MB / 0.6539 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.567, allocations: 12.03 kB / 0.6539 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/1.569, allocations: 284.9 kB / 0.6542 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004595/1.574, allocations: 1.46 MB / 0.6556 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/1.574, allocations: 151.5 kB / 0.6558 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008605/1.575, allocations: 187.9 kB / 0.656 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009835/1.585, allocations: 3.131 MB / 0.659 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.33e-05/1.585, allocations: 11.95 kB / 0.659 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004853/1.586, allocations: 79.95 kB / 0.6591 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004185/1.586, allocations: 187.7 kB / 0.6593 GB, free: 4.348 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/1.598, allocations: 3.556 MB / 0.6628 GB, free: 0.7891 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.04325/1.641, allocations: 12.57 MB / 0.675 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007521/1.649, allocations: 1.655 MB / 0.6767 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003063/1.652, allocations: 1.749 MB / 0.6784 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.253e-05/1.652, allocations: 53.41 kB / 0.6784 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003962/1.656, allocations: 305.8 kB / 0.6787 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 8.786e-06/1.656, allocations: 0 / 0.6787 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=169): time 0.06425/1.72, allocations: 8.614 MB / 0.6871 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/1.72, allocations: 197.9 kB / 0.6873 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004839/1.725, allocations: 1.45 MB / 0.6887 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000744/1.726, allocations: 57.7 kB / 0.6888 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001404/1.727, allocations: 0.9795 MB / 0.6897 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/1.729, allocations: 0.5932 MB / 0.6903 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004853/1.729, allocations: 44 kB / 0.6904 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000335/1.73, allocations: 411.5 kB / 0.6907 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006522/1.736, allocations: 1.203 MB / 0.6919 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.327/2.063, allocations: 1.778 MB / 0.6937 GB, free: 225.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006026/2.069, allocations: 1.505 MB / 0.6951 GB, free: 225.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.624e-05/2.07, allocations: 8.562 kB / 0.6951 GB, free: 225.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01941/2.089, allocations: 3.957 MB / 0.699 GB, free: 224 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001482/2.091, allocations: 6.245 MB / 0.7051 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.79e-05/2.091, allocations: 17.02 kB / 0.7051 GB, free: 217.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01336/2.104, allocations: 1.319 MB / 0.7064 GB, free: 217.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004568/2.109, allocations: 0.5485 MB / 0.7069 GB, free: 217.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004992/2.114, allocations: 2.13 MB / 0.709 GB, free: 215.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00471/2.118, allocations: 202.2 kB / 0.7092 GB, free: 215.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008749/2.119, allocations: 184.3 kB / 0.7094 GB, free: 215.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/2.119, allocations: 5.344 kB / 0.7094 GB, free: 215.7 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01678/2.136, allocations: 3.834 MB / 0.7131 GB, free: 214.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-05/2.136, allocations: 15.81 kB / 0.7132 GB, free: 214.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009319/2.146, allocations: 0.9597 MB / 0.7141 GB, free: 214.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004504/2.15, allocations: 0.5559 MB / 0.7146 GB, free: 214.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004379/2.155, allocations: 1.907 MB / 0.7165 GB, free: 212.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003745/2.158, allocations: 192.6 kB / 0.7167 GB, free: 212.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009087/2.159, allocations: 178.1 kB / 0.7168 GB, free: 212.9 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.002158/2.162, allocations: 0.5674 MB / 0.7174 GB, free: 212.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006953/2.162, allocations: 207 kB / 0.7176 GB, free: 212.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/2.177, allocations: 4.069 MB / 0.7216 GB, free: 210.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/2.177, allocations: 18.53 kB / 0.7216 GB, free: 210.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/2.177, allocations: 0 / 0.7216 GB, free: 210.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.419e-05/2.177, allocations: 15.89 kB / 0.7216 GB, free: 210.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/2.194, allocations: 5.674 MB / 0.7271 GB, free: 207 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/2.194, allocations: 4.156 kB / 0.7272 GB, free: 207 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002952/2.197, allocations: 345.9 kB / 0.7275 GB, free: 206.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009706/2.207, allocations: 1.174 MB / 0.7286 GB, free: 206 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006016/2.207, allocations: 71.94 kB / 0.7287 GB, free: 205.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/2.212, allocations: 2.04 MB / 0.7307 GB, free: 203.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/2.212, allocations: 12.12 kB / 0.7307 GB, free: 203.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/2.226, allocations: 4.768 MB / 0.7354 GB, free: 198.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009515/2.227, allocations: 315.3 kB / 0.7357 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/2.228, allocations: 44 kB / 0.7357 GB, free: 198.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003664/2.231, allocations: 148.3 kB / 0.7358 GB, free: 198.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006156/2.232, allocations: 145.8 kB / 0.736 GB, free: 198.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003967/2.233, allocations: 119.9 kB / 0.7361 GB, free: 198.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002387/2.235, allocations: 1.098 MB / 0.7372 GB, free: 197.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.61e-07/2.235, allocations: 0 / 0.7372 GB, free: 197.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01098/2.246, allocations: 2.756 MB / 0.7399 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.01037/2.256, allocations: 2.506 MB / 0.7423 GB, free: 192.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0166/2.273, allocations: 4.898 MB / 0.7471 GB, free: 187.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/2.273, allocations: 4 kB / 0.7471 GB, free: 187.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004806/2.278, allocations: 1.363 MB / 0.7484 GB, free: 186.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008355/2.286, allocations: 1.02 MB / 0.7494 GB, free: 185.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/2.299, allocations: 5.456 MB / 0.7547 GB, free: 179.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/2.301, allocations: 1.712 MB / 0.7564 GB, free: 178.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002386/2.303, allocations: 323.2 kB / 0.7567 GB, free: 177.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/2.303, allocations: 0 / 0.7567 GB, free: 177.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.1529/2.456, allocations: 81.41 MB / 0.8362 GB, free: 96.2 MB / 0.5261 GB