Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume1.mC_scaled.1.|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p|volume2.mC_scaled.1.|volume2.medium.T|volume2.medium.Xi.1.|volume2.medium.p|volume3.mC_scaled.1.|volume3.medium.T|volume3.medium.Xi.1.|volume3.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 209.2 MB / 224.4 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.739e-05, allocations: 11.92 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3471, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances): time 0.8089/1.156, allocations: 245.9 MB / 0.5574 GB, free: 14.36 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.06069/1.217, allocations: 31.76 MB / 0.5884 GB, free: 1.387 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004166/1.221, allocations: 105.6 kB / 0.5885 GB, free: 1.336 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0045/1.226, allocations: 1.003 MB / 0.5895 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02953/1.255, allocations: 7.168 MB / 0.5965 GB, free: 9.746 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01981/1.275, allocations: 4.962 MB / 0.6013 GB, free: 4.938 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009179/1.284, allocations: 3.714 MB / 0.6049 GB, free: 1.211 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00429/1.289, allocations: 1.78 MB / 0.6067 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0134/1.302, allocations: 4.057 MB / 0.6106 GB, free: 11.36 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006843/1.309, allocations: 2.522 MB / 0.6131 GB, free: 8.832 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04402/1.353, allocations: 15.76 MB / 0.6285 GB, free: 9.055 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006275/1.359, allocations: 0.6602 MB / 0.6291 GB, free: 8.395 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003569/1.363, allocations: 1.446 MB / 0.6306 GB, free: 6.945 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002506/1.366, allocations: 388 kB / 0.6309 GB, free: 6.566 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02701/1.393, allocations: 9.433 MB / 0.6401 GB, free: 13.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/1.393, allocations: 0 / 0.6401 GB, free: 13.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.393, allocations: 0 / 0.6401 GB, free: 13.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001906/1.393, allocations: 3.938 kB / 0.6401 GB, free: 13.11 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.02134/1.414, allocations: 5.146 MB / 0.6452 GB, free: 7.867 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/1.414, allocations: 8.031 kB / 0.6452 GB, free: 7.859 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/1.417, allocations: 395.7 kB / 0.6456 GB, free: 7.469 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00608/1.423, allocations: 1.886 MB / 0.6474 GB, free: 5.527 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006955/1.424, allocations: 0.5007 MB / 0.6479 GB, free: 4.969 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001312/1.425, allocations: 276 kB / 0.6481 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/1.441, allocations: 4.947 MB / 0.653 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/1.441, allocations: 15.78 kB / 0.653 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001031/1.442, allocations: 124 kB / 0.6531 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005988/1.443, allocations: 277.2 kB / 0.6534 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01717/1.46, allocations: 5.115 MB / 0.6584 GB, free: 9.98 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.3446/1.805, allocations: 21.15 MB / 0.679 GB, free: 205.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008816/1.813, allocations: 2.629 MB / 0.6816 GB, free: 204.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003642/1.817, allocations: 3.382 MB / 0.6849 GB, free: 200.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/1.817, allocations: 68.38 kB / 0.685 GB, free: 200.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=235): time 5.541e-06/1.817, allocations: 0 / 0.685 GB, free: 200.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=271): time 0.1089/1.926, allocations: 15.93 MB / 0.7005 GB, free: 196.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.926, allocations: 234.2 kB / 0.7007 GB, free: 196.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004376/1.931, allocations: 2.012 MB / 0.7027 GB, free: 195.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009/1.932, allocations: 77.45 kB / 0.7028 GB, free: 195.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/1.933, allocations: 1.413 MB / 0.7042 GB, free: 193.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001646/1.935, allocations: 0.9632 MB / 0.7051 GB, free: 193 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006781/1.935, allocations: 79.81 kB / 0.7052 GB, free: 192.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003144/1.936, allocations: 478.4 kB / 0.7056 GB, free: 192.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007386/1.943, allocations: 1.979 MB / 0.7076 GB, free: 191.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008192/1.951, allocations: 3.264 MB / 0.7107 GB, free: 188.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008345/1.96, allocations: 2.543 MB / 0.7132 GB, free: 187.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.461e-05/1.96, allocations: 10.38 kB / 0.7132 GB, free: 187.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=514) (initialization): time 0.02401/1.984, allocations: 6.074 MB / 0.7192 GB, free: 184.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003752/1.988, allocations: 16.05 MB / 0.7348 GB, free: 167 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/1.988, allocations: 43.53 kB / 0.7349 GB, free: 167 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007559/1.995, allocations: 0.9541 MB / 0.7358 GB, free: 166.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007235/2.003, allocations: 0.9388 MB / 0.7367 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007402/2.01, allocations: 2.789 MB / 0.7395 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007057/2.017, allocations: 378.3 kB / 0.7398 GB, free: 164 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001392/2.019, allocations: 285.8 kB / 0.7401 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/2.019, allocations: 0 / 0.7401 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02128/2.04, allocations: 5.849 MB / 0.7458 GB, free: 158 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/2.04, allocations: 40 kB / 0.7458 GB, free: 158 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007284/2.048, allocations: 0.9477 MB / 0.7468 GB, free: 157.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006991/2.055, allocations: 0.936 MB / 0.7477 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007316/2.062, allocations: 2.79 MB / 0.7504 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005849/2.068, allocations: 375.5 kB / 0.7508 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001261/2.069, allocations: 279.9 kB / 0.751 GB, free: 152.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * Number of states: 0 () * Number of discrete variables: 22 (traceSubstance1.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance.ind,volume1.regularFlow[1],volume1.regularFlow[2],volume1.regularFlow[3],volume2.regularFlow[1],volume2.regularFlow[2],volume2.regularFlow[3],volume3.regularFlow[1],volume3.regularFlow[2],volume3.regularFlow[3],volume3.inFlow[3],volume3.inFlow[2],volume3.inFlow[1],volume2.inFlow[3],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[3],volume1.inFlow[2],volume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (493): * Single equations (assignments): 486 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.00318/2.072, allocations: 0.889 MB / 0.7519 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/2.074, allocations: 296.5 kB / 0.7522 GB, free: 151.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02277/2.096, allocations: 6.14 MB / 0.7582 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-05/2.096, allocations: 39.98 kB / 0.7582 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/2.096, allocations: 7.891 kB / 0.7582 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.231e-05/2.097, allocations: 15.95 kB / 0.7582 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02831/2.125, allocations: 8.885 MB / 0.7669 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.643e-05/2.125, allocations: 3.953 kB / 0.7669 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005122/2.13, allocations: 0.5695 MB / 0.7675 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008971/2.139, allocations: 1.129 MB / 0.7686 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009163/2.14, allocations: 127.8 kB / 0.7687 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006452/2.147, allocations: 2.661 MB / 0.7713 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/2.147, allocations: 7.969 kB / 0.7713 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02425/2.171, allocations: 7.413 MB / 0.7785 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003139/2.174, allocations: 0.8872 MB / 0.7794 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00153/2.176, allocations: 75.98 kB / 0.7795 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005583/2.181, allocations: 275.6 kB / 0.7797 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009862/2.182, allocations: 222.1 kB / 0.78 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007275/2.183, allocations: 175.9 kB / 0.7801 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00341/2.187, allocations: 1.474 MB / 0.7816 GB, free: 121 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.393e-06/2.187, allocations: 0 / 0.7816 GB, free: 121 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01581/2.202, allocations: 3.723 MB / 0.7852 GB, free: 117.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T,volume1.mC_scaled[1],volume2.medium.p,volume2.medium.Xi[1],volume2.medium.T,volume2.mC_scaled[1],volume3.medium.p,volume3.medium.Xi[1],volume3.medium.T,volume3.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 285 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01364/2.216, allocations: 3.297 MB / 0.7884 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02663/2.243, allocations: 8.327 MB / 0.7966 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/2.243, allocations: 4.562 kB / 0.7966 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008221/2.251, allocations: 2.374 MB / 0.7989 GB, free: 104 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01058/2.262, allocations: 1.213 MB / 0.8001 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02692/2.289, allocations: 9.064 MB / 0.8089 GB, free: 93.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003162/2.292, allocations: 2.292 MB / 0.8112 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003607/2.296, allocations: 471.2 kB / 0.8116 GB, free: 90.9 MB / 0.4948 GB Notification: Performance of SimCode: time 2.144e-06/2.296, allocations: 0 / 0.8116 GB, free: 90.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.5192/2.815, allocations: 125.5 MB / 0.9342 GB, free: 183.7 MB / 0.4948 GB