Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadModel(ModelicaTest): time 2.288/2.288, allocations: 270 MB / 282.7 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.151e-05, allocations: 7.938 kB / 347 MB, free: 3.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3271, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.517/6.844, allocations: 2.771 GB / 3.17 GB, free: 33.95 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/6.844, allocations: 85.45 kB / 3.17 GB, free: 33.86 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.562/9.406, allocations: 0.5592 GB / 3.729 GB, free: 54.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.238e-06/9.406, allocations: 2.219 kB / 3.729 GB, free: 54.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.799e-05/9.406, allocations: 29.34 kB / 3.729 GB, free: 54.14 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.006893/9.413, allocations: 2.034 MB / 3.731 GB, free: 53.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/9.413, allocations: 8.281 kB / 3.731 GB, free: 53.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/9.416, allocations: 324.3 kB / 3.731 GB, free: 52.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/9.418, allocations: 0.6765 MB / 3.732 GB, free: 52.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/9.418, allocations: 301.1 kB / 3.732 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/9.419, allocations: 83.34 kB / 3.732 GB, free: 52.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003747/9.422, allocations: 1.482 MB / 3.734 GB, free: 51.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/9.422, allocations: 7.75 kB / 3.734 GB, free: 51.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/9.423, allocations: 34.69 kB / 3.734 GB, free: 51.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.989e-05/9.423, allocations: 40.75 kB / 3.734 GB, free: 51.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004205/9.427, allocations: 1.253 MB / 3.735 GB, free: 51.2 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009897/9.437, allocations: 6.41 MB / 3.741 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/9.44, allocations: 0.8878 MB / 3.742 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007278/9.44, allocations: 388.1 kB / 3.743 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03444/9.475, allocations: 15.6 MB / 3.758 GB, free: 34.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/9.475, allocations: 39.12 kB / 3.758 GB, free: 34.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=59): time 4.27e-06/9.475, allocations: 0 / 3.758 GB, free: 34.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=64): time 0.008004/9.483, allocations: 2.507 MB / 3.76 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/9.483, allocations: 166.8 kB / 3.761 GB, free: 32.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/9.484, allocations: 0.7157 MB / 3.761 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/9.484, allocations: 49.36 kB / 3.761 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/9.485, allocations: 447 kB / 3.762 GB, free: 31.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/9.485, allocations: 217.4 kB / 3.762 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/9.485, allocations: 20 kB / 3.762 GB, free: 30.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/9.485, allocations: 350.2 kB / 3.762 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007612/9.486, allocations: 369.9 kB / 3.763 GB, free: 30.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008749/9.487, allocations: 0.6051 MB / 3.763 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007664/9.487, allocations: 399.2 kB / 3.764 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.058e-06/9.487, allocations: 0 / 3.764 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002317/9.49, allocations: 1.039 MB / 3.765 GB, free: 28.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/9.49, allocations: 10.81 kB / 3.765 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/9.49, allocations: 8 kB / 3.765 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/9.49, allocations: 93.03 kB / 3.765 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004248/9.495, allocations: 413.8 kB / 3.765 GB, free: 28.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006044/9.501, allocations: 6.397 MB / 3.771 GB, free: 21.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/9.502, allocations: 142 kB / 3.772 GB, free: 21.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/9.502, allocations: 47.86 kB / 3.772 GB, free: 21.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 21 (tank.heatTransfer.states[1].phase,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.ports_m_flow_out[2],tank.ports_m_flow_out[2],$PRE.tank.ports_m_flow_out[3],tank.ports_m_flow_out[3],$PRE.tank.ports_m_flow_out[4],tank.ports_m_flow_out[4],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],$PRE.tank.aboveLevel[2],tank.aboveLevel[2],$PRE.tank.aboveLevel[3],tank.aboveLevel[3],$PRE.tank.aboveLevel[4],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase,Boundary_fixed.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002922/9.503, allocations: 169.2 kB / 3.772 GB, free: 21.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/9.503, allocations: 86.97 kB / 3.772 GB, free: 20.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/9.506, allocations: 2.119 MB / 3.774 GB, free: 19.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.381e-05/9.506, allocations: 23.27 kB / 3.774 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/9.506, allocations: 6.359 kB / 3.774 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/9.506, allocations: 3.562 kB / 3.774 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005742/9.512, allocations: 3.371 MB / 3.777 GB, free: 16.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.965e-06/9.512, allocations: 4.125 kB / 3.777 GB, free: 16.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00499/9.517, allocations: 371.7 kB / 3.778 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/9.517, allocations: 97.73 kB / 3.778 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/9.518, allocations: 25.3 kB / 3.778 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00654/9.524, allocations: 6.385 MB / 3.784 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/9.524, allocations: 0 / 3.784 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/9.528, allocations: 2.066 MB / 3.786 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006425/9.528, allocations: 342.3 kB / 3.786 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/9.529, allocations: 27.75 kB / 3.786 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/9.53, allocations: 117 kB / 3.786 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/9.53, allocations: 138.2 kB / 3.787 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.051e-05/9.531, allocations: 27.75 kB / 3.787 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001372/9.532, allocations: 0.8693 MB / 3.787 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.183e-06/9.532, allocations: 0 / 3.787 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005845/9.538, allocations: 1.301 MB / 3.789 GB, free: 4.676 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (tank.medium.h,tank.level) * Number of discrete variables: 20 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,tank.heatTransfer.states[1].phase,tank.ports_m_flow_out[1],tank.ports_m_flow_out[2],tank.ports_m_flow_out[3],tank.ports_m_flow_out[4],tank.aboveLevel[1],tank.aboveLevel[2],tank.aboveLevel[3],tank.aboveLevel[4],massFlowRate[1].medium.phase,massFlowRate[2].medium.phase,Boundary_fixed.medium.phase) * Number of discrete states: 8 (tank.aboveLevel[1],tank.ports_m_flow_out[1],tank.aboveLevel[2],tank.ports_m_flow_out[2],tank.aboveLevel[3],tank.ports_m_flow_out[3],tank.aboveLevel[4],tank.ports_m_flow_out[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008807/9.547, allocations: 1.911 MB / 3.791 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004866/9.552, allocations: 1.164 MB / 3.792 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/9.552, allocations: 4 kB / 3.792 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003902/9.556, allocations: 0.8466 MB / 3.793 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/9.559, allocations: 0.516 MB / 3.793 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/9.564, allocations: 2.014 MB / 3.795 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/9.565, allocations: 1.233 MB / 3.796 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004716/9.565, allocations: 86.94 kB / 3.796 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of SimCode: time 2.17e-06/9.565, allocations: 0 / 3.796 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.4477/10.01, allocations: 64.34 MB / 3.859 GB, free: 58.32 MB / 0.5417 GB