Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.h|tank.aboveLevel.1.|tank.aboveLevel.2.|tank.aboveLevel.3.|tank.aboveLevel.4.|tank.ports_m_flow_out.1.|tank.ports_m_flow_out.2.|tank.ports_m_flow_out.3.|tank.ports_m_flow_out.4.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadModel(ModelicaTest): time 2.261/2.261, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.555e-05, allocations: 0 / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3674, allocations: 58.84 MB / 382.2 MB, free: 10.18 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.568/6.935, allocations: 2.765 GB / 3.138 GB, free: 120 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/6.935, allocations: 83.25 kB / 3.139 GB, free: 120 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.163/9.099, allocations: 0.5533 GB / 3.692 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.283e-06/9.099, allocations: 0 / 3.692 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.157e-05/9.099, allocations: 23.59 kB / 3.692 GB, free: 23.3 MB / 0.5105 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.006745/9.106, allocations: 2.038 MB / 3.694 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/9.106, allocations: 8.031 kB / 3.694 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/9.109, allocations: 318.4 kB / 3.694 GB, free: 20.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/9.111, allocations: 0.6805 MB / 3.695 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/9.111, allocations: 304.1 kB / 3.695 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/9.111, allocations: 78.67 kB / 3.695 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003513/9.115, allocations: 1.482 MB / 3.697 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/9.115, allocations: 7.938 kB / 3.697 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/9.115, allocations: 36.34 kB / 3.697 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.324e-05/9.115, allocations: 45.94 kB / 3.697 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003176/9.118, allocations: 1.257 MB / 3.698 GB, free: 16.87 MB / 0.5105 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.009/9.127, allocations: 6.402 MB / 3.704 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/9.13, allocations: 0.8846 MB / 3.705 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007117/9.13, allocations: 402.7 kB / 3.706 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03455/9.165, allocations: 15.6 MB / 3.721 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.69e-05/9.165, allocations: 47.06 kB / 3.721 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=59): time 3.999e-06/9.165, allocations: 0 / 3.721 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of matching and sorting (n=64): time 0.008971/9.174, allocations: 2.496 MB / 3.723 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/9.174, allocations: 166.7 kB / 3.723 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/9.176, allocations: 0.7225 MB / 3.724 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001688/9.176, allocations: 45.7 kB / 3.724 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004902/9.176, allocations: 438.5 kB / 3.725 GB, free: 3.285 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/9.177, allocations: 211.4 kB / 3.725 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.259e-05/9.177, allocations: 20 kB / 3.725 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002835/9.177, allocations: 398.7 kB / 3.725 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009261/9.178, allocations: 377.8 kB / 3.726 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/9.179, allocations: 0.5929 MB / 3.726 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009225/9.18, allocations: 401.9 kB / 3.726 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.603e-06/9.18, allocations: 0 / 3.726 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002887/9.183, allocations: 1.09 MB / 3.728 GB, free: 112 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/9.183, allocations: 11.94 kB / 3.728 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/9.183, allocations: 4 kB / 3.728 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004734/9.184, allocations: 92.8 kB / 3.728 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3302/9.514, allocations: 406 kB / 3.728 GB, free: 66.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007324/9.521, allocations: 6.395 MB / 3.734 GB, free: 60.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/9.523, allocations: 144.1 kB / 3.734 GB, free: 60.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/9.523, allocations: 42.81 kB / 3.734 GB, free: 60.6 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.0003431/9.524, allocations: 172.2 kB / 3.735 GB, free: 60.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/9.524, allocations: 92.75 kB / 3.735 GB, free: 60.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003719/9.528, allocations: 2.118 MB / 3.737 GB, free: 60.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/9.528, allocations: 22.11 kB / 3.737 GB, free: 60.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.364e-06/9.528, allocations: 1.281 kB / 3.737 GB, free: 60.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/9.528, allocations: 6.531 kB / 3.737 GB, free: 60.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006209/9.534, allocations: 3.377 MB / 3.74 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/9.534, allocations: 2.812 kB / 3.74 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004922/9.539, allocations: 370.5 kB / 3.74 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/9.539, allocations: 105.5 kB / 3.741 GB, free: 59.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/9.54, allocations: 15.91 kB / 3.741 GB, free: 59.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006513/9.546, allocations: 6.382 MB / 3.747 GB, free: 54.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-06/9.546, allocations: 3.844 kB / 3.747 GB, free: 54.13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/9.55, allocations: 2.061 MB / 3.749 GB, free: 53.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006866/9.551, allocations: 348.4 kB / 3.749 GB, free: 53.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/9.551, allocations: 25.31 kB / 3.749 GB, free: 53.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/9.552, allocations: 114.7 kB / 3.749 GB, free: 53.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003885/9.553, allocations: 136 kB / 3.749 GB, free: 53.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.914e-05/9.553, allocations: 24.27 kB / 3.749 GB, free: 53.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001528/9.554, allocations: 0.8682 MB / 3.75 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.515e-06/9.554, allocations: 0 / 3.75 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00562/9.56, allocations: 1.306 MB / 3.752 GB, free: 53.41 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.008721/9.569, allocations: 1.911 MB / 3.753 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005629/9.574, allocations: 1.166 MB / 3.755 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.461e-06/9.574, allocations: 3.906 kB / 3.755 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004036/9.578, allocations: 0.8452 MB / 3.755 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00355/9.582, allocations: 0.5203 MB / 3.756 GB, free: 53.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/9.586, allocations: 1.93 MB / 3.758 GB, free: 52.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/9.587, allocations: 1.25 MB / 3.759 GB, free: 52.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001637/9.588, allocations: 492.2 kB / 3.759 GB, free: 52.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/9.589, allocations: 78.92 kB / 3.76 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.94e-06/9.589, allocations: 0 / 3.76 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.1018/9.691, allocations: 54.29 MB / 3.813 GB, free: 49.94 MB / 0.5261 GB