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_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadModel(ModelicaTest): time 2.219/2.219, allocations: 235 MB / 247.2 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.135e-05, allocations: 4 kB / 304.9 MB, free: 5.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3376, allocations: 54.86 MB / 359.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6813/1.019, allocations: 297.1 MB / 0.6415 GB, free: 37.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.019, allocations: 82.08 kB / 0.6416 GB, free: 37.19 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7116/1.731, allocations: 150.5 MB / 0.7886 GB, free: 96.04 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.448e-06/1.731, allocations: 0 / 0.7886 GB, free: 96.04 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.698e-05/1.731, allocations: 24 kB / 0.7886 GB, free: 96.01 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.002267/1.733, allocations: 1.066 MB / 0.7896 GB, free: 94.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.733, allocations: 16.03 kB / 0.7897 GB, free: 94.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006975/1.734, allocations: 111 kB / 0.7898 GB, free: 94.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/1.735, allocations: 0.6294 MB / 0.7904 GB, free: 94.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/1.736, allocations: 260.1 kB / 0.7906 GB, free: 93.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/1.736, allocations: 79.91 kB / 0.7907 GB, free: 93.73 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/1.738, allocations: 1.239 MB / 0.7919 GB, free: 92.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/1.738, allocations: 7.938 kB / 0.7919 GB, free: 92.36 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/1.738, allocations: 43.95 kB / 0.792 GB, free: 92.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.696e-05/1.738, allocations: 41.3 kB / 0.792 GB, free: 92.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/1.74, allocations: 0.8807 MB / 0.7929 GB, free: 91.39 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007176/1.747, allocations: 6.527 MB / 0.7992 GB, free: 84.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/1.748, allocations: 279.9 kB / 0.7995 GB, free: 84.22 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/1.748, allocations: 150.6 kB / 0.7996 GB, free: 84.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002896/1.751, allocations: 3.098 MB / 0.8027 GB, free: 80.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/1.751, allocations: 38.52 kB / 0.8027 GB, free: 80.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 4.618e-06/1.751, allocations: 7.922 kB / 0.8027 GB, free: 80.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.002018/1.753, allocations: 0.8523 MB / 0.8035 GB, free: 79.47 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/1.753, allocations: 55.41 kB / 0.8036 GB, free: 79.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009943/1.754, allocations: 0.7067 MB / 0.8043 GB, free: 78.69 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/1.755, allocations: 37.7 kB / 0.8043 GB, free: 78.65 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/1.755, allocations: 0.6277 MB / 0.8049 GB, free: 78.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/1.755, allocations: 110.7 kB / 0.805 GB, free: 77.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/1.755, allocations: 24 kB / 0.8051 GB, free: 77.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/1.755, allocations: 386.8 kB / 0.8054 GB, free: 77.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/1.756, allocations: 218.6 kB / 0.8056 GB, free: 77.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/1.756, allocations: 1.031 MB / 0.8066 GB, free: 75.83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006932/1.757, allocations: 447.5 kB / 0.8071 GB, free: 75.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/1.757, allocations: 12.22 kB / 0.8071 GB, free: 75.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002138/1.759, allocations: 1.143 MB / 0.8082 GB, free: 74.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/1.759, allocations: 24.56 kB / 0.8082 GB, free: 74.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/1.759, allocations: 28 kB / 0.8083 GB, free: 74.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.817e-05/1.759, allocations: 44 kB / 0.8083 GB, free: 74.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.76, allocations: 295.4 kB / 0.8086 GB, free: 73.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.711e-05/1.76, allocations: 55.8 kB / 0.8086 GB, free: 73.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.762, allocations: 72.11 kB / 0.8087 GB, free: 73.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/1.762, allocations: 80 kB / 0.8088 GB, free: 73.65 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.0002211/1.762, allocations: 212.2 kB / 0.809 GB, free: 73.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/1.762, allocations: 79.02 kB / 0.8091 GB, free: 73.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007688/1.763, allocations: 339.9 kB / 0.8094 GB, free: 73.01 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.763, allocations: 0 / 0.8094 GB, free: 73.01 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.72e-06/1.763, allocations: 0 / 0.8094 GB, free: 73.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.362e-06/1.763, allocations: 11.98 kB / 0.8094 GB, free: 73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/1.765, allocations: 0.8958 MB / 0.8103 GB, free: 72.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.068e-06/1.765, allocations: 0 / 0.8103 GB, free: 72.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/1.765, allocations: 59.91 kB / 0.8103 GB, free: 71.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.765, allocations: 0 / 0.8103 GB, free: 71.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/1.765, allocations: 8 kB / 0.8103 GB, free: 71.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.133e-06/1.765, allocations: 0 / 0.8103 GB, free: 71.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.654e-06/1.765, allocations: 8.062 kB / 0.8103 GB, free: 71.97 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/1.766, allocations: 0.5395 MB / 0.8109 GB, free: 71.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/1.766, allocations: 172.2 kB / 0.811 GB, free: 71.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.766, allocations: 8.062 kB / 0.811 GB, free: 71.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/1.767, allocations: 16 kB / 0.811 GB, free: 71.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/1.767, allocations: 15.97 kB / 0.8111 GB, free: 71.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/1.767, allocations: 19.98 kB / 0.8111 GB, free: 71.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007242/1.768, allocations: 495 kB / 0.8116 GB, free: 70.67 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.768, allocations: 0 / 0.8116 GB, free: 70.67 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001574/1.769, allocations: 287.9 kB / 0.8118 GB, free: 70.39 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.000718/1.77, allocations: 392.2 kB / 0.8122 GB, free: 70.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001175/1.771, allocations: 0.5611 MB / 0.8128 GB, free: 69.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.771, allocations: 0.5625 kB / 0.8128 GB, free: 69.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/1.771, allocations: 116.4 kB / 0.8129 GB, free: 69.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/1.773, allocations: 256.2 kB / 0.8131 GB, free: 69.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/1.775, allocations: 0.9925 MB / 0.8141 GB, free: 68.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/1.776, allocations: 1.012 MB / 0.8151 GB, free: 67.03 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001273/1.777, allocations: 291.5 kB / 0.8153 GB, free: 66.74 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/1.777, allocations: 71.42 kB / 0.8154 GB, free: 66.67 MB / 474.7 MB Notification: Performance of SimCode: time 1.97e-06/1.777, allocations: 0 / 0.8154 GB, free: 66.67 MB / 474.7 MB Notification: Performance of Templates: time 0.02795/1.805, allocations: 11.96 MB / 0.8271 GB, free: 54.75 MB / 474.7 MB