Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.53/2.53, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.051e-05/4.068e-05, allocations: 3.984 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4254, allocations: 54.86 MB / 359.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.19/8.616, allocations: 2.67 GB / 3.022 GB, free: 89.02 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/8.616, allocations: 81.23 kB / 3.022 GB, free: 88.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.392/14.01, allocations: 1.021 GB / 4.043 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.114e-06/14.01, allocations: 3.875 kB / 4.043 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003514/14.01, allocations: 69.27 kB / 4.043 GB, free: 26.62 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.02204/14.03, allocations: 4.389 MB / 4.047 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/14.03, allocations: 8.031 kB / 4.047 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001999/14.03, allocations: 419.9 kB / 4.048 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/14.04, allocations: 1.03 MB / 4.049 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008884/14.05, allocations: 2.242 MB / 4.051 GB, free: 19.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004356/14.05, allocations: 284.2 kB / 4.051 GB, free: 18.72 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/14.05, allocations: 240 kB / 4.051 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/14.07, allocations: 4.45 MB / 4.056 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.833e-05/14.07, allocations: 11.84 kB / 4.056 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005044/14.07, allocations: 112 kB / 4.056 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004024/14.07, allocations: 232.7 kB / 4.056 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/14.08, allocations: 4.032 MB / 4.06 GB, free: 9.406 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.04334/14.13, allocations: 19.05 MB / 4.079 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009721/14.14, allocations: 2.668 MB / 4.081 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003659/14.14, allocations: 1.298 MB / 4.082 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5389/14.68, allocations: 17.05 MB / 4.099 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.999e-05/14.68, allocations: 53.12 kB / 4.099 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002819/14.68, allocations: 363.2 kB / 4.099 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 1.051e-05/14.68, allocations: 0 / 4.099 GB, free: 32.75 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: pipe.mediums[2].p 4: pipe.mediums[1].p 5: radiator.mediums[1].p 6: pump.medium.h 7: heater.mediums[1].p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=283): time 1.107/15.79, allocations: 62.19 MB / 4.16 GB, free: 29.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4592/16.25, allocations: 87.11 MB / 4.245 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004701/16.25, allocations: 1.67 MB / 4.247 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/16.25, allocations: 74.27 kB / 4.247 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/16.26, allocations: 1.177 MB / 4.248 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002053/16.26, allocations: 0.9375 MB / 4.249 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006525/16.26, allocations: 62.53 kB / 4.249 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003266/16.26, allocations: 422.6 kB / 4.249 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007659/16.27, allocations: 2.572 MB / 4.252 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008418/16.28, allocations: 3.133 MB / 4.255 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/16.29, allocations: 2.994 MB / 4.258 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-05/16.29, allocations: 4 kB / 4.258 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.02908/16.31, allocations: 8.64 MB / 4.266 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002578/16.32, allocations: 6.08 MB / 4.272 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.763e-05/16.32, allocations: 19.95 kB / 4.272 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.126/16.44, allocations: 16.37 MB / 4.288 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/16.45, allocations: 375.3 kB / 4.289 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.576/17.02, allocations: 10.07 MB / 4.299 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008629/17.03, allocations: 405.8 kB / 4.299 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/17.03, allocations: 185.6 kB / 4.299 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/17.03, allocations: 3.406 kB / 4.299 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02683/17.06, allocations: 7.966 MB / 4.307 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.365e-05/17.06, allocations: 20.52 kB / 4.307 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05435/17.11, allocations: 8.85 MB / 4.316 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003859/17.12, allocations: 446.4 kB / 4.316 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02645/17.14, allocations: 9.068 MB / 4.325 GB, free: 61.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008287/17.15, allocations: 397.5 kB / 4.325 GB, free: 61.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/17.15, allocations: 178.2 kB / 4.325 GB, free: 61.89 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.001541/17.16, allocations: 264.8 kB / 4.326 GB, free: 61.78 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/17.16, allocations: 260.6 kB / 4.326 GB, free: 61.78 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04016/17.2, allocations: 17.22 MB / 4.343 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000167/17.2, allocations: 117.3 kB / 4.343 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/17.2, allocations: 0 / 4.343 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03335/17.23, allocations: 15.41 MB / 4.358 GB, free: 60.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09129/17.32, allocations: 27.18 MB / 4.384 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.059e-05/17.32, allocations: 1.344 kB / 4.384 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002996/17.33, allocations: 235.2 kB / 4.385 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1672/17.49, allocations: 26.6 MB / 4.411 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001243/17.49, allocations: 109.2 kB / 4.411 GB, free: 53.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04307/17.54, allocations: 15.49 MB / 4.426 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.993/18.53, allocations: 147.5 MB / 4.57 GB, free: 70.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04482/18.57, allocations: 22.34 MB / 4.592 GB, free: 66.88 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004311/18.58, allocations: 1.155 MB / 4.593 GB, free: 66.24 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001325/18.58, allocations: 57.53 kB / 4.593 GB, free: 66.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007734/18.59, allocations: 435.1 kB / 4.593 GB, free: 66.14 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001282/18.59, allocations: 268.9 kB / 4.594 GB, free: 66.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005729/18.59, allocations: 135.1 kB / 4.594 GB, free: 66.08 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003093/18.59, allocations: 1.328 MB / 4.595 GB, free: 65.55 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.41e-07/18.59, allocations: 2.953 kB / 4.595 GB, free: 65.55 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0364/18.63, allocations: 7.232 MB / 4.602 GB, free: 64.95 MB / 0.573 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,$cse119.phase,$cse119.region,$cse120.phase,$cse120.region,$cse121.region3boundary,$cse122.region3boundary,$cse123.phase,$cse123.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.09407/18.72, allocations: 24.97 MB / 4.626 GB, free: 55.01 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04515/18.77, allocations: 11.86 MB / 4.638 GB, free: 50.93 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/18.77, allocations: 6.25 kB / 4.638 GB, free: 50.93 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01953/18.79, allocations: 5.68 MB / 4.644 GB, free: 48.63 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01054/18.8, allocations: 1.072 MB / 4.645 GB, free: 48.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04931/18.85, allocations: 14.41 MB / 4.659 GB, free: 42.05 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004807/18.85, allocations: 3.02 MB / 4.662 GB, free: 41.08 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01092/18.86, allocations: 2.122 MB / 4.664 GB, free: 41.02 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004894/18.87, allocations: 1.648 MB / 4.665 GB, free: 39.74 MB / 0.573 GB Notification: Performance of SimCode: time 1.392e-06/18.87, allocations: 0 / 4.665 GB, free: 39.74 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.258/21.13, allocations: 351.5 MB / 5.009 GB, free: 114.6 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000294/21.13, allocations: 199.4 kB / 5.009 GB, free: 114.4 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.84/51.97, allocations: 0 / 5.009 GB, free: 114.4 MB / 0.6199 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState_res.mat does not exist to compare? outputFormat=mat