Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadModel(ModelicaTest): time 1.889/1.889, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.498e-05, allocations: 4 kB / 273.1 MB, free: 3.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08829/0.08836, allocations: 48.69 MB / 321.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.55/6.639, allocations: 2.56 GB / 2.874 GB, free: 88.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/6.639, allocations: 74.09 kB / 2.874 GB, free: 88.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.867/11.51, allocations: 0.9967 GB / 3.871 GB, free: 31.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.196e-06/11.51, allocations: 0 / 3.871 GB, free: 31.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003624/11.51, allocations: 78.59 kB / 3.871 GB, free: 31.84 MB / 490.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.01703/11.52, allocations: 4.27 MB / 3.875 GB, free: 29.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/11.52, allocations: 10.69 kB / 3.875 GB, free: 29.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/11.53, allocations: 0.9853 MB / 3.876 GB, free: 29.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008047/11.54, allocations: 2.248 MB / 3.878 GB, free: 29.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004221/11.54, allocations: 282.6 kB / 3.878 GB, free: 29.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/11.54, allocations: 246 kB / 3.878 GB, free: 29.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01303/11.56, allocations: 4.44 MB / 3.883 GB, free: 28.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.481e-05/11.56, allocations: 16.47 kB / 3.883 GB, free: 28.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005311/11.56, allocations: 112.3 kB / 3.883 GB, free: 28.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003023/11.56, allocations: 214.5 kB / 3.883 GB, free: 28.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/11.57, allocations: 4.001 MB / 3.887 GB, free: 28.66 MB / 490.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.03297/11.6, allocations: 19.02 MB / 3.906 GB, free: 17.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008285/11.61, allocations: 2.762 MB / 3.908 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/11.62, allocations: 1.477 MB / 3.91 GB, free: 17.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0378/11.65, allocations: 17.06 MB / 3.926 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/11.65, allocations: 55.66 kB / 3.926 GB, free: 23.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002202/11.66, allocations: 237.4 kB / 3.927 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=194): time 1.096e-05/11.66, allocations: 2 kB / 3.927 GB, free: 23.12 MB / 0.4948 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: heater.mediums[1].p 4: pump.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=215): time 0.05807/11.71, allocations: 13.11 MB / 3.939 GB, free: 22.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/11.71, allocations: 129 kB / 3.94 GB, free: 22.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003331/11.72, allocations: 1.658 MB / 3.941 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005503/11.72, allocations: 67.2 kB / 3.941 GB, free: 21.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008786/11.72, allocations: 1.153 MB / 3.942 GB, free: 21.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009128/11.72, allocations: 0.7272 MB / 3.943 GB, free: 20.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/11.72, allocations: 46.56 kB / 3.943 GB, free: 20.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002668/11.72, allocations: 399.7 kB / 3.944 GB, free: 20.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/11.72, allocations: 1.319 MB / 3.945 GB, free: 20.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003283/11.73, allocations: 1.804 MB / 3.947 GB, free: 19.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/11.73, allocations: 1.541 MB / 3.948 GB, free: 19.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/11.73, allocations: 2.625 kB / 3.948 GB, free: 19.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01024/11.74, allocations: 4.011 MB / 3.952 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00264/11.74, allocations: 5.535 MB / 3.957 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.364e-05/11.74, allocations: 20.72 kB / 3.957 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006017/11.75, allocations: 1.141 MB / 3.959 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003437/11.75, allocations: 0.5269 MB / 3.959 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006624/11.76, allocations: 5.692 MB / 3.965 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00412/11.76, allocations: 322.9 kB / 3.965 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007022/11.76, allocations: 123.1 kB / 3.965 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/11.76, allocations: 6.906 kB / 3.965 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008797/11.77, allocations: 3.461 MB / 3.968 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.401e-05/11.77, allocations: 12.97 kB / 3.968 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/11.78, allocations: 0.633 MB / 3.969 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003753/11.78, allocations: 0.5953 MB / 3.97 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/11.79, allocations: 8.461 MB / 3.978 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00356/11.79, allocations: 318.1 kB / 3.978 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/11.79, allocations: 114.6 kB / 3.978 GB, free: 18.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (265): * Single equations (assignments): 257 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 5,1 1,2 7,1 1,4 14,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000823/11.79, allocations: 255.9 kB / 3.979 GB, free: 18.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005957/11.8, allocations: 229.8 kB / 3.979 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/11.81, allocations: 9.389 MB / 3.988 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/11.81, allocations: 104 kB / 3.988 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/11.81, allocations: 3.438 kB / 3.988 GB, free: 17.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01315/11.82, allocations: 8.252 MB / 3.996 GB, free: 16.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02626/11.85, allocations: 13.59 MB / 4.009 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/11.85, allocations: 0 / 4.009 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/11.85, allocations: 408.2 kB / 4.01 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008205/11.86, allocations: 2.672 MB / 4.012 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005693/11.86, allocations: 78.17 kB / 4.012 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007612/11.87, allocations: 6.913 MB / 4.019 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.335e-06/11.87, allocations: 3.719 kB / 4.019 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01923/11.89, allocations: 9.98 MB / 4.029 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002678/11.89, allocations: 0.8293 MB / 4.03 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000958/11.89, allocations: 53.12 kB / 4.03 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003307/11.9, allocations: 262 kB / 4.03 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006918/11.9, allocations: 203 kB / 4.03 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000335/11.9, allocations: 83.77 kB / 4.03 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003106/11.9, allocations: 1.319 MB / 4.032 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.632e-06/11.9, allocations: 0 / 4.032 GB, free: 3.598 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01359/11.91, allocations: 3.078 MB / 4.035 GB, free: 0.5781 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (tank.medium.h,tank.level,heater.mediums[1].p,heater.mediums[1].h,radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 58 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse38.region3boundary,$cse39.region3boundary,$cse40.phase,$cse40.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.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 (208): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 4,1 1,2 9,1 1,4 18,1 1,1 10,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.3528/12.27, allocations: 3.072 MB / 4.038 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01692/12.28, allocations: 6.342 MB / 4.044 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.75e-06/12.28, allocations: 1.312 kB / 4.044 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007653/12.29, allocations: 2.969 MB / 4.047 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007346/12.3, allocations: 1.082 MB / 4.048 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02813/12.33, allocations: 7.343 MB / 4.055 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00551/12.33, allocations: 2.581 MB / 4.057 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01912/12.35, allocations: 3.286 MB / 4.061 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/12.35, allocations: 181.6 kB / 4.061 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of SimCode: time 3.051e-06/12.35, allocations: 1.125 kB / 4.061 GB, free: 57.23 MB / 0.5105 GB Notification: Performance of Templates: time 0.2361/12.59, allocations: 106.9 MB / 4.165 GB, free: 45.87 MB / 0.5105 GB