Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 270 MB / 282.7 MB, free: 1.758 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.984e-05, allocations: 4 kB / 347 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3247, allocations: 61.87 MB / 408.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6674/0.9921, allocations: 303.1 MB / 0.6953 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.9924, allocations: 85.08 kB / 0.6954 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7384/1.731, allocations: 155.2 MB / 0.8469 GB, free: 92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.157e-06/1.731, allocations: 0 / 0.8469 GB, free: 92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.978e-05/1.731, allocations: 23.94 kB / 0.847 GB, free: 91.98 MB / 0.5261 GB 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.002187/1.733, allocations: 1.064 MB / 0.848 GB, free: 90.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/1.733, allocations: 12.03 kB / 0.848 GB, free: 90.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006178/1.734, allocations: 118.9 kB / 0.8481 GB, free: 90.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/1.735, allocations: 0.6119 MB / 0.8487 GB, free: 90.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/1.735, allocations: 248.2 kB / 0.849 GB, free: 89.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/1.735, allocations: 84 kB / 0.849 GB, free: 89.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/1.738, allocations: 1.255 MB / 0.8503 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.593e-05/1.738, allocations: 7.938 kB / 0.8503 GB, free: 88.33 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/1.738, allocations: 40 kB / 0.8503 GB, free: 88.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-05/1.738, allocations: 33.31 kB / 0.8503 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/1.74, allocations: 0.8846 MB / 0.8512 GB, free: 87.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006857/1.747, allocations: 6.596 MB / 0.8576 GB, free: 80.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/1.747, allocations: 293.2 kB / 0.8579 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/1.747, allocations: 161.5 kB / 0.8581 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002659/1.75, allocations: 2.881 MB / 0.8609 GB, free: 76.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/1.75, allocations: 46.67 kB / 0.8609 GB, free: 76.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.577e-06/1.75, allocations: 0 / 0.8609 GB, free: 76.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.00246/1.753, allocations: 1.012 MB / 0.8619 GB, free: 75.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/1.753, allocations: 55.41 kB / 0.862 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/1.754, allocations: 0.758 MB / 0.8627 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/1.754, allocations: 33.7 kB / 0.8627 GB, free: 74.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/1.754, allocations: 0.6079 MB / 0.8633 GB, free: 73.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/1.754, allocations: 134.3 kB / 0.8635 GB, free: 73.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/1.754, allocations: 20 kB / 0.8635 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/1.755, allocations: 358.8 kB / 0.8638 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/1.755, allocations: 234.6 kB / 0.8641 GB, free: 73.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007226/1.756, allocations: 0.9362 MB / 0.865 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/1.757, allocations: 439.4 kB / 0.8654 GB, free: 71.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/1.757, allocations: 8 kB / 0.8654 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002064/1.759, allocations: 1.075 MB / 0.8664 GB, free: 70.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/1.759, allocations: 16 kB / 0.8665 GB, free: 70.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/1.759, allocations: 24 kB / 0.8665 GB, free: 70.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.195e-05/1.759, allocations: 43.94 kB / 0.8665 GB, free: 70.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.76, allocations: 272.1 kB / 0.8668 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.222e-05/1.76, allocations: 55.78 kB / 0.8668 GB, free: 70.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.761, allocations: 71.83 kB / 0.8669 GB, free: 69.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/1.761, allocations: 72 kB / 0.867 GB, free: 69.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (154): * Single equations (assignments): 154 * 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.0002284/1.761, allocations: 204.3 kB / 0.8672 GB, free: 69.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/1.762, allocations: 90.97 kB / 0.8673 GB, free: 69.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/1.763, allocations: 479.4 kB / 0.8677 GB, free: 69.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/1.763, allocations: 4 kB / 0.8677 GB, free: 69.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.305e-06/1.763, allocations: 0 / 0.8677 GB, free: 69.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.197e-06/1.763, allocations: 4 kB / 0.8677 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/1.765, allocations: 1.221 MB / 0.8689 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.078e-06/1.765, allocations: 4 kB / 0.8689 GB, free: 67.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/1.765, allocations: 67.84 kB / 0.869 GB, free: 67.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.765, allocations: 7.984 kB / 0.869 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/1.765, allocations: 15.98 kB / 0.869 GB, free: 67.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.109e-06/1.765, allocations: 4 kB / 0.869 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.765, allocations: 3.984 kB / 0.869 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/1.766, allocations: 0.7046 MB / 0.8697 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/1.767, allocations: 207.9 kB / 0.8699 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/1.767, allocations: 11.98 kB / 0.8699 GB, free: 66.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/1.767, allocations: 27.83 kB / 0.8699 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/1.768, allocations: 35.97 kB / 0.87 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/1.768, allocations: 23.98 kB / 0.87 GB, free: 66.56 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008873/1.769, allocations: 0.5696 MB / 0.8705 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.29e-07/1.769, allocations: 0 / 0.8705 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001548/1.77, allocations: 315.8 kB / 0.8709 GB, free: 65.67 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (34): * Single equations (assignments): 32 * 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.0008747/1.771, allocations: 454.8 kB / 0.8713 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001216/1.772, allocations: 0.5791 MB / 0.8719 GB, free: 64.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.467e-06/1.772, allocations: 1 kB / 0.8719 GB, free: 64.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/1.773, allocations: 136.2 kB / 0.872 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/1.775, allocations: 375.9 kB / 0.8723 GB, free: 64.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/1.777, allocations: 1.116 MB / 0.8734 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/1.777, allocations: 1.013 MB / 0.8744 GB, free: 61.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/1.778, allocations: 91.41 kB / 0.8745 GB, free: 61.85 MB / 0.5261 GB Notification: Performance of SimCode: time 2.002e-06/1.778, allocations: 0 / 0.8745 GB, free: 61.85 MB / 0.5261 GB Notification: Performance of Templates: time 0.02297/1.801, allocations: 14.99 MB / 0.8891 GB, free: 46.95 MB / 0.5261 GB