Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.051/2.051, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.632e-05, allocations: 3.375 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.042/8.16, allocations: 2.56 GB / 2.874 GB, free: 9.906 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/8.16, allocations: 78.33 kB / 2.874 GB, free: 9.867 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.585/13.75, allocations: 0.9956 GB / 3.87 GB, free: 25 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.364e-06/13.75, allocations: 2.625 kB / 3.87 GB, free: 25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002729/13.75, allocations: 73.5 kB / 3.87 GB, free: 24.99 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.02082/13.77, allocations: 4.262 MB / 3.874 GB, free: 22.94 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.292e-05/13.77, allocations: 14.09 kB / 3.874 GB, free: 22.94 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002688/13.77, allocations: 417.8 kB / 3.874 GB, free: 22.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01848/13.79, allocations: 0.9817 MB / 3.875 GB, free: 22.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/13.8, allocations: 2.25 MB / 3.877 GB, free: 22.15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006819/13.8, allocations: 287.5 kB / 3.878 GB, free: 22.08 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001679/13.8, allocations: 233.1 kB / 3.878 GB, free: 22.08 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/13.82, allocations: 4.433 MB / 3.882 GB, free: 21.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.558e-05/13.82, allocations: 7.812 kB / 3.882 GB, free: 21.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005386/13.82, allocations: 103.9 kB / 3.882 GB, free: 21.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003948/13.82, allocations: 221.9 kB / 3.883 GB, free: 21.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/13.84, allocations: 3.987 MB / 3.886 GB, free: 21.41 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.0403/13.88, allocations: 19.05 MB / 3.905 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008944/13.88, allocations: 2.651 MB / 3.908 GB, free: 9.387 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003314/13.89, allocations: 1.3 MB / 3.909 GB, free: 8.898 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05578/13.94, allocations: 17.07 MB / 3.926 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.564e-05/13.94, allocations: 56.22 kB / 3.926 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002681/13.95, allocations: 359.5 kB / 3.926 GB, free: 13.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=181): time 6.542e-06/13.95, allocations: 0 / 3.926 GB, free: 13.25 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 1.524/15.47, allocations: 62.2 MB / 3.987 GB, free: 37.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4598/15.93, allocations: 86.71 MB / 4.071 GB, free: 19.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003998/15.94, allocations: 1.67 MB / 4.073 GB, free: 18.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001066/15.94, allocations: 74.02 kB / 4.073 GB, free: 17.99 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/15.94, allocations: 1.176 MB / 4.074 GB, free: 17.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001901/15.94, allocations: 0.9384 MB / 4.075 GB, free: 16.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006209/15.94, allocations: 57.75 kB / 4.075 GB, free: 16.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002402/15.94, allocations: 429.4 kB / 4.076 GB, free: 16.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006943/15.95, allocations: 2.574 MB / 4.078 GB, free: 15.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007543/15.96, allocations: 3.115 MB / 4.081 GB, free: 13.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009745/15.96, allocations: 2.999 MB / 4.084 GB, free: 11.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.254e-05/15.97, allocations: 4 kB / 4.084 GB, free: 11.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=372) (initialization): time 0.02781/15.99, allocations: 8.602 MB / 4.092 GB, free: 7.031 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001461/15.99, allocations: 6.08 MB / 4.098 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.122e-05/15.99, allocations: 12 kB / 4.098 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1262/16.12, allocations: 16.42 MB / 4.114 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/16.12, allocations: 376.3 kB / 4.115 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03568/16.16, allocations: 10.23 MB / 4.125 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009006/16.17, allocations: 400.6 kB / 4.125 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/16.17, allocations: 180.6 kB / 4.125 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/16.17, allocations: 4 kB / 4.125 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4742/16.64, allocations: 8.013 MB / 4.133 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.717e-05/16.64, allocations: 15.84 kB / 4.133 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05845/16.7, allocations: 8.882 MB / 4.142 GB, free: 65.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004073/16.71, allocations: 449.6 kB / 4.142 GB, free: 65.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02845/16.74, allocations: 9.066 MB / 4.151 GB, free: 63.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00836/16.74, allocations: 403.8 kB / 4.152 GB, free: 63.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/16.75, allocations: 178 kB / 4.152 GB, free: 63.95 MB / 0.5105 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.001485/16.75, allocations: 273.7 kB / 4.152 GB, free: 63.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/16.75, allocations: 258.7 kB / 4.152 GB, free: 63.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0391/16.79, allocations: 17.2 MB / 4.169 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001925/16.79, allocations: 117.2 kB / 4.169 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/16.79, allocations: 7.688 kB / 4.169 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03184/16.82, allocations: 15.4 MB / 4.184 GB, free: 62.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0624/16.88, allocations: 27.24 MB / 4.211 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.84e-05/16.88, allocations: 3.188 kB / 4.211 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/16.88, allocations: 232.5 kB / 4.211 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1239/17.01, allocations: 26.47 MB / 4.237 GB, free: 56.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/17.01, allocations: 105.4 kB / 4.237 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03584/17.05, allocations: 15.51 MB / 4.252 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.9224/17.97, allocations: 144.4 MB / 4.393 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04861/18.02, allocations: 22.46 MB / 4.415 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004357/18.02, allocations: 1.152 MB / 4.416 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/18.02, allocations: 61 kB / 4.416 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007955/18.03, allocations: 436.6 kB / 4.417 GB, free: 44.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00191/18.03, allocations: 262.2 kB / 4.417 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008989/18.03, allocations: 143.8 kB / 4.417 GB, free: 44.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003324/18.04, allocations: 1.325 MB / 4.418 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.122e-06/18.04, allocations: 0 / 4.418 GB, free: 43.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03857/18.08, allocations: 7.191 MB / 4.425 GB, free: 43.21 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.09235/18.17, allocations: 25.02 MB / 4.45 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04494/18.21, allocations: 11.78 MB / 4.461 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/18.21, allocations: 7.812 kB / 4.461 GB, free: 28.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0193/18.23, allocations: 5.658 MB / 4.467 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01021/18.24, allocations: 1.068 MB / 4.468 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04425/18.29, allocations: 14.03 MB / 4.482 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003994/18.29, allocations: 3.023 MB / 4.485 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01165/18.3, allocations: 2.122 MB / 4.487 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004886/18.31, allocations: 1.652 MB / 4.488 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/18.31, allocations: 0 / 4.488 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.63/19.94, allocations: 352.3 MB / 4.832 GB, free: 59.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/19.94, allocations: 198 kB / 4.832 GB, free: 59.73 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.31/50.25, allocations: 1.219 kB / 4.832 GB, free: 59.73 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState_res.mat does not exist to compare? outputFormat=mat