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.2_ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts") Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.559e-05/4.569e-05, allocations: 7.984 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3825, allocations: 54.86 MB / 362.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestTankWithTopPorts): time 0.08495/0.4675, allocations: 48.32 MB / 411.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02751/0.495, allocations: 13.28 MB / 424.5 MB, free: 8 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.4964, allocations: 31.86 kB / 424.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.498, allocations: 354.1 kB / 424.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.5121, allocations: 3.454 MB / 428.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007127/0.5193, allocations: 1.702 MB / 430 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003047/0.5224, allocations: 1.252 MB / 431.3 MB, free: 9.203 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.5236, allocations: 0.5701 MB / 431.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00983/0.5335, allocations: 3.54 MB / 435.4 MB, free: 5.082 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008231/0.5418, allocations: 3.251 MB / 438.6 MB, free: 1.828 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01941/0.5612, allocations: 6.641 MB / 445.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002913/0.5642, allocations: 439.9 kB / 445.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006253/0.5649, allocations: 255.2 kB / 446 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005464/0.5654, allocations: 120 kB / 446.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00975/0.5752, allocations: 3.539 MB / 449.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5752, allocations: 0 / 449.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5752, allocations: 0 / 449.6 MB, free: 6.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.49e-05/0.5753, allocations: 0 / 449.6 MB, free: 6.836 MB / 378.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.00656/0.5819, allocations: 1.642 MB / 451.2 MB, free: 5.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.5819, allocations: 8.031 kB / 451.3 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003557/0.5855, allocations: 322.5 kB / 451.6 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.5876, allocations: 0.6329 MB / 452.2 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003619/0.588, allocations: 303.6 kB / 452.5 MB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/0.5883, allocations: 79.91 kB / 452.6 MB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006011/0.5943, allocations: 1.531 MB / 454.1 MB, free: 2.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.966e-05/0.5944, allocations: 3.938 kB / 454.1 MB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/0.5946, allocations: 39.95 kB / 454.2 MB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-05/0.5947, allocations: 41.98 kB / 454.2 MB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006075/0.6008, allocations: 1.377 MB / 455.6 MB, free: 0.6406 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01417/0.615, allocations: 6.378 MB / 461.9 MB, free: 9.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004987/0.62, allocations: 1.011 MB / 463 MB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06438/0.6845, allocations: 18.9 MB / 481.9 MB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/0.6846, allocations: 47.05 kB / 481.9 MB, free: 3.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 3.356e-06/0.6846, allocations: 4 kB / 481.9 MB, free: 3.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.01506/0.6997, allocations: 3.016 MB / 484.9 MB, free: 452 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.6998, allocations: 162.8 kB / 485.1 MB, free: 252 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.7013, allocations: 0.7027 MB / 485.8 MB, free: 15.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002028/0.7016, allocations: 49.69 kB / 485.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000526/0.7021, allocations: 451 kB / 486.3 MB, free: 15.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/0.7024, allocations: 217.1 kB / 486.5 MB, free: 14.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.7026, allocations: 20 kB / 486.5 MB, free: 14.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.7028, allocations: 398.7 kB / 486.9 MB, free: 14.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.7046, allocations: 461.7 kB / 487.3 MB, free: 13.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/0.7068, allocations: 0.7233 MB / 488.1 MB, free: 13.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.7087, allocations: 0.491 MB / 488.6 MB, free: 12.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.7087, allocations: 4 kB / 488.6 MB, free: 12.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=116) (initialization): time 0.004908/0.7137, allocations: 1.294 MB / 489.9 MB, free: 11.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.7137, allocations: 12.16 kB / 489.9 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.7138, allocations: 8 kB / 489.9 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/0.7143, allocations: 92.8 kB / 490 MB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006708/0.7211, allocations: 359.4 kB / 490.3 MB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009304/0.7304, allocations: 6.41 MB / 496.7 MB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.7324, allocations: 139.8 kB / 496.9 MB, free: 3.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.7326, allocations: 43.98 kB / 496.9 MB, free: 3.707 MB / 426.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.0008737/0.7335, allocations: 339.6 kB / 497.2 MB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.7338, allocations: 90.95 kB / 497.3 MB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005895/0.7397, allocations: 2.207 MB / 499.5 MB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.814e-05/0.7398, allocations: 23.97 kB / 499.6 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.7398, allocations: 0 / 499.6 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.7399, allocations: 4.047 kB / 499.6 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3216/1.061, allocations: 3.449 MB / 0.4912 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.061, allocations: 1.5 kB / 0.4912 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006214/1.068, allocations: 306.9 kB / 0.4915 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005528/1.068, allocations: 96.34 kB / 0.4916 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/1.068, allocations: 22.34 kB / 0.4916 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007125/1.076, allocations: 6.383 MB / 0.4979 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.076, allocations: 0.9688 kB / 0.4979 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005717/1.081, allocations: 2.253 MB / 0.5001 GB, free: 119.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/1.082, allocations: 315.7 kB / 0.5004 GB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003359/1.082, allocations: 27.38 kB / 0.5004 GB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.084, allocations: 112.9 kB / 0.5005 GB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003911/1.084, allocations: 129.2 kB / 0.5006 GB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-05/1.084, allocations: 26.67 kB / 0.5007 GB, free: 118.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001413/1.086, allocations: 0.78 MB / 0.5014 GB, free: 118.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.086, allocations: 1.188 kB / 0.5014 GB, free: 118.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004033/1.09, allocations: 1.172 MB / 0.5026 GB, free: 118.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (tank.level,tank.medium.h) * 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.006459/1.096, allocations: 1.3 MB / 0.5038 GB, free: 118.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007859/1.104, allocations: 1.286 MB / 0.5051 GB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.104, allocations: 0 / 0.5051 GB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00605/1.11, allocations: 0.8813 MB / 0.5059 GB, free: 117.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004382/1.115, allocations: 0.5106 MB / 0.5064 GB, free: 117.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005504/1.12, allocations: 2.975 MB / 0.5094 GB, free: 114.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/1.121, allocations: 1.236 MB / 0.5106 GB, free: 113.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001878/1.123, allocations: 0.5025 MB / 0.511 GB, free: 112.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/1.123, allocations: 79.42 kB / 0.5111 GB, free: 112.6 MB / 426.7 MB Notification: Performance of SimCode: time 9.22e-07/1.123, allocations: 0 / 0.5111 GB, free: 112.6 MB / 426.7 MB Notification: Performance of Templates: time 0.0865/1.21, allocations: 43.24 MB / 0.5534 GB, free: 69.45 MB / 426.7 MB