Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.m|m_flow|T_forward|T_return|tankLevel|tank.ports.1..m_flow|tank.ports.1..p|tank.ports.1..h_outflow|tank.ports.2..m_flow|tank.ports.2..p|tank.ports.2..h_outflow|tank.portsData.1..diameter|tank.portsData.1..height|tank.portsData.1..zeta_out|tank.portsData.1..zeta_in|tank.portsData.2..diameter|tank.portsData.2..height|tank.portsData.2..zeta_out|tank.portsData.2..zeta_in|tank.ports_H_flow.1.|tank.ports_H_flow.2.|tank.ports_E_flow.1.|tank.ports_E_flow.2.|tank.ports_penetration.1.|tank.ports_penetration.2.|tank.portsData_diameter_internal.1.|tank.portsData_diameter_internal.2.|tank.portsData_height_internal.1.|tank.portsData_height_internal.2.|tank.portsData_zeta_in_internal.1.|tank.portsData_zeta_in_internal.2.|tank.portsData_zeta_out_internal.1.|tank.portsData_zeta_out_internal.2.|tank.portsData_diameter.1.|tank.portsData_diameter.2.|tank.portsData_height.1.|tank.portsData_height.2.|tank.portsData_zeta_in.1.|tank.portsData_zeta_in.2.|tank.portsData_zeta_out.1.|tank.portsData_zeta_out.2.|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|sensor_m_flow.port_b.m_flow|sensor_m_flow.port_b.p|sensor_m_flow.port_b.h_outflow|heater.port_b.m_flow|heater.port_b.p|heater.port_b.h_outflow|radiator.port_b.m_flow|radiator.port_b.p|radiator.port_b.h_outflow|handle.y|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 1.888/1.888, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.746e-05, allocations: 0 / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08782/0.08787, allocations: 48.7 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.385/6.473, allocations: 2.56 GB / 2.874 GB, free: 68.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/6.473, allocations: 75.91 kB / 2.874 GB, free: 68.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.727/11.2, allocations: 0.9956 GB / 3.869 GB, free: 24.97 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.508e-06/11.2, allocations: 5.453 kB / 3.869 GB, free: 24.97 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000313/11.2, allocations: 71.92 kB / 3.87 GB, free: 24.96 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.01643/11.22, allocations: 4.26 MB / 3.874 GB, free: 22.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/11.22, allocations: 10.22 kB / 3.874 GB, free: 22.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/11.23, allocations: 0.9792 MB / 3.875 GB, free: 22.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007704/11.23, allocations: 2.236 MB / 3.877 GB, free: 22.31 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004439/11.23, allocations: 285.9 kB / 3.877 GB, free: 22.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/11.24, allocations: 238 kB / 3.877 GB, free: 22.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/11.25, allocations: 4.423 MB / 3.882 GB, free: 21.64 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001962/11.25, allocations: 8.953 kB / 3.882 GB, free: 21.64 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/11.25, allocations: 110.7 kB / 3.882 GB, free: 21.64 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005494/11.25, allocations: 216.8 kB / 3.882 GB, free: 21.64 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/11.27, allocations: 3.988 MB / 3.886 GB, free: 21.62 MB / 474.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.05674/11.33, allocations: 19.04 MB / 3.904 GB, free: 10.67 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008727/11.34, allocations: 2.65 MB / 3.907 GB, free: 10.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/11.34, allocations: 1.302 MB / 3.908 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03729/11.38, allocations: 17.06 MB / 3.925 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.997e-05/11.38, allocations: 54.31 kB / 3.925 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002216/11.38, allocations: 364.3 kB / 3.925 GB, free: 15.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 8.212e-06/11.38, allocations: 0 / 3.925 GB, free: 15.62 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: pump.medium.p 2: tank.medium.h 3: radiator.mediums[1].h 4: pipe.mediums[2].h 5: pipe.mediums[2].p 6: pipe.mediums[1].p 7: pipe.mediums[1].h 8: heater.mediums[1].h 9: radiator.mediums[1].p 10: pump.medium.h 11: heater.mediums[1].p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=283): time 0.949/12.33, allocations: 62.26 MB / 3.986 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3413/12.67, allocations: 86.7 MB / 4.071 GB, free: 47.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/12.68, allocations: 1.671 MB / 4.072 GB, free: 47.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007768/12.68, allocations: 73.7 kB / 4.073 GB, free: 47.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009374/12.68, allocations: 1.171 MB / 4.074 GB, free: 47.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001316/12.68, allocations: 0.9494 MB / 4.075 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004506/12.68, allocations: 56.62 kB / 4.075 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001835/12.68, allocations: 422.1 kB / 4.075 GB, free: 46.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005348/12.68, allocations: 2.567 MB / 4.078 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005821/12.69, allocations: 3.12 MB / 4.081 GB, free: 45.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007344/12.7, allocations: 2.997 MB / 4.084 GB, free: 45.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.299e-05/12.7, allocations: 3.656 kB / 4.084 GB, free: 45.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.02021/12.72, allocations: 8.611 MB / 4.092 GB, free: 45.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00119/12.72, allocations: 6.076 MB / 4.098 GB, free: 38.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.52e-05/12.72, allocations: 14.16 kB / 4.098 GB, free: 38.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08731/12.81, allocations: 16.4 MB / 4.114 GB, free: 32.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/12.81, allocations: 379.5 kB / 4.114 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/12.83, allocations: 10.09 MB / 4.124 GB, free: 26.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005659/12.84, allocations: 402.6 kB / 4.125 GB, free: 26.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009044/12.84, allocations: 180.3 kB / 4.125 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/12.84, allocations: 4.938 kB / 4.125 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01847/12.86, allocations: 7.932 MB / 4.132 GB, free: 21.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.495e-05/12.86, allocations: 22.53 kB / 4.132 GB, free: 21.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03867/12.9, allocations: 8.874 MB / 4.141 GB, free: 16.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/12.9, allocations: 446 kB / 4.142 GB, free: 16.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/12.92, allocations: 9.074 MB / 4.15 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005448/12.92, allocations: 403.4 kB / 4.151 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009904/12.92, allocations: 174.6 kB / 4.151 GB, free: 9.547 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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 {15 79,17 85} Notification: Performance of prepare postOptimizeDAE: time 0.001123/12.93, allocations: 268.2 kB / 4.151 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008955/12.93, allocations: 252.9 kB / 4.151 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05609/12.98, allocations: 17.23 MB / 4.168 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001618/12.98, allocations: 122 kB / 4.168 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.838e-06/12.98, allocations: 3.938 kB / 4.168 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3865/13.37, allocations: 16.21 MB / 4.184 GB, free: 67.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05278/13.42, allocations: 27.24 MB / 4.211 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-05/13.42, allocations: 3.969 kB / 4.211 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/13.42, allocations: 232.8 kB / 4.211 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09039/13.51, allocations: 26.47 MB / 4.237 GB, free: 65.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008209/13.51, allocations: 102.7 kB / 4.237 GB, free: 65.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02745/13.54, allocations: 15.51 MB / 4.252 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.7724/14.31, allocations: 146.8 MB / 4.395 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03989/14.35, allocations: 22.45 MB / 4.417 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003485/14.36, allocations: 1.153 MB / 4.419 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/14.36, allocations: 59.47 kB / 4.419 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005253/14.36, allocations: 432.3 kB / 4.419 GB, free: 58.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001151/14.37, allocations: 268.6 kB / 4.419 GB, free: 58.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001229/14.37, allocations: 138.1 kB / 4.419 GB, free: 58.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005998/14.37, allocations: 1.325 MB / 4.421 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.971e-06/14.37, allocations: 0 / 4.421 GB, free: 58.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.05619/14.43, allocations: 7.189 MB / 4.428 GB, free: 58.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 60 ($cse85.phase,$cse85.region,$cse88.phase,$cse88.region,$cse89.phase,$cse89.region,$cse91.phase,$cse91.region,$cse93.phase,$cse93.region,$cse94.region3boundary,$cse95.region3boundary,$cse96.phase,$cse96.region,$cse97.phase,$cse97.region,$cse101.phase,$cse101.region,$cse102.phase,$cse102.region,$cse105.phase,$cse105.region,$cse106.phase,$cse106.region,$cse107.region3boundary,$cse108.region3boundary,$cse109.phase,$cse109.region,$cse116.phase,$cse116.region,$cse117.phase,$cse117.region,$cse118.region3boundary,$cse119.region3boundary,$cse120.phase,$cse120.region,$cse130.phase,$cse130.region,$cse131.phase,$cse131.region,$cse132.phase,$cse132.region,$cse133.region3boundary,$cse134.region3boundary,$cse135.phase,$cse135.region,$cse136.region3boundary,$cse137.region3boundary,$cse138.phase,$cse138.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 {15 82,19 121} Notification: Performance of Backend phase and start with SimCode phase: time 0.05049/14.48, allocations: 5.717 MB / 4.433 GB, free: 57.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03137/14.51, allocations: 11.78 MB / 4.445 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/14.51, allocations: 3.484 kB / 4.445 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01388/14.53, allocations: 5.655 MB / 4.45 GB, free: 57.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007171/14.53, allocations: 1.079 MB / 4.451 GB, free: 57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/14.55, allocations: 11.63 MB / 4.463 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003716/14.56, allocations: 3.021 MB / 4.466 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00809/14.57, allocations: 2.12 MB / 4.468 GB, free: 53.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00201/14.57, allocations: 275.9 kB / 4.468 GB, free: 53.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.655e-06/14.57, allocations: 0 / 4.468 GB, free: 53.6 MB / 0.5105 GB Notification: Performance of Templates: time 1.26/15.83, allocations: 312.9 MB / 4.774 GB, free: 93.83 MB / 0.5417 GB