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.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadModel(ModelicaTest): time 1.937/1.937, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.417e-05, allocations: 4 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.08919, allocations: 48.7 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8247/0.9139, allocations: 290.7 MB / 0.5982 GB, free: 79.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.9142, allocations: 81.89 kB / 0.5982 GB, free: 79.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6744/1.589, allocations: 150.5 MB / 0.7452 GB, free: 100.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.533e-06/1.589, allocations: 0 / 0.7452 GB, free: 100.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.914e-05/1.589, allocations: 26.19 kB / 0.7452 GB, free: 100.7 MB / 426.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.002375/1.591, allocations: 1.073 MB / 0.7463 GB, free: 99.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.591, allocations: 8.031 kB / 0.7463 GB, free: 99.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006847/1.592, allocations: 118.9 kB / 0.7464 GB, free: 99.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/1.593, allocations: 0.6248 MB / 0.747 GB, free: 98.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/1.593, allocations: 248.2 kB / 0.7472 GB, free: 98.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/1.594, allocations: 79.91 kB / 0.7473 GB, free: 98.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/1.596, allocations: 1.246 MB / 0.7485 GB, free: 97.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/1.596, allocations: 11.88 kB / 0.7485 GB, free: 97.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/1.596, allocations: 39.12 kB / 0.7486 GB, free: 96.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.654e-05/1.596, allocations: 45.3 kB / 0.7486 GB, free: 96.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/1.598, allocations: 0.8807 MB / 0.7495 GB, free: 96.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007603/1.606, allocations: 6.54 MB / 0.7559 GB, free: 89.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/1.606, allocations: 264 kB / 0.7561 GB, free: 88.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/1.607, allocations: 157.4 kB / 0.7563 GB, free: 88.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002931/1.61, allocations: 3.104 MB / 0.7593 GB, free: 85.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/1.61, allocations: 38.56 kB / 0.7593 GB, free: 85.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.99e-06/1.61, allocations: 0 / 0.7593 GB, free: 85.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0021/1.612, allocations: 0.849 MB / 0.7602 GB, free: 84.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/1.612, allocations: 63.36 kB / 0.7602 GB, free: 84.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/1.613, allocations: 0.6989 MB / 0.7609 GB, free: 83.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/1.613, allocations: 29.7 kB / 0.7609 GB, free: 83.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/1.613, allocations: 0.6243 MB / 0.7615 GB, free: 82.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.27e-05/1.613, allocations: 113.8 kB / 0.7616 GB, free: 82.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/1.614, allocations: 24.22 kB / 0.7617 GB, free: 82.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/1.614, allocations: 386.8 kB / 0.762 GB, free: 82.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004245/1.614, allocations: 222.5 kB / 0.7623 GB, free: 82.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/1.615, allocations: 1.035 MB / 0.7633 GB, free: 80.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/1.616, allocations: 451.3 kB / 0.7637 GB, free: 80.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/1.616, allocations: 12 kB / 0.7637 GB, free: 80.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002124/1.618, allocations: 1.131 MB / 0.7648 GB, free: 78.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/1.618, allocations: 16 kB / 0.7648 GB, free: 78.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/1.618, allocations: 28 kB / 0.7649 GB, free: 78.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.552e-05/1.618, allocations: 44 kB / 0.7649 GB, free: 78.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/1.619, allocations: 295.4 kB / 0.7652 GB, free: 78.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.735e-05/1.619, allocations: 60.31 kB / 0.7652 GB, free: 78.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.62, allocations: 79.78 kB / 0.7653 GB, free: 78.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/1.62, allocations: 80 kB / 0.7654 GB, free: 78.4 MB / 426.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.00021/1.621, allocations: 216 kB / 0.7656 GB, free: 78.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/1.621, allocations: 87 kB / 0.7657 GB, free: 78.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007717/1.621, allocations: 340.3 kB / 0.766 GB, free: 77.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.622, allocations: 4 kB / 0.766 GB, free: 77.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.449e-06/1.622, allocations: 0 / 0.766 GB, free: 77.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.622, allocations: 3.938 kB / 0.766 GB, free: 77.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/1.623, allocations: 0.8813 MB / 0.7669 GB, free: 76.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.623, allocations: 0 / 0.7669 GB, free: 76.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/1.623, allocations: 55.97 kB / 0.7669 GB, free: 76.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.312e-06/1.623, allocations: 12 kB / 0.7669 GB, free: 76.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/1.624, allocations: 7.984 kB / 0.7669 GB, free: 76.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.344e-06/1.624, allocations: 7.953 kB / 0.7669 GB, free: 76.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.699e-06/1.624, allocations: 3.5 kB / 0.7669 GB, free: 76.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/1.624, allocations: 0.5279 MB / 0.7675 GB, free: 76.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/1.625, allocations: 176.1 kB / 0.7676 GB, free: 75.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.625, allocations: 4 kB / 0.7676 GB, free: 75.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/1.625, allocations: 19.92 kB / 0.7677 GB, free: 75.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/1.625, allocations: 23.92 kB / 0.7677 GB, free: 75.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/1.625, allocations: 15.98 kB / 0.7677 GB, free: 75.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007287/1.626, allocations: 491.2 kB / 0.7682 GB, free: 75.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.76e-07/1.626, allocations: 4 kB / 0.7682 GB, free: 75.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001595/1.628, allocations: 282.5 kB / 0.7684 GB, free: 75.16 MB / 426.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.0007572/1.628, allocations: 393.3 kB / 0.7688 GB, free: 74.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001168/1.63, allocations: 0.573 MB / 0.7694 GB, free: 74.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.582e-06/1.63, allocations: 0 / 0.7694 GB, free: 74.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/1.63, allocations: 103.9 kB / 0.7695 GB, free: 74.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/1.631, allocations: 247.6 kB / 0.7697 GB, free: 73.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/1.634, allocations: 1.013 MB / 0.7707 GB, free: 72.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/1.634, allocations: 1.004 MB / 0.7717 GB, free: 71.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001335/1.635, allocations: 299.1 kB / 0.772 GB, free: 71.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/1.636, allocations: 67.42 kB / 0.772 GB, free: 71.51 MB / 426.7 MB Notification: Performance of SimCode: time 2.075e-06/1.636, allocations: 0 / 0.772 GB, free: 71.51 MB / 426.7 MB Notification: Performance of Templates: time 0.02872/1.664, allocations: 11.95 MB / 0.7837 GB, free: 59.62 MB / 426.7 MB