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.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadModel(ModelicaTest): time 1.949/1.949, allocations: 209.3 MB / 221.9 MB, free: 1.859 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.753e-05, allocations: 8 kB / 273.1 MB, free: 0.7148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08732/0.08738, allocations: 48.69 MB / 321.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.206/6.293, allocations: 2.485 GB / 2.799 GB, free: 98.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/6.294, allocations: 84.58 kB / 2.8 GB, free: 98.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483/7.777, allocations: 347.2 MB / 3.139 GB, free: 41.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.795e-06/7.777, allocations: 0 / 3.139 GB, free: 41.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.099e-05/7.777, allocations: 18.19 kB / 3.139 GB, free: 41.29 MB / 426.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.006129/7.783, allocations: 1.617 MB / 3.14 GB, free: 40.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/7.783, allocations: 11.44 kB / 3.14 GB, free: 40.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/7.788, allocations: 398.2 kB / 3.141 GB, free: 40.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/7.789, allocations: 0.5791 MB / 3.141 GB, free: 39.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/7.789, allocations: 112.8 kB / 3.141 GB, free: 39.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/7.79, allocations: 58.09 kB / 3.141 GB, free: 39.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003466/7.793, allocations: 1.133 MB / 3.142 GB, free: 39.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/7.793, allocations: 0 / 3.142 GB, free: 39.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/7.793, allocations: 24.22 kB / 3.142 GB, free: 39.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/7.793, allocations: 54.16 kB / 3.142 GB, free: 39.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003298/7.797, allocations: 0.9923 MB / 3.143 GB, free: 39.05 MB / 426.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.007686/7.804, allocations: 4.947 MB / 3.148 GB, free: 35.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/7.807, allocations: 0.791 MB / 3.149 GB, free: 35.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/7.808, allocations: 285.9 kB / 3.149 GB, free: 34.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07525/7.883, allocations: 32.88 MB / 3.181 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/7.883, allocations: 38.62 kB / 3.181 GB, free: 14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 4.068e-06/7.883, allocations: 3.938 kB / 3.181 GB, free: 13.99 MB / 426.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.02263/7.906, allocations: 4.076 MB / 3.185 GB, free: 12.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/7.906, allocations: 111 kB / 3.186 GB, free: 12.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000724/7.907, allocations: 491.2 kB / 3.186 GB, free: 12.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.908e-05/7.907, allocations: 40.77 kB / 3.186 GB, free: 12.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/7.907, allocations: 390.2 kB / 3.186 GB, free: 12.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/7.907, allocations: 196.3 kB / 3.187 GB, free: 12.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/7.907, allocations: 19.44 kB / 3.187 GB, free: 11.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.423e-05/7.907, allocations: 342.6 kB / 3.187 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007854/7.908, allocations: 409.9 kB / 3.187 GB, free: 11.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008876/7.909, allocations: 0.6353 MB / 3.188 GB, free: 11.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009257/7.91, allocations: 457.6 kB / 3.188 GB, free: 10.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/7.91, allocations: 3.75 kB / 3.188 GB, free: 10.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003023/7.913, allocations: 1.386 MB / 3.19 GB, free: 9.727 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005072/7.913, allocations: 2.707 MB / 3.192 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/7.914, allocations: 8 kB / 3.192 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/7.916, allocations: 1.097 MB / 3.193 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/7.917, allocations: 142.1 kB / 3.194 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/7.92, allocations: 2.666 MB / 3.196 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/7.922, allocations: 98.94 kB / 3.196 GB, free: 19.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/7.922, allocations: 43.84 kB / 3.196 GB, free: 19.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/7.922, allocations: 7.938 kB / 3.196 GB, free: 19.21 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002741/7.925, allocations: 1.251 MB / 3.198 GB, free: 18.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/7.925, allocations: 4 kB / 3.198 GB, free: 18.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/7.927, allocations: 0.9721 MB / 3.199 GB, free: 17.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/7.928, allocations: 164.3 kB / 3.199 GB, free: 17.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005907/7.934, allocations: 4.936 MB / 3.204 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/7.935, allocations: 94.86 kB / 3.204 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/7.935, allocations: 43.84 kB / 3.204 GB, free: 12.21 MB / 442.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.000353/7.935, allocations: 160.6 kB / 3.204 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/7.935, allocations: 63.25 kB / 3.204 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008692/7.944, allocations: 4.69 MB / 3.208 GB, free: 7.832 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.714e-05/7.944, allocations: 46.66 kB / 3.208 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.317e-06/7.944, allocations: 0 / 3.208 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/7.944, allocations: 3.797 kB / 3.208 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/7.956, allocations: 6.395 MB / 3.215 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.211e-06/7.956, allocations: 0 / 3.215 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/7.957, allocations: 91.78 kB / 3.215 GB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00509/7.962, allocations: 2.508 MB / 3.217 GB, free: 180 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/7.962, allocations: 18.48 kB / 3.217 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006266/7.968, allocations: 4.037 MB / 3.221 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-06/7.968, allocations: 0 / 3.221 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005952/7.974, allocations: 3.29 MB / 3.224 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008533/7.975, allocations: 375.1 kB / 3.225 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/7.975, allocations: 19.95 kB / 3.225 GB, free: 9.031 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/7.977, allocations: 90.17 kB / 3.225 GB, free: 8.965 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/7.977, allocations: 75.3 kB / 3.225 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/7.977, allocations: 27.05 kB / 3.225 GB, free: 8.898 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008441/7.978, allocations: 462 kB / 3.225 GB, free: 8.488 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.15e-07/7.978, allocations: 0 / 3.225 GB, free: 8.488 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006347/7.984, allocations: 1.427 MB / 3.227 GB, free: 7.09 MB / 458.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.009222/7.993, allocations: 1.694 MB / 3.229 GB, free: 5.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007775/8.001, allocations: 2.439 MB / 3.231 GB, free: 3.555 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.066e-06/8.001, allocations: 0 / 3.231 GB, free: 3.555 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00366/8.005, allocations: 1.235 MB / 3.232 GB, free: 2.449 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/8.007, allocations: 302.2 kB / 3.232 GB, free: 2.227 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4607/8.468, allocations: 76.14 MB / 3.307 GB, free: 68.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/8.469, allocations: 1.212 MB / 3.308 GB, free: 67.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/8.469, allocations: 62.59 kB / 3.308 GB, free: 67.86 MB / 458.7 MB Notification: Performance of SimCode: time 1.706e-06/8.469, allocations: 0 / 3.308 GB, free: 67.86 MB / 458.7 MB Notification: Performance of Templates: time 0.06728/8.536, allocations: 48.66 MB / 3.356 GB, free: 50.41 MB / 458.7 MB