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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.687e-05/5.724e-05, allocations: 7.984 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9626/1.078, allocations: 303.1 MB / 0.6967 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/1.078, allocations: 83.83 kB / 0.6968 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7537/1.832, allocations: 155.2 MB / 0.8483 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/1.832, allocations: 0 / 0.8483 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.722e-05/1.832, allocations: 34.59 kB / 0.8484 GB, free: 138.5 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.002301/1.834, allocations: 1.058 MB / 0.8494 GB, free: 138 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.834, allocations: 9.75 kB / 0.8494 GB, free: 138 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006878/1.835, allocations: 117.9 kB / 0.8495 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/1.837, allocations: 0.6189 MB / 0.8501 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/1.837, allocations: 251.5 kB / 0.8504 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/1.837, allocations: 81.06 kB / 0.8504 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/1.839, allocations: 1.255 MB / 0.8517 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/1.839, allocations: 5.688 kB / 0.8517 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/1.839, allocations: 43.62 kB / 0.8517 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.399e-05/1.84, allocations: 39.95 kB / 0.8518 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/1.842, allocations: 0.8822 MB / 0.8526 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007208/1.849, allocations: 6.583 MB / 0.859 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/1.849, allocations: 287.7 kB / 0.8593 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/1.85, allocations: 158.8 kB / 0.8595 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002801/1.853, allocations: 2.878 MB / 0.8623 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/1.853, allocations: 44.59 kB / 0.8623 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.401e-06/1.853, allocations: 2.594 kB / 0.8623 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.002583/1.855, allocations: 1.01 MB / 0.8633 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/1.855, allocations: 55.12 kB / 0.8634 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/1.857, allocations: 0.7612 MB / 0.8641 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.485e-05/1.857, allocations: 35.95 kB / 0.8641 GB, free: 129 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/1.857, allocations: 0.5713 MB / 0.8647 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/1.857, allocations: 134.7 kB / 0.8648 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/1.857, allocations: 23.41 kB / 0.8649 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.857, allocations: 401.3 kB / 0.8652 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/1.858, allocations: 230.5 kB / 0.8655 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007694/1.859, allocations: 0.9346 MB / 0.8664 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/1.859, allocations: 441.4 kB / 0.8668 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/1.859, allocations: 11 kB / 0.8668 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002288/1.862, allocations: 1.112 MB / 0.8679 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/1.862, allocations: 15.62 kB / 0.8679 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/1.862, allocations: 26.91 kB / 0.8679 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.497e-05/1.862, allocations: 37.16 kB / 0.868 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/1.863, allocations: 283.8 kB / 0.8682 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.297e-05/1.863, allocations: 50.95 kB / 0.8683 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/1.864, allocations: 71.56 kB / 0.8683 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/1.864, allocations: 80.12 kB / 0.8684 GB, free: 127.2 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.0002526/1.865, allocations: 198.4 kB / 0.8686 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/1.865, allocations: 90.84 kB / 0.8687 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/1.866, allocations: 473.3 kB / 0.8692 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/1.866, allocations: 3.906 kB / 0.8692 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.109e-06/1.866, allocations: 3.797 kB / 0.8692 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.84e-06/1.866, allocations: 3.797 kB / 0.8692 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/1.868, allocations: 1.225 MB / 0.8704 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.84e-06/1.868, allocations: 0 / 0.8704 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/1.869, allocations: 73.98 kB / 0.8704 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.515e-06/1.869, allocations: 7.562 kB / 0.8704 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/1.869, allocations: 6.531 kB / 0.8704 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.858e-06/1.869, allocations: 7.062 kB / 0.8705 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4e-06/1.869, allocations: 3.75 kB / 0.8705 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.87, allocations: 0.712 MB / 0.8711 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/1.87, allocations: 210 kB / 0.8713 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/1.871, allocations: 10.19 kB / 0.8714 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/1.871, allocations: 25.22 kB / 0.8714 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/1.871, allocations: 29.48 kB / 0.8714 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/1.871, allocations: 32.59 kB / 0.8714 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009838/1.872, allocations: 0.5725 MB / 0.872 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.97e-07/1.873, allocations: 0 / 0.872 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00172/1.874, allocations: 324 kB / 0.8723 GB, free: 125.7 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.0009162/1.875, allocations: 437.7 kB / 0.8727 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001253/1.876, allocations: 0.5815 MB / 0.8733 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.715e-06/1.876, allocations: 0 / 0.8733 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002806/1.877, allocations: 132.9 kB / 0.8734 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/1.879, allocations: 382.5 kB / 0.8738 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/1.881, allocations: 1.073 MB / 0.8748 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/1.882, allocations: 1.01 MB / 0.8758 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001445/1.883, allocations: 324.5 kB / 0.8761 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/1.884, allocations: 76.47 kB / 0.8762 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.682e-06/1.884, allocations: 0 / 0.8762 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.03704/1.921, allocations: 16.25 MB / 0.8921 GB, free: 123.2 MB / 0.5261 GB