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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 270 MB / 283.6 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.288e-05, allocations: 4 kB / 348.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3319, allocations: 61.88 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.106/7.438, allocations: 2.77 GB / 3.171 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/7.438, allocations: 84.72 kB / 3.171 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.355/8.793, allocations: 360.7 MB / 3.523 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.641e-06/8.793, allocations: 4 kB / 3.523 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.981e-05/8.793, allocations: 16 kB / 3.523 GB, free: 10.26 MB / 0.5261 GB 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.005905/8.799, allocations: 1.648 MB / 3.524 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/8.799, allocations: 8.031 kB / 3.524 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00471/8.804, allocations: 452.9 kB / 3.525 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/8.805, allocations: 0.5532 MB / 3.525 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/8.806, allocations: 124 kB / 3.526 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/8.806, allocations: 52 kB / 3.526 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003387/8.809, allocations: 1.142 MB / 3.527 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/8.809, allocations: 4 kB / 3.527 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/8.809, allocations: 28 kB / 3.527 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.665e-05/8.809, allocations: 29.3 kB / 3.527 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/8.813, allocations: 1.01 MB / 3.528 GB, free: 5.086 MB / 0.5261 GB 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.3419/9.155, allocations: 4.988 MB / 3.533 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/9.158, allocations: 0.8622 MB / 3.533 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008538/9.159, allocations: 332.9 kB / 3.534 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05593/9.215, allocations: 24.16 MB / 3.557 GB, free: 53.58 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/9.215, allocations: 42.66 kB / 3.557 GB, free: 53.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 4.371e-06/9.215, allocations: 0 / 3.557 GB, free: 53.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.005469/9.221, allocations: 1.324 MB / 3.559 GB, free: 53.49 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/9.221, allocations: 106.8 kB / 3.559 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009026/9.222, allocations: 0.5223 MB / 3.559 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/9.222, allocations: 32.64 kB / 3.559 GB, free: 53.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/9.222, allocations: 321.6 kB / 3.56 GB, free: 53.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/9.222, allocations: 159.4 kB / 3.56 GB, free: 53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/9.222, allocations: 13.33 kB / 3.56 GB, free: 53 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001167/9.222, allocations: 374.6 kB / 3.56 GB, free: 52.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/9.223, allocations: 274.5 kB / 3.56 GB, free: 52.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/9.224, allocations: 444.1 kB / 3.561 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/9.224, allocations: 296.7 kB / 3.561 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.296e-06/9.224, allocations: 3.938 kB / 3.561 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00227/9.227, allocations: 0.9277 MB / 3.562 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/9.227, allocations: 7.719 kB / 3.562 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/9.227, allocations: 3.719 kB / 3.562 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/9.228, allocations: 395.1 kB / 3.562 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/9.229, allocations: 121 kB / 3.563 GB, free: 52.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/9.231, allocations: 1.593 MB / 3.564 GB, free: 51.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/9.232, allocations: 118.9 kB / 3.564 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/9.232, allocations: 34.06 kB / 3.564 GB, free: 51.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.00023/9.232, allocations: 146.9 kB / 3.564 GB, free: 51.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/9.232, allocations: 65.81 kB / 3.564 GB, free: 51.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005557/9.238, allocations: 3.511 MB / 3.568 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.552e-05/9.238, allocations: 45.27 kB / 3.568 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.409e-06/9.238, allocations: 0 / 3.568 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/9.238, allocations: 3.703 kB / 3.568 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/9.24, allocations: 1.558 MB / 3.569 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.274e-06/9.24, allocations: 0 / 3.569 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/9.241, allocations: 92.98 kB / 3.57 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/9.243, allocations: 1.067 MB / 3.571 GB, free: 50.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.5e-05/9.243, allocations: 10.34 kB / 3.571 GB, free: 50.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/9.246, allocations: 2.325 MB / 3.573 GB, free: 49.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.794e-06/9.246, allocations: 0 / 3.573 GB, free: 49.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/9.25, allocations: 2.467 MB / 3.575 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007046/9.251, allocations: 354.1 kB / 3.576 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/9.251, allocations: 15.31 kB / 3.576 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008076/9.252, allocations: 74.12 kB / 3.576 GB, free: 49.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/9.252, allocations: 60.58 kB / 3.576 GB, free: 49.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/9.252, allocations: 27.19 kB / 3.576 GB, free: 49.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008034/9.253, allocations: 0.4967 MB / 3.576 GB, free: 48.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.74e-07/9.253, allocations: 0 / 3.576 GB, free: 48.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004889/9.258, allocations: 1.207 MB / 3.577 GB, free: 48.93 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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 (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.008627/9.267, allocations: 1.627 MB / 3.579 GB, free: 48.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002307/9.269, allocations: 1.026 MB / 3.58 GB, free: 48.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.422e-06/9.269, allocations: 2.812 kB / 3.58 GB, free: 48.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001561/9.27, allocations: 0.823 MB / 3.581 GB, free: 48.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/9.273, allocations: 348.3 kB / 3.581 GB, free: 48.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/9.276, allocations: 1.859 MB / 3.583 GB, free: 48.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006769/9.277, allocations: 1.181 MB / 3.584 GB, free: 47.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001052/9.278, allocations: 345.1 kB / 3.584 GB, free: 47.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/9.278, allocations: 59.88 kB / 3.585 GB, free: 47.69 MB / 0.5261 GB Notification: Performance of SimCode: time 1.855e-06/9.278, allocations: 0 / 3.585 GB, free: 47.69 MB / 0.5261 GB Notification: Performance of Templates: time 0.08131/9.36, allocations: 44.41 MB / 3.628 GB, free: 45.84 MB / 0.5261 GB