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_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadModel(ModelicaTest): time 1.901/1.901, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.601e-05, allocations: 4 kB / 273.1 MB, free: 232 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.08953, allocations: 48.7 MB / 321.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.226/6.316, allocations: 2.485 GB / 2.799 GB, free: 111.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/6.316, allocations: 83.61 kB / 2.8 GB, free: 111.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.521/7.837, allocations: 347.2 MB / 3.139 GB, free: 54.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.906e-06/7.837, allocations: 3.984 kB / 3.139 GB, free: 54.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.292e-05/7.837, allocations: 15.12 kB / 3.139 GB, free: 54.38 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006181/7.843, allocations: 1.616 MB / 3.14 GB, free: 53.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/7.843, allocations: 9.125 kB / 3.14 GB, free: 53.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/7.848, allocations: 405.4 kB / 3.141 GB, free: 53.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/7.85, allocations: 0.5723 MB / 3.141 GB, free: 53.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/7.85, allocations: 111.5 kB / 3.141 GB, free: 53.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/7.85, allocations: 62.84 kB / 3.141 GB, free: 53.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003636/7.854, allocations: 1.142 MB / 3.142 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/7.854, allocations: 1.25 kB / 3.142 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/7.854, allocations: 31.05 kB / 3.142 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.127e-05/7.854, allocations: 35.08 kB / 3.142 GB, free: 53.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003362/7.857, allocations: 0.9975 MB / 3.143 GB, free: 53.27 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.00805/7.865, allocations: 4.936 MB / 3.148 GB, free: 50.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/7.868, allocations: 0.792 MB / 3.149 GB, free: 50.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006792/7.869, allocations: 279.9 kB / 3.149 GB, free: 50.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07515/7.944, allocations: 32.9 MB / 3.181 GB, free: 30.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/7.944, allocations: 38.62 kB / 3.181 GB, free: 30.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.785e-06/7.944, allocations: 3.375 kB / 3.181 GB, free: 30.82 MB / 442.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.0241/7.968, allocations: 4.087 MB / 3.185 GB, free: 30.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/7.968, allocations: 111.2 kB / 3.186 GB, free: 30.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008428/7.969, allocations: 490.8 kB / 3.186 GB, free: 30.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001703/7.969, allocations: 36.2 kB / 3.186 GB, free: 30.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/7.97, allocations: 357.8 kB / 3.186 GB, free: 30.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/7.97, allocations: 199.5 kB / 3.187 GB, free: 29.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.924e-05/7.97, allocations: 11.38 kB / 3.187 GB, free: 29.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/7.97, allocations: 373.5 kB / 3.187 GB, free: 29.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009163/7.971, allocations: 417.4 kB / 3.187 GB, free: 29.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/7.972, allocations: 0.6275 MB / 3.188 GB, free: 29.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009859/7.973, allocations: 459.4 kB / 3.188 GB, free: 29.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.07e-06/7.973, allocations: 3.969 kB / 3.188 GB, free: 29.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003499/7.977, allocations: 1.412 MB / 3.19 GB, free: 29.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005729/7.977, allocations: 2.705 MB / 3.192 GB, free: 26.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/7.977, allocations: 10.44 kB / 3.192 GB, free: 26.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002795/7.98, allocations: 1.095 MB / 3.194 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007679/7.981, allocations: 150 kB / 3.194 GB, free: 26.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/7.985, allocations: 2.661 MB / 3.196 GB, free: 24.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/7.986, allocations: 101.2 kB / 3.196 GB, free: 24.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/7.986, allocations: 42.02 kB / 3.196 GB, free: 24.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/7.987, allocations: 5.125 kB / 3.196 GB, free: 24.87 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003018/7.99, allocations: 1.248 MB / 3.198 GB, free: 24.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.686e-05/7.99, allocations: 10.41 kB / 3.198 GB, free: 24.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/7.992, allocations: 0.9623 MB / 3.199 GB, free: 24.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/7.993, allocations: 174.3 kB / 3.199 GB, free: 24.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005173/7.998, allocations: 4.928 MB / 3.204 GB, free: 21.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/7.999, allocations: 86.98 kB / 3.204 GB, free: 21.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/8, allocations: 47.36 kB / 3.204 GB, free: 21.05 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.0003347/8, allocations: 154.1 kB / 3.204 GB, free: 20.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/8, allocations: 62.19 kB / 3.204 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00754/8.008, allocations: 4.687 MB / 3.208 GB, free: 20.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.589e-05/8.008, allocations: 49.62 kB / 3.209 GB, free: 20.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.237e-06/8.008, allocations: 3.188 kB / 3.209 GB, free: 20.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/8.008, allocations: 7.891 kB / 3.209 GB, free: 20.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/8.018, allocations: 6.417 MB / 3.215 GB, free: 19.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/8.018, allocations: 0 / 3.215 GB, free: 19.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/8.019, allocations: 90.83 kB / 3.215 GB, free: 19.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004787/8.024, allocations: 2.498 MB / 3.217 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/8.024, allocations: 18.05 kB / 3.217 GB, free: 19.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005264/8.029, allocations: 4.024 MB / 3.221 GB, free: 18.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.738e-06/8.029, allocations: 7.047 kB / 3.221 GB, free: 18.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005147/8.034, allocations: 3.292 MB / 3.225 GB, free: 17.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007372/8.035, allocations: 377.8 kB / 3.225 GB, free: 17.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/8.035, allocations: 18.95 kB / 3.225 GB, free: 17.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/8.036, allocations: 87.39 kB / 3.225 GB, free: 17.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/8.037, allocations: 66.77 kB / 3.225 GB, free: 17.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/8.037, allocations: 28.58 kB / 3.225 GB, free: 17.53 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007042/8.038, allocations: 468.4 kB / 3.226 GB, free: 17.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.24e-07/8.038, allocations: 0 / 3.226 GB, free: 17.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006273/8.044, allocations: 1.428 MB / 3.227 GB, free: 17.23 MB / 442.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.009287/8.053, allocations: 1.677 MB / 3.229 GB, free: 16.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007116/8.06, allocations: 2.463 MB / 3.231 GB, free: 16.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.042e-06/8.06, allocations: 0 / 3.231 GB, free: 16.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003654/8.064, allocations: 1.248 MB / 3.232 GB, free: 16.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/8.066, allocations: 294.1 kB / 3.232 GB, free: 16.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5256/8.592, allocations: 76.66 MB / 3.307 GB, free: 63.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/8.593, allocations: 1.219 MB / 3.308 GB, free: 62.93 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002278/8.595, allocations: 0.764 MB / 3.309 GB, free: 62.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/8.595, allocations: 53.27 kB / 3.309 GB, free: 62.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/8.595, allocations: 4.438 kB / 3.309 GB, free: 62.91 MB / 458.7 MB Notification: Performance of Templates: time 0.09988/8.695, allocations: 50.81 MB / 3.359 GB, free: 61.96 MB / 458.7 MB