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_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadModel(ModelicaTest): time 1.833/1.833, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.925e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08821/0.08826, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8331/0.9214, allocations: 290.7 MB / 0.5981 GB, free: 79.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/0.9219, allocations: 84.27 kB / 0.5982 GB, free: 79.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6908/1.613, allocations: 150.5 MB / 0.7452 GB, free: 101.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.736e-06/1.613, allocations: 4 kB / 0.7452 GB, free: 101.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.326e-05/1.613, allocations: 26.89 kB / 0.7452 GB, free: 101 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.002248/1.615, allocations: 1.062 MB / 0.7462 GB, free: 99.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.615, allocations: 12.03 kB / 0.7462 GB, free: 99.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007306/1.616, allocations: 114.9 kB / 0.7463 GB, free: 99.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/1.617, allocations: 0.6292 MB / 0.747 GB, free: 99.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/1.618, allocations: 254.8 kB / 0.7472 GB, free: 98.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/1.618, allocations: 79.91 kB / 0.7473 GB, free: 98.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/1.62, allocations: 1.242 MB / 0.7485 GB, free: 97.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/1.62, allocations: 7.938 kB / 0.7485 GB, free: 97.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/1.62, allocations: 40 kB / 0.7485 GB, free: 97.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/1.62, allocations: 49.23 kB / 0.7486 GB, free: 97.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/1.622, allocations: 0.8768 MB / 0.7494 GB, free: 96.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007195/1.63, allocations: 6.543 MB / 0.7558 GB, free: 89.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/1.63, allocations: 275.9 kB / 0.7561 GB, free: 89.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/1.63, allocations: 149.5 kB / 0.7562 GB, free: 89.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002954/1.633, allocations: 3.092 MB / 0.7593 GB, free: 85.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/1.633, allocations: 34.56 kB / 0.7593 GB, free: 85.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.99e-06/1.633, allocations: 0 / 0.7593 GB, free: 85.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002093/1.636, allocations: 0.8545 MB / 0.7601 GB, free: 84.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/1.636, allocations: 59.36 kB / 0.7602 GB, free: 84.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/1.637, allocations: 0.7028 MB / 0.7609 GB, free: 83.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/1.637, allocations: 33.7 kB / 0.7609 GB, free: 83.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/1.637, allocations: 0.6699 MB / 0.7616 GB, free: 83.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/1.637, allocations: 109.5 kB / 0.7617 GB, free: 83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/1.637, allocations: 28 kB / 0.7617 GB, free: 82.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/1.637, allocations: 358.8 kB / 0.762 GB, free: 82.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/1.638, allocations: 218.6 kB / 0.7622 GB, free: 82.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007349/1.639, allocations: 1.035 MB / 0.7632 GB, free: 80.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/1.639, allocations: 447.3 kB / 0.7637 GB, free: 80.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/1.639, allocations: 8.219 kB / 0.7637 GB, free: 80.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002057/1.641, allocations: 1.115 MB / 0.7648 GB, free: 79.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/1.641, allocations: 21.5 kB / 0.7648 GB, free: 79.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/1.641, allocations: 28 kB / 0.7648 GB, free: 79.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.722e-05/1.641, allocations: 44 kB / 0.7649 GB, free: 79.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.643, allocations: 291.4 kB / 0.7651 GB, free: 79.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.716e-05/1.643, allocations: 67.66 kB / 0.7652 GB, free: 78.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.644, allocations: 76.14 kB / 0.7653 GB, free: 78.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/1.644, allocations: 87.98 kB / 0.7654 GB, free: 78.79 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.000208/1.644, allocations: 204.1 kB / 0.7656 GB, free: 78.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/1.644, allocations: 75.06 kB / 0.7656 GB, free: 78.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007752/1.645, allocations: 349.8 kB / 0.766 GB, free: 78.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.645, allocations: 7.984 kB / 0.766 GB, free: 78.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.892e-06/1.645, allocations: 4 kB / 0.766 GB, free: 78.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.556e-06/1.645, allocations: 0 / 0.766 GB, free: 78.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.647, allocations: 0.8884 MB / 0.7668 GB, free: 77.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.234e-06/1.647, allocations: 0 / 0.7668 GB, free: 77.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/1.647, allocations: 59.91 kB / 0.7669 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.822e-06/1.647, allocations: 4 kB / 0.7669 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/1.647, allocations: 8.062 kB / 0.7669 GB, free: 77.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/1.647, allocations: 11.94 kB / 0.7669 GB, free: 77.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.633e-06/1.647, allocations: 0 / 0.7669 GB, free: 77.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007534/1.648, allocations: 0.5163 MB / 0.7674 GB, free: 76.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/1.648, allocations: 184.1 kB / 0.7676 GB, free: 76.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.648, allocations: 8 kB / 0.7676 GB, free: 76.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/1.649, allocations: 15.98 kB / 0.7676 GB, free: 76.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/1.649, allocations: 19.92 kB / 0.7676 GB, free: 76.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/1.649, allocations: 15.98 kB / 0.7677 GB, free: 76.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007297/1.65, allocations: 495.1 kB / 0.7681 GB, free: 75.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.25e-07/1.65, allocations: 3.938 kB / 0.7681 GB, free: 75.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001582/1.651, allocations: 287.9 kB / 0.7684 GB, free: 75.54 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.0007568/1.652, allocations: 388.1 kB / 0.7688 GB, free: 75.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/1.653, allocations: 0.5653 MB / 0.7693 GB, free: 74.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.629e-06/1.653, allocations: 8.25 kB / 0.7693 GB, free: 74.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/1.653, allocations: 107.8 kB / 0.7694 GB, free: 74.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/1.655, allocations: 247.4 kB / 0.7697 GB, free: 74.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/1.657, allocations: 1.047 MB / 0.7707 GB, free: 73.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/1.657, allocations: 1.004 MB / 0.7717 GB, free: 72.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/1.658, allocations: 75.42 kB / 0.7718 GB, free: 72.13 MB / 426.7 MB Notification: Performance of SimCode: time 2.007e-06/1.658, allocations: 0 / 0.7718 GB, free: 72.13 MB / 426.7 MB Notification: Performance of Templates: time 0.01958/1.677, allocations: 12.68 MB / 0.7841 GB, free: 59.47 MB / 426.7 MB