Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadModel(ModelicaTest): time 2.14/2.14, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.871e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3221, allocations: 54.86 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6082/0.9304, allocations: 297.1 MB / 0.6415 GB, free: 37.28 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.9307, allocations: 81.52 kB / 0.6416 GB, free: 37.24 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6767/1.607, allocations: 150.5 MB / 0.7885 GB, free: 96.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.057e-06/1.607, allocations: 0 / 0.7885 GB, free: 96.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.861e-05/1.608, allocations: 31.92 kB / 0.7886 GB, free: 96.08 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002104/1.61, allocations: 1.063 MB / 0.7896 GB, free: 94.97 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/1.61, allocations: 8.031 kB / 0.7896 GB, free: 94.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005795/1.61, allocations: 115 kB / 0.7897 GB, free: 94.85 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/1.612, allocations: 0.6372 MB / 0.7904 GB, free: 94.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/1.612, allocations: 252.2 kB / 0.7906 GB, free: 93.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/1.612, allocations: 79.91 kB / 0.7907 GB, free: 93.81 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/1.614, allocations: 1.243 MB / 0.7919 GB, free: 92.44 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/1.614, allocations: 7.938 kB / 0.7919 GB, free: 92.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/1.614, allocations: 39.95 kB / 0.7919 GB, free: 92.39 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.744e-05/1.614, allocations: 41.3 kB / 0.792 GB, free: 92.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/1.616, allocations: 0.8807 MB / 0.7928 GB, free: 91.47 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006311/1.622, allocations: 6.538 MB / 0.7992 GB, free: 84.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/1.623, allocations: 268 kB / 0.7995 GB, free: 84.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/1.623, allocations: 155 kB / 0.7996 GB, free: 84.15 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002665/1.626, allocations: 3.101 MB / 0.8026 GB, free: 80.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/1.626, allocations: 42.56 kB / 0.8027 GB, free: 80.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 2.68e-06/1.626, allocations: 0 / 0.8027 GB, free: 80.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.001879/1.628, allocations: 0.8561 MB / 0.8035 GB, free: 79.54 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/1.628, allocations: 55.41 kB / 0.8036 GB, free: 79.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009333/1.629, allocations: 0.7028 MB / 0.8043 GB, free: 78.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/1.629, allocations: 29.7 kB / 0.8043 GB, free: 78.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/1.629, allocations: 0.6653 MB / 0.8049 GB, free: 78.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/1.629, allocations: 114.7 kB / 0.805 GB, free: 77.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/1.629, allocations: 32 kB / 0.8051 GB, free: 77.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/1.629, allocations: 358.8 kB / 0.8054 GB, free: 77.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/1.63, allocations: 218.5 kB / 0.8056 GB, free: 77.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/1.63, allocations: 1.027 MB / 0.8066 GB, free: 75.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/1.631, allocations: 451.5 kB / 0.8071 GB, free: 75.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/1.631, allocations: 8 kB / 0.8071 GB, free: 75.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001964/1.633, allocations: 1.116 MB / 0.8082 GB, free: 74.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/1.633, allocations: 16.78 kB / 0.8082 GB, free: 74.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/1.633, allocations: 32 kB / 0.8082 GB, free: 74.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.629e-05/1.633, allocations: 48.03 kB / 0.8083 GB, free: 74.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009388/1.634, allocations: 291.7 kB / 0.8085 GB, free: 73.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.482e-05/1.634, allocations: 59.78 kB / 0.8086 GB, free: 73.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/1.635, allocations: 71.83 kB / 0.8087 GB, free: 73.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/1.636, allocations: 80 kB / 0.8087 GB, free: 73.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001893/1.636, allocations: 216.2 kB / 0.8089 GB, free: 73.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.636, allocations: 87 kB / 0.809 GB, free: 73.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006987/1.637, allocations: 331.9 kB / 0.8093 GB, free: 73.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.637, allocations: 8 kB / 0.8093 GB, free: 73.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.96e-06/1.637, allocations: 0 / 0.8093 GB, free: 73.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.913e-06/1.637, allocations: 3.938 kB / 0.8093 GB, free: 73.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/1.638, allocations: 0.8957 MB / 0.8102 GB, free: 72.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/1.638, allocations: 3.984 kB / 0.8102 GB, free: 72.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/1.638, allocations: 55.97 kB / 0.8103 GB, free: 72.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.632e-06/1.638, allocations: 3.938 kB / 0.8103 GB, free: 72.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/1.639, allocations: 8 kB / 0.8103 GB, free: 72.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/1.639, allocations: 0 / 0.8103 GB, free: 72.06 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.253e-06/1.639, allocations: 0 / 0.8103 GB, free: 72.06 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/1.639, allocations: 0.5358 MB / 0.8108 GB, free: 71.49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/1.639, allocations: 176.1 kB / 0.811 GB, free: 71.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.64, allocations: 11.98 kB / 0.811 GB, free: 71.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/1.64, allocations: 12 kB / 0.811 GB, free: 71.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/1.64, allocations: 23.97 kB / 0.811 GB, free: 71.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/1.64, allocations: 23.94 kB / 0.8111 GB, free: 71.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006398/1.641, allocations: 487.1 kB / 0.8115 GB, free: 70.76 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.641, allocations: 0 / 0.8115 GB, free: 70.76 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001403/1.642, allocations: 295.8 kB / 0.8118 GB, free: 70.47 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006741/1.643, allocations: 381.4 kB / 0.8122 GB, free: 70.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009859/1.644, allocations: 0.5689 MB / 0.8127 GB, free: 69.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.483e-06/1.644, allocations: 0 / 0.8127 GB, free: 69.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/1.644, allocations: 104.4 kB / 0.8128 GB, free: 69.44 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/1.645, allocations: 257.1 kB / 0.8131 GB, free: 69.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/1.647, allocations: 1.056 MB / 0.8141 GB, free: 68.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/1.648, allocations: 1.004 MB / 0.8151 GB, free: 67.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/1.648, allocations: 75.42 kB / 0.8151 GB, free: 66.99 MB / 474.7 MB Notification: Performance of SimCode: time 1.548e-06/1.648, allocations: 0 / 0.8151 GB, free: 66.99 MB / 474.7 MB Notification: Performance of Templates: time 0.01754/1.665, allocations: 12.67 MB / 0.8275 GB, free: 54.34 MB / 474.7 MB