Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.569/2.569, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.391e-05/4.405e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4228, allocations: 54.84 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.201/8.624, allocations: 2.67 GB / 3.022 GB, free: 87.76 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/8.624, allocations: 73.97 kB / 3.022 GB, free: 87.72 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64/14.26, allocations: 1.022 GB / 4.044 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.914e-06/14.26, allocations: 0 / 4.044 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003671/14.26, allocations: 71.98 kB / 4.044 GB, free: 25.15 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.02182/14.29, allocations: 4.395 MB / 4.048 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/14.29, allocations: 8.031 kB / 4.048 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00203/14.29, allocations: 411.9 kB / 4.049 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/14.3, allocations: 1.03 MB / 4.05 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00951/14.31, allocations: 2.262 MB / 4.052 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000481/14.31, allocations: 280.2 kB / 4.052 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/14.31, allocations: 248 kB / 4.052 GB, free: 16.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/14.33, allocations: 4.448 MB / 4.057 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/14.33, allocations: 7.938 kB / 4.057 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007507/14.33, allocations: 111.9 kB / 4.057 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004034/14.33, allocations: 216.8 kB / 4.057 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/14.34, allocations: 4.003 MB / 4.061 GB, free: 7.527 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.04659/14.39, allocations: 19.04 MB / 4.08 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/14.4, allocations: 2.771 MB / 4.082 GB, free: 196 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4692/14.87, allocations: 1.471 MB / 4.084 GB, free: 41.92 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05943/14.93, allocations: 17.06 MB / 4.1 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.985e-05/14.93, allocations: 54.88 kB / 4.1 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002805/14.93, allocations: 233.9 kB / 4.101 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=194): time 1.223e-05/14.93, allocations: 2 kB / 4.101 GB, free: 31.38 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.07743/15.01, allocations: 13.11 MB / 4.113 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/15.01, allocations: 131.3 kB / 4.114 GB, free: 30.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/15.01, allocations: 1.658 MB / 4.115 GB, free: 30.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000705/15.02, allocations: 64.77 kB / 4.115 GB, free: 30.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/15.02, allocations: 1.148 MB / 4.116 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001107/15.02, allocations: 0.7261 MB / 4.117 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/15.02, allocations: 50.78 kB / 4.117 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00017/15.02, allocations: 405.3 kB / 4.118 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003247/15.02, allocations: 1.324 MB / 4.119 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003451/15.02, allocations: 1.801 MB / 4.121 GB, free: 28.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/15.03, allocations: 1.534 MB / 4.122 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/15.03, allocations: 5.812 kB / 4.122 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01085/15.04, allocations: 4.013 MB / 4.126 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001233/15.04, allocations: 5.539 MB / 4.131 GB, free: 22.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/15.04, allocations: 13.88 kB / 4.131 GB, free: 22.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006833/15.05, allocations: 1.137 MB / 4.133 GB, free: 22.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004626/15.05, allocations: 0.5292 MB / 4.133 GB, free: 22.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006025/15.06, allocations: 5.701 MB / 4.139 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005291/15.06, allocations: 316.1 kB / 4.139 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003999/15.06, allocations: 118.5 kB / 4.139 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/15.06, allocations: 7.812 kB / 4.139 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009442/15.07, allocations: 3.468 MB / 4.142 GB, free: 18.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/15.07, allocations: 17.16 kB / 4.142 GB, free: 18.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003039/15.08, allocations: 0.6366 MB / 4.143 GB, free: 18.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005002/15.08, allocations: 0.5915 MB / 4.144 GB, free: 18.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009032/15.09, allocations: 8.459 MB / 4.152 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/15.1, allocations: 310 kB / 4.152 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003667/15.1, allocations: 113.3 kB / 4.152 GB, free: 11.54 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.000952/15.1, allocations: 255.5 kB / 4.153 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006605/15.1, allocations: 233.2 kB / 4.153 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/15.11, allocations: 9.389 MB / 4.162 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001189/15.11, allocations: 102.5 kB / 4.162 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/15.11, allocations: 2.25 kB / 4.162 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01388/15.13, allocations: 8.258 MB / 4.17 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03249/15.16, allocations: 13.61 MB / 4.183 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.783e-05/15.16, allocations: 3.094 kB / 4.183 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003746/15.16, allocations: 411.9 kB / 4.184 GB, free: 8.656 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00995/15.17, allocations: 2.675 MB / 4.186 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007892/15.18, allocations: 75.53 kB / 4.187 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008058/15.18, allocations: 6.923 MB / 4.193 GB, free: 20.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/15.18, allocations: 1.688 kB / 4.193 GB, free: 20.33 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02129/15.21, allocations: 9.963 MB / 4.203 GB, free: 19.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003234/15.21, allocations: 0.8233 MB / 4.204 GB, free: 19.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/15.21, allocations: 54.98 kB / 4.204 GB, free: 19.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004746/15.21, allocations: 267.3 kB / 4.204 GB, free: 19.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009186/15.22, allocations: 198.4 kB / 4.204 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000356/15.22, allocations: 90.42 kB / 4.204 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003198/15.22, allocations: 1.315 MB / 4.206 GB, free: 18.97 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.062e-06/15.22, allocations: 0 / 4.206 GB, free: 18.97 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01663/15.24, allocations: 3.096 MB / 4.209 GB, free: 18.85 MB / 0.5417 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.04717/15.28, allocations: 12.89 MB / 4.221 GB, free: 17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01938/15.3, allocations: 6.344 MB / 4.227 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/15.3, allocations: 3.938 kB / 4.227 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008728/15.31, allocations: 2.965 MB / 4.23 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01048/15.32, allocations: 1.086 MB / 4.231 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/15.35, allocations: 8.946 MB / 4.24 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003838/15.36, allocations: 2.583 MB / 4.243 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01126/15.37, allocations: 3.288 MB / 4.246 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004188/15.37, allocations: 1.486 MB / 4.247 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of SimCode: time 1.894e-06/15.37, allocations: 0 / 4.247 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8002/16.17, allocations: 144.3 MB / 4.388 GB, free: 67.19 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/16.17, allocations: 203.3 kB / 4.388 GB, free: 66.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.507/25.68, allocations: 0 / 4.388 GB, free: 66.97 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat