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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.591/2.591, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.368e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.422, allocations: 54.86 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances): time 0.9487/1.371, allocations: 246.3 MB / 0.5949 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0705/1.441, allocations: 31.93 MB / 0.626 GB, free: 6.625 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005207/1.447, allocations: 103.2 kB / 0.6261 GB, free: 6.523 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00491/1.452, allocations: 1.034 MB / 0.6272 GB, free: 5.484 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03228/1.484, allocations: 7.172 MB / 0.6342 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02069/1.505, allocations: 4.971 MB / 0.639 GB, free: 9.309 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.01001/1.515, allocations: 3.73 MB / 0.6427 GB, free: 5.57 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005021/1.52, allocations: 1.784 MB / 0.6444 GB, free: 3.781 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01527/1.535, allocations: 4.076 MB / 0.6484 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007399/1.542, allocations: 2.534 MB / 0.6509 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05653/1.599, allocations: 15.95 MB / 0.6664 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.01021/1.609, allocations: 0.6641 MB / 0.6671 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.005071/1.614, allocations: 1.45 MB / 0.6685 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003595/1.618, allocations: 392 kB / 0.6689 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.03966/1.658, allocations: 9.433 MB / 0.6781 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.658, allocations: 0 / 0.6781 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.16e-06/1.658, allocations: 0 / 0.6781 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002794/1.658, allocations: 0 / 0.6781 GB, free: 1.238 MB / 0.5105 GB 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.03138/1.69, allocations: 5.142 MB / 0.6831 GB, free: 12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/1.69, allocations: 8.031 kB / 0.6831 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003689/1.693, allocations: 403.7 kB / 0.6835 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009518/1.703, allocations: 1.897 MB / 0.6853 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009989/1.704, allocations: 0.4967 MB / 0.6858 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/1.706, allocations: 291.8 kB / 0.6861 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02579/1.732, allocations: 4.931 MB / 0.6909 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002532/1.733, allocations: 7.938 kB / 0.6909 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001793/1.734, allocations: 131.9 kB / 0.6911 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009567/1.735, allocations: 277.1 kB / 0.6913 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4645/2.2, allocations: 5.108 MB / 0.6963 GB, free: 224.6 MB / 0.5261 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.07641/2.276, allocations: 21.78 MB / 0.7176 GB, free: 208.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01254/2.289, allocations: 2.629 MB / 0.7201 GB, free: 207.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004278/2.293, allocations: 3.379 MB / 0.7234 GB, free: 203.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/2.294, allocations: 75.05 kB / 0.7235 GB, free: 203.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=235): time 5.931e-06/2.294, allocations: 0 / 0.7235 GB, free: 203.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=271): time 0.1084/2.402, allocations: 15.93 MB / 0.7391 GB, free: 194.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.704e-05/2.402, allocations: 231.8 kB / 0.7393 GB, free: 193.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004431/2.407, allocations: 2.013 MB / 0.7413 GB, free: 191.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009807/2.408, allocations: 81.7 kB / 0.7413 GB, free: 191.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/2.409, allocations: 1.477 MB / 0.7428 GB, free: 190.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001775/2.411, allocations: 0.9652 MB / 0.7437 GB, free: 189.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006888/2.412, allocations: 83.94 kB / 0.7438 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000331/2.412, allocations: 470.6 kB / 0.7443 GB, free: 188.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007449/2.419, allocations: 1.971 MB / 0.7462 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009059/2.429, allocations: 3.267 MB / 0.7494 GB, free: 182.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0093/2.438, allocations: 2.541 MB / 0.7519 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.375e-05/2.438, allocations: 12 kB / 0.7519 GB, free: 180.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=514) (initialization): time 0.02444/2.463, allocations: 6.192 MB / 0.7579 GB, free: 174 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.004719/2.467, allocations: 16.62 MB / 0.7741 GB, free: 156 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002475/2.468, allocations: 40 kB / 0.7742 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01232/2.48, allocations: 0.9597 MB / 0.7751 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007878/2.488, allocations: 0.9399 MB / 0.776 GB, free: 154 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007796/2.496, allocations: 2.789 MB / 0.7788 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007693/2.504, allocations: 383.5 kB / 0.7791 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/2.505, allocations: 283.9 kB / 0.7794 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/2.505, allocations: 4 kB / 0.7794 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02202/2.527, allocations: 5.838 MB / 0.7851 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000162/2.527, allocations: 40 kB / 0.7851 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00749/2.535, allocations: 0.9608 MB / 0.7861 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007554/2.542, allocations: 0.9282 MB / 0.787 GB, free: 142.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007592/2.55, allocations: 2.789 MB / 0.7897 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006817/2.557, allocations: 379.5 kB / 0.7901 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001441/2.559, allocations: 275.9 kB / 0.7903 GB, free: 139.2 MB / 0.5261 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.003277/2.562, allocations: 0.8967 MB / 0.7912 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/2.563, allocations: 292.5 kB / 0.7915 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02514/2.588, allocations: 6.154 MB / 0.7975 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.476e-05/2.588, allocations: 39.94 kB / 0.7975 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/2.588, allocations: 4 kB / 0.7975 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/2.589, allocations: 15.94 kB / 0.7976 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02909/2.618, allocations: 8.879 MB / 0.8062 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.044e-05/2.618, allocations: 7.984 kB / 0.8062 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005811/2.624, allocations: 0.5736 MB / 0.8068 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01274/2.636, allocations: 1.13 MB / 0.8079 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00124/2.638, allocations: 119.9 kB / 0.808 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009273/2.647, allocations: 2.678 MB / 0.8106 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/2.647, allocations: 4.031 kB / 0.8106 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03701/2.684, allocations: 7.415 MB / 0.8179 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004266/2.688, allocations: 0.891 MB / 0.8187 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002115/2.691, allocations: 71.98 kB / 0.8188 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007882/2.699, allocations: 267.6 kB / 0.8191 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00145/2.7, allocations: 214.2 kB / 0.8193 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001027/2.701, allocations: 179.9 kB / 0.8194 GB, free: 109 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005471/2.707, allocations: 1.47 MB / 0.8209 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.92e-07/2.707, allocations: 0 / 0.8209 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02276/2.73, allocations: 3.736 MB / 0.8245 GB, free: 104.2 MB / 0.5261 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.02049/2.75, allocations: 3.291 MB / 0.8277 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03665/2.787, allocations: 8.395 MB / 0.8359 GB, free: 93.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/2.787, allocations: 1 kB / 0.8359 GB, free: 93.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008502/2.795, allocations: 2.372 MB / 0.8383 GB, free: 90.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01077/2.806, allocations: 1.202 MB / 0.8394 GB, free: 89.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/2.833, allocations: 8.89 MB / 0.8481 GB, free: 80.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002798/2.836, allocations: 2.292 MB / 0.8503 GB, free: 78.22 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01611/2.852, allocations: 2.433 MB / 0.8527 GB, free: 75.78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002787/2.855, allocations: 363.2 kB / 0.8531 GB, free: 75.42 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/2.855, allocations: 0 / 0.8531 GB, free: 75.42 MB / 0.5261 GB Notification: Performance of Templates: time 0.6446/3.5, allocations: 112.6 MB / 0.963 GB, free: 192.6 MB / 0.5261 GB