Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Volume.ports.1..m_flow|Volume.ports.1..p|Volume.ports.1..h_outflow|Volume.ports.2..m_flow|Volume.ports.2..p|Volume.ports.2..h_outflow|Volume.portsData.1..diameter|Volume.portsData.1..height|Volume.portsData.1..zeta_out|Volume.portsData.1..zeta_in|Volume.portsData.2..diameter|Volume.portsData.2..height|Volume.portsData.2..zeta_out|Volume.portsData.2..zeta_in|Volume.ports_H_flow.1.|Volume.ports_H_flow.2.|Volume.ports_E_flow.1.|Volume.ports_E_flow.2.|Volume.ports_penetration.1.|Volume.ports_penetration.2.|Volume.portsData_diameter_internal.1.|Volume.portsData_diameter_internal.2.|Volume.portsData_height_internal.1.|Volume.portsData_height_internal.2.|Volume.portsData_zeta_in_internal.1.|Volume.portsData_zeta_in_internal.2.|Volume.portsData_zeta_out_internal.1.|Volume.portsData_zeta_out_internal.2.|Volume.portsData_diameter.1.|Volume.portsData_diameter.2.|Volume.portsData_height.1.|Volume.portsData_height.2.|Volume.portsData_zeta_in.1.|Volume.portsData_zeta_in.2.|Volume.portsData_zeta_out.1.|Volume.portsData_zeta_out.2.|FlowSource.ports.1..m_flow|FlowSource.ports.1..p|FlowSource.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Step1.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadModel(ModelicaTest): time 2.136/2.136, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.779e-05/5.793e-05, allocations: 0 / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3772, allocations: 54.85 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.813/6.19, allocations: 2.596 GB / 2.947 GB, free: 4.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/6.19, allocations: 84.7 kB / 2.947 GB, free: 4.387 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.546/7.736, allocations: 355.4 MB / 3.294 GB, free: 44.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.137e-06/7.737, allocations: 0 / 3.294 GB, free: 44.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.64e-05/7.737, allocations: 16 kB / 3.294 GB, free: 44.29 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006109/7.743, allocations: 1.65 MB / 3.296 GB, free: 42.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/7.743, allocations: 12.03 kB / 3.296 GB, free: 42.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004615/7.747, allocations: 438.2 kB / 3.296 GB, free: 42.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/7.749, allocations: 0.5826 MB / 3.297 GB, free: 41.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/7.749, allocations: 108.7 kB / 3.297 GB, free: 41.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/7.749, allocations: 66.75 kB / 3.297 GB, free: 41.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/7.752, allocations: 1.132 MB / 3.298 GB, free: 40.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/7.752, allocations: 3.469 kB / 3.298 GB, free: 40.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/7.752, allocations: 28 kB / 3.298 GB, free: 40.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/7.752, allocations: 33.3 kB / 3.298 GB, free: 40.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/7.756, allocations: 0.9978 MB / 3.299 GB, free: 39.14 MB / 490.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.007036/7.763, allocations: 4.939 MB / 3.304 GB, free: 33.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/7.765, allocations: 0.7964 MB / 3.305 GB, free: 33.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005194/7.766, allocations: 285.1 kB / 3.305 GB, free: 32.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3523/8.118, allocations: 32.91 MB / 3.337 GB, free: 62.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/8.118, allocations: 37.78 kB / 3.337 GB, free: 62.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 4.274e-06/8.118, allocations: 1.156 kB / 3.337 GB, free: 62.87 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: Volume.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=59): time 0.02552/8.144, allocations: 4.067 MB / 3.341 GB, free: 62.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/8.144, allocations: 110.8 kB / 3.341 GB, free: 62.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009155/8.145, allocations: 497.5 kB / 3.342 GB, free: 62.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/8.145, allocations: 38.83 kB / 3.342 GB, free: 62.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/8.145, allocations: 386.7 kB / 3.342 GB, free: 62.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/8.145, allocations: 203.1 kB / 3.343 GB, free: 62.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/8.145, allocations: 19.09 kB / 3.343 GB, free: 62.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.69e-05/8.145, allocations: 340 kB / 3.343 GB, free: 61.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009294/8.146, allocations: 415.6 kB / 3.343 GB, free: 61.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/8.147, allocations: 0.6279 MB / 3.344 GB, free: 61.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/8.149, allocations: 458.5 kB / 3.344 GB, free: 61.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.718e-06/8.149, allocations: 5.75 kB / 3.344 GB, free: 61.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003355/8.152, allocations: 1.382 MB / 3.346 GB, free: 61.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005571/8.152, allocations: 2.709 MB / 3.348 GB, free: 58.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/8.153, allocations: 7.531 kB / 3.348 GB, free: 58.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003037/8.156, allocations: 1.091 MB / 3.349 GB, free: 58.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000823/8.156, allocations: 149.8 kB / 3.35 GB, free: 58.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/8.16, allocations: 2.659 MB / 3.352 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/8.162, allocations: 97.44 kB / 3.352 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/8.162, allocations: 48.55 kB / 3.352 GB, free: 56.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/8.162, allocations: 4.766 kB / 3.352 GB, free: 56.97 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003491/8.166, allocations: 1.247 MB / 3.354 GB, free: 56.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/8.166, allocations: 9.469 kB / 3.354 GB, free: 56.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/8.168, allocations: 0.965 MB / 3.354 GB, free: 56.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/8.169, allocations: 171.5 kB / 3.355 GB, free: 56.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005721/8.175, allocations: 4.941 MB / 3.359 GB, free: 53.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/8.176, allocations: 82.03 kB / 3.36 GB, free: 53.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/8.177, allocations: 42.67 kB / 3.36 GB, free: 53.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003597/8.177, allocations: 168 kB / 3.36 GB, free: 53.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/8.177, allocations: 62.47 kB / 3.36 GB, free: 53.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007887/8.185, allocations: 4.685 MB / 3.364 GB, free: 52.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.048e-05/8.185, allocations: 60.47 kB / 3.364 GB, free: 52.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/8.185, allocations: 0.9688 kB / 3.364 GB, free: 52.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/8.185, allocations: 2.953 kB / 3.364 GB, free: 52.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/8.196, allocations: 6.405 MB / 3.371 GB, free: 52.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/8.196, allocations: 2.875 kB / 3.371 GB, free: 52.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/8.196, allocations: 89.92 kB / 3.371 GB, free: 52.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004629/8.201, allocations: 2.501 MB / 3.373 GB, free: 52.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/8.201, allocations: 18.48 kB / 3.373 GB, free: 52.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004967/8.206, allocations: 4.016 MB / 3.377 GB, free: 50.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/8.206, allocations: 9.188 kB / 3.377 GB, free: 50.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004926/8.211, allocations: 3.292 MB / 3.38 GB, free: 50.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007512/8.212, allocations: 377.6 kB / 3.381 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/8.212, allocations: 13.59 kB / 3.381 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/8.213, allocations: 85.84 kB / 3.381 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/8.214, allocations: 77.89 kB / 3.381 GB, free: 49.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.654e-05/8.214, allocations: 24.17 kB / 3.381 GB, free: 49.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006652/8.214, allocations: 467.2 kB / 3.381 GB, free: 49.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.19e-07/8.214, allocations: 2.812 kB / 3.381 GB, free: 49.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005714/8.22, allocations: 1.437 MB / 3.383 GB, free: 49.78 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008887/8.229, allocations: 1.693 MB / 3.384 GB, free: 49.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006524/8.236, allocations: 2.451 MB / 3.387 GB, free: 49.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.156e-06/8.236, allocations: 0 / 3.387 GB, free: 49.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002968/8.239, allocations: 1.24 MB / 3.388 GB, free: 49.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/8.24, allocations: 294.1 kB / 3.388 GB, free: 49.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1763/8.417, allocations: 77.41 MB / 3.464 GB, free: 38.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/8.418, allocations: 1.222 MB / 3.465 GB, free: 37.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/8.418, allocations: 55.44 kB / 3.465 GB, free: 37.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.86e-06/8.418, allocations: 0 / 3.465 GB, free: 37.09 MB / 490.7 MB Notification: Performance of Templates: time 0.06495/8.483, allocations: 48.85 MB / 3.513 GB, free: 168 kB / 490.7 MB