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.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadModel(ModelicaTest): time 2.283/2.283, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.277e-05, allocations: 4.781 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3568, allocations: 54.84 MB / 359.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.428/6.785, allocations: 2.67 GB / 3.021 GB, free: 105.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/6.785, allocations: 78.64 kB / 3.022 GB, free: 105.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.8/11.59, allocations: 1.022 GB / 4.044 GB, free: 28.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.74e-06/11.59, allocations: 4 kB / 4.044 GB, free: 28.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003214/11.59, allocations: 70.34 kB / 4.044 GB, free: 28.7 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.01732/11.6, allocations: 4.393 MB / 4.048 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/11.6, allocations: 7.25 kB / 4.048 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/11.61, allocations: 1.031 MB / 4.049 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007275/11.62, allocations: 2.245 MB / 4.051 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/11.62, allocations: 292.2 kB / 4.052 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009946/11.62, allocations: 241.8 kB / 4.052 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/11.63, allocations: 4.436 MB / 4.056 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-05/11.63, allocations: 3.938 kB / 4.056 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004779/11.64, allocations: 107 kB / 4.056 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000323/11.64, allocations: 229.7 kB / 4.057 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/11.65, allocations: 3.996 MB / 4.06 GB, free: 17.41 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.03281/11.68, allocations: 19.04 MB / 4.079 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009075/11.69, allocations: 2.763 MB / 4.082 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003817/11.69, allocations: 1.482 MB / 4.083 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.417/12.11, allocations: 17.05 MB / 4.1 GB, free: 38.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/12.11, allocations: 59.66 kB / 4.1 GB, free: 38.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002172/12.11, allocations: 235.6 kB / 4.1 GB, free: 38.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=194): time 9.935e-06/12.11, allocations: 1.25 kB / 4.1 GB, free: 38.66 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: 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.06159/12.17, allocations: 13.09 MB / 4.113 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/12.17, allocations: 130.4 kB / 4.113 GB, free: 37.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003367/12.18, allocations: 1.656 MB / 4.115 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005362/12.18, allocations: 62.7 kB / 4.115 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008955/12.18, allocations: 1.149 MB / 4.116 GB, free: 37.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009956/12.18, allocations: 0.7301 MB / 4.117 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/12.18, allocations: 51 kB / 4.117 GB, free: 36.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001714/12.18, allocations: 402.5 kB / 4.117 GB, free: 36.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/12.18, allocations: 1.323 MB / 4.118 GB, free: 36.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003347/12.19, allocations: 1.805 MB / 4.12 GB, free: 35.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003575/12.19, allocations: 1.531 MB / 4.122 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.947e-05/12.19, allocations: 7.312 kB / 4.122 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01131/12.2, allocations: 4.01 MB / 4.125 GB, free: 35.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001095/12.2, allocations: 5.538 MB / 4.131 GB, free: 29.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/12.2, allocations: 15.12 kB / 4.131 GB, free: 29.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007735/12.21, allocations: 1.142 MB / 4.132 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005334/12.22, allocations: 0.5299 MB / 4.133 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00846/12.22, allocations: 5.696 MB / 4.138 GB, free: 25.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006821/12.23, allocations: 316.2 kB / 4.138 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/12.23, allocations: 117.8 kB / 4.138 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/12.23, allocations: 4.625 kB / 4.139 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01501/12.25, allocations: 3.463 MB / 4.142 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-05/12.25, allocations: 19.8 kB / 4.142 GB, free: 25.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004517/12.25, allocations: 0.634 MB / 4.143 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006571/12.26, allocations: 0.5932 MB / 4.143 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/12.27, allocations: 8.463 MB / 4.151 GB, free: 18.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006274/12.28, allocations: 313.8 kB / 4.152 GB, free: 18.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009906/12.28, allocations: 108.2 kB / 4.152 GB, free: 18.82 MB / 0.5261 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.001445/12.28, allocations: 253 kB / 4.152 GB, free: 18.72 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/12.28, allocations: 235.1 kB / 4.152 GB, free: 18.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02677/12.31, allocations: 9.387 MB / 4.161 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001828/12.31, allocations: 108.2 kB / 4.162 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/12.31, allocations: 1.969 kB / 4.162 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02203/12.33, allocations: 8.252 MB / 4.17 GB, free: 16.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03823/12.37, allocations: 13.6 MB / 4.183 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.342e-05/12.37, allocations: 6.641 kB / 4.183 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/12.37, allocations: 406.7 kB / 4.183 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008527/12.38, allocations: 2.685 MB / 4.186 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005637/12.38, allocations: 77.69 kB / 4.186 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006512/12.39, allocations: 6.909 MB / 4.193 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.146e-06/12.39, allocations: 6.469 kB / 4.193 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01788/12.41, allocations: 9.956 MB / 4.202 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002459/12.41, allocations: 0.8302 MB / 4.203 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008999/12.41, allocations: 60 kB / 4.203 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/12.41, allocations: 257.3 kB / 4.204 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006922/12.41, allocations: 208.8 kB / 4.204 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004452/12.41, allocations: 81.73 kB / 4.204 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002826/12.42, allocations: 1.32 MB / 4.205 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.035e-06/12.42, allocations: 0 / 4.205 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01296/12.43, allocations: 3.096 MB / 4.208 GB, free: 10.15 MB / 0.5261 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.01346/12.44, allocations: 3.113 MB / 4.211 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0151/12.46, allocations: 6.343 MB / 4.217 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.265e-06/12.46, allocations: 3.594 kB / 4.217 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006744/12.47, allocations: 2.968 MB / 4.22 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007204/12.47, allocations: 1.085 MB / 4.221 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/12.49, allocations: 7.341 MB / 4.228 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003258/12.49, allocations: 2.584 MB / 4.231 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009082/12.5, allocations: 3.295 MB / 4.234 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000981/12.5, allocations: 180.7 kB / 4.234 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of SimCode: time 2.11e-06/12.5, allocations: 0 / 4.234 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of Templates: time 0.6166/13.12, allocations: 108 MB / 4.34 GB, free: 71.19 MB / 0.5573 GB