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.1_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadModel(ModelicaTest): time 1.854/1.854, allocations: 209.3 MB / 221.5 MB, free: 1.852 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.283e-05, allocations: 4 kB / 273.1 MB, free: 228 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08795, allocations: 48.7 MB / 321.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.223/6.311, allocations: 2.486 GB / 2.8 GB, free: 111.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/6.312, allocations: 83.08 kB / 2.8 GB, free: 111.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.398/8.71, allocations: 0.5364 GB / 3.337 GB, free: 36.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.262e-06/8.71, allocations: 0 / 3.337 GB, free: 36.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.524e-05/8.71, allocations: 23.8 kB / 3.337 GB, free: 36.08 MB / 442.7 MB 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.007032/8.717, allocations: 1.997 MB / 3.339 GB, free: 35.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/8.717, allocations: 9.656 kB / 3.339 GB, free: 35.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/8.72, allocations: 309.3 kB / 3.339 GB, free: 35.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/8.722, allocations: 0.7046 MB / 3.34 GB, free: 34.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/8.722, allocations: 298.9 kB / 3.34 GB, free: 34.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/8.723, allocations: 80.91 kB / 3.34 GB, free: 34.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003724/8.726, allocations: 1.462 MB / 3.341 GB, free: 34.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/8.726, allocations: 3.375 kB / 3.341 GB, free: 34.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/8.727, allocations: 40.09 kB / 3.341 GB, free: 34.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.349e-05/8.727, allocations: 40.28 kB / 3.341 GB, free: 34.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/8.73, allocations: 1.246 MB / 3.343 GB, free: 34.37 MB / 442.7 MB 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.009481/8.74, allocations: 6.375 MB / 3.349 GB, free: 30.31 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/8.742, allocations: 0.8764 MB / 3.35 GB, free: 30.26 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007116/8.743, allocations: 378.5 kB / 3.35 GB, free: 30.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03705/8.78, allocations: 18.6 MB / 3.368 GB, free: 18.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/8.78, allocations: 41.03 kB / 3.368 GB, free: 18.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=59): time 3.779e-06/8.78, allocations: 0 / 3.368 GB, free: 18.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.008064/8.788, allocations: 2.463 MB / 3.371 GB, free: 18.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/8.789, allocations: 167.8 kB / 3.371 GB, free: 17.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/8.79, allocations: 0.7016 MB / 3.372 GB, free: 17.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/8.79, allocations: 48.17 kB / 3.372 GB, free: 17.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/8.79, allocations: 454.6 kB / 3.372 GB, free: 17.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/8.79, allocations: 218.6 kB / 3.372 GB, free: 17.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.425e-05/8.79, allocations: 19.62 kB / 3.372 GB, free: 17.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/8.791, allocations: 393 kB / 3.373 GB, free: 17.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008019/8.791, allocations: 391.3 kB / 3.373 GB, free: 17.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009304/8.792, allocations: 0.6455 MB / 3.374 GB, free: 16.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000804/8.793, allocations: 432 kB / 3.374 GB, free: 16.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.5e-06/8.793, allocations: 0 / 3.374 GB, free: 16.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002585/8.796, allocations: 1.13 MB / 3.375 GB, free: 16.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/8.796, allocations: 13.56 kB / 3.375 GB, free: 16.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/8.796, allocations: 10.94 kB / 3.375 GB, free: 16.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/8.796, allocations: 91.06 kB / 3.375 GB, free: 16.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004529/8.801, allocations: 424.4 kB / 3.376 GB, free: 16.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007821/8.809, allocations: 6.404 MB / 3.382 GB, free: 26.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/8.811, allocations: 142.2 kB / 3.382 GB, free: 26.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/8.811, allocations: 47.22 kB / 3.382 GB, free: 26.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (111): * Single equations (assignments): 106 * 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.0004134/8.811, allocations: 178.5 kB / 3.382 GB, free: 26.65 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/8.812, allocations: 87.44 kB / 3.382 GB, free: 26.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/8.815, allocations: 2.074 MB / 3.384 GB, free: 26.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/8.815, allocations: 24.81 kB / 3.384 GB, free: 26.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.697e-06/8.815, allocations: 0 / 3.384 GB, free: 26.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/8.815, allocations: 3.188 kB / 3.384 GB, free: 26.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006318/8.821, allocations: 3.31 MB / 3.388 GB, free: 25.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/8.821, allocations: 0 / 3.388 GB, free: 25.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004328/8.826, allocations: 366.6 kB / 3.388 GB, free: 25.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/8.826, allocations: 100.8 kB / 3.388 GB, free: 25.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/8.827, allocations: 22.7 kB / 3.388 GB, free: 25.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00813/8.835, allocations: 6.385 MB / 3.394 GB, free: 20.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.754e-06/8.835, allocations: 2.75 kB / 3.394 GB, free: 20.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003502/8.838, allocations: 2.042 MB / 3.396 GB, free: 19.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/8.839, allocations: 313.3 kB / 3.397 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/8.839, allocations: 25.41 kB / 3.397 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/8.841, allocations: 110.8 kB / 3.397 GB, free: 19.42 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003573/8.841, allocations: 134.5 kB / 3.397 GB, free: 19.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.885e-05/8.841, allocations: 26.25 kB / 3.397 GB, free: 19.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001368/8.842, allocations: 0.7745 MB / 3.398 GB, free: 19.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.459e-06/8.842, allocations: 0 / 3.398 GB, free: 19.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005935/8.848, allocations: 1.292 MB / 3.399 GB, free: 19.13 MB / 458.7 MB 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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.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.009004/8.857, allocations: 1.906 MB / 3.401 GB, free: 18.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005032/8.863, allocations: 1.171 MB / 3.402 GB, free: 18.67 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.774e-06/8.863, allocations: 3.906 kB / 3.402 GB, free: 18.67 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00416/8.867, allocations: 0.8521 MB / 3.403 GB, free: 18.65 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/8.87, allocations: 0.5061 MB / 3.403 GB, free: 18.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/8.874, allocations: 1.888 MB / 3.405 GB, free: 18.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/8.875, allocations: 1.236 MB / 3.406 GB, free: 17.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001576/8.877, allocations: 0.4947 MB / 3.407 GB, free: 17.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/8.877, allocations: 82.42 kB / 3.407 GB, free: 17.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.306e-06/8.877, allocations: 3.625 kB / 3.407 GB, free: 17.3 MB / 458.7 MB Notification: Performance of Templates: time 0.09699/8.974, allocations: 53.56 MB / 3.459 GB, free: 11.79 MB / 474.7 MB