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.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState") Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.71e-05, allocations: 4 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3495, allocations: 54.86 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.685/7.035, allocations: 2.67 GB / 3.021 GB, free: 104.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/7.035, allocations: 80.08 kB / 3.022 GB, free: 104.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.78/11.81, allocations: 1.021 GB / 4.043 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.023e-06/11.81, allocations: 0 / 4.043 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002986/11.81, allocations: 75.5 kB / 4.043 GB, free: 27.71 MB / 0.5105 GB 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.01647/11.83, allocations: 4.383 MB / 4.047 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/11.83, allocations: 7.469 kB / 4.047 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/11.84, allocations: 1.029 MB / 4.048 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007759/11.85, allocations: 2.235 MB / 4.05 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004246/11.85, allocations: 284.2 kB / 4.051 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/11.85, allocations: 238.5 kB / 4.051 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/11.86, allocations: 4.425 MB / 4.055 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.372e-05/11.86, allocations: 7.844 kB / 4.055 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006378/11.86, allocations: 106.5 kB / 4.055 GB, free: 18.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003027/11.87, allocations: 229.6 kB / 4.055 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/11.88, allocations: 3.981 MB / 4.059 GB, free: 15.25 MB / 0.5105 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.05475/11.93, allocations: 19.04 MB / 4.078 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01497/11.95, allocations: 2.646 MB / 4.081 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00551/11.95, allocations: 1.302 MB / 4.082 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4276/12.38, allocations: 17.04 MB / 4.098 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/12.38, allocations: 56.94 kB / 4.098 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002284/12.38, allocations: 367 kB / 4.099 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 9.165e-06/12.38, allocations: 0 / 4.099 GB, free: 37.36 MB / 0.5261 GB 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.6447/13.03, allocations: 62.21 MB / 4.16 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.32/13.35, allocations: 86.85 MB / 4.244 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/13.35, allocations: 1.675 MB / 4.246 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007947/13.35, allocations: 73.83 kB / 4.246 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/13.35, allocations: 1.175 MB / 4.247 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001538/13.35, allocations: 0.9359 MB / 4.248 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004966/13.36, allocations: 61.62 kB / 4.248 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002146/13.36, allocations: 425.5 kB / 4.249 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01144/13.37, allocations: 2.888 MB / 4.251 GB, free: 0 / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007047/13.37, allocations: 3.116 MB / 4.255 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008458/13.38, allocations: 2.997 MB / 4.257 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.969e-05/13.38, allocations: 4 kB / 4.257 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.02461/13.41, allocations: 8.604 MB / 4.266 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.003513/13.41, allocations: 6.077 MB / 4.272 GB, free: 1.539 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.687e-05/13.41, allocations: 16 kB / 4.272 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09539/13.51, allocations: 16.42 MB / 4.288 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/13.51, allocations: 379.7 kB / 4.288 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02492/13.53, allocations: 10.08 MB / 4.298 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00606/13.54, allocations: 408.3 kB / 4.298 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/13.54, allocations: 185.2 kB / 4.299 GB, free: 476 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/13.54, allocations: 9.531 kB / 4.299 GB, free: 468 kB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.408/13.95, allocations: 8.347 MB / 4.307 GB, free: 66.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.91e-05/13.95, allocations: 15.25 kB / 4.307 GB, free: 66.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04331/13.99, allocations: 8.883 MB / 4.315 GB, free: 66.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/14, allocations: 448.2 kB / 4.316 GB, free: 66.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/14.02, allocations: 9.064 MB / 4.325 GB, free: 65.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005599/14.02, allocations: 408 kB / 4.325 GB, free: 65.14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009655/14.02, allocations: 174.6 kB / 4.325 GB, free: 65.14 MB / 0.5573 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.001141/14.02, allocations: 269.4 kB / 4.326 GB, free: 65.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009889/14.02, allocations: 254.9 kB / 4.326 GB, free: 65.04 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03233/14.06, allocations: 17.21 MB / 4.343 GB, free: 64.44 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001472/14.06, allocations: 112.9 kB / 4.343 GB, free: 64.44 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.605e-06/14.06, allocations: 0 / 4.343 GB, free: 64.44 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02729/14.08, allocations: 15.4 MB / 4.358 GB, free: 63.55 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05509/14.14, allocations: 27.24 MB / 4.384 GB, free: 61.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.002e-05/14.14, allocations: 2.438 kB / 4.384 GB, free: 61.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/14.14, allocations: 230.2 kB / 4.385 GB, free: 61.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0937/14.24, allocations: 26.47 MB / 4.41 GB, free: 59.69 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000858/14.24, allocations: 104.3 kB / 4.411 GB, free: 59.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03115/14.27, allocations: 15.49 MB / 4.426 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.8155/15.08, allocations: 146.5 MB / 4.569 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04114/15.12, allocations: 22.46 MB / 4.591 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00378/15.13, allocations: 1.15 MB / 4.592 GB, free: 53.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001451/15.13, allocations: 58.38 kB / 4.592 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005544/15.14, allocations: 432 kB / 4.592 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001157/15.14, allocations: 261.4 kB / 4.592 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008057/15.14, allocations: 142.1 kB / 4.593 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0031/15.14, allocations: 1.325 MB / 4.594 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.134e-06/15.14, allocations: 1.094 kB / 4.594 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02982/15.17, allocations: 7.228 MB / 4.601 GB, free: 51.73 MB / 0.5573 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.03995/15.21, allocations: 5.754 MB / 4.607 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03377/15.24, allocations: 11.78 MB / 4.618 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.599e-05/15.24, allocations: 5.359 kB / 4.618 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01494/15.26, allocations: 5.65 MB / 4.624 GB, free: 44.47 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007677/15.27, allocations: 1.071 MB / 4.625 GB, free: 44.24 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02587/15.29, allocations: 11.64 MB / 4.636 GB, free: 39.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004601/15.3, allocations: 3.025 MB / 4.639 GB, free: 38.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008895/15.31, allocations: 2.117 MB / 4.641 GB, free: 38.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/15.31, allocations: 276.8 kB / 4.641 GB, free: 38.02 MB / 0.5573 GB Notification: Performance of SimCode: time 1.99e-06/15.31, allocations: 0 / 4.641 GB, free: 38.02 MB / 0.5573 GB Notification: Performance of Templates: time 1.777/17.09, allocations: 313.6 MB / 4.948 GB, free: 110.2 MB / 0.6043 GB