Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.496/4.496, allocations: 464.6 MB / 476.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.121e-05/4.118e-05, allocations: 4 kB / 0.5732 GB, free: 5.672 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2498, allocations: 107.2 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.33/1.58, allocations: 424.8 MB / 1.093 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003773/1.58, allocations: 101.2 kB / 1.093 GB, free: 9.438 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.39/6.97, allocations: 0.9446 GB / 2.037 GB, free: 79.68 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.523e-06/6.97, allocations: 0.6562 kB / 2.037 GB, free: 79.68 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005094/6.97, allocations: 83.84 kB / 2.038 GB, free: 79.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.008482/6.979, allocations: 2.525 MB / 2.04 GB, free: 77.03 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/6.979, allocations: 8.031 kB / 2.04 GB, free: 77.02 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006176/6.98, allocations: 223.5 kB / 2.04 GB, free: 76.79 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/6.981, allocations: 319.8 kB / 2.04 GB, free: 76.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009536/6.991, allocations: 2.407 MB / 2.043 GB, free: 74.01 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/6.991, allocations: 134.8 kB / 2.043 GB, free: 73.88 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006045/6.992, allocations: 178.6 kB / 2.043 GB, free: 73.71 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004281/6.996, allocations: 1.484 MB / 2.045 GB, free: 72.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.329e-05/6.996, allocations: 3.984 kB / 2.045 GB, free: 72.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/6.996, allocations: 68 kB / 2.045 GB, free: 72.09 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/6.996, allocations: 47.94 kB / 2.045 GB, free: 72.05 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/6.999, allocations: 1.025 MB / 2.046 GB, free: 71.02 MB / 0.8855 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.01735/7.017, allocations: 7.964 MB / 2.053 GB, free: 62.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/7.018, allocations: 430.5 kB / 2.054 GB, free: 62.14 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000626/7.019, allocations: 319 kB / 2.054 GB, free: 61.83 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006685/7.019, allocations: 0.7602 MB / 2.055 GB, free: 60.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/7.019, allocations: 39.12 kB / 2.055 GB, free: 60.86 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.666e-06/7.019, allocations: 0 / 2.055 GB, free: 60.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.002223/7.022, allocations: 0.7419 MB / 2.056 GB, free: 60.11 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/7.022, allocations: 59.91 kB / 2.056 GB, free: 60.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/7.026, allocations: 2.011 MB / 2.058 GB, free: 58.02 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000352/7.026, allocations: 53.7 kB / 2.058 GB, free: 57.96 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/7.027, allocations: 1.139 MB / 2.059 GB, free: 56.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00031/7.028, allocations: 220.9 kB / 2.059 GB, free: 56.58 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/7.028, allocations: 20 kB / 2.059 GB, free: 56.56 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/7.028, allocations: 353.9 kB / 2.059 GB, free: 56.21 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008248/7.029, allocations: 314.6 kB / 2.06 GB, free: 55.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/7.03, allocations: 0.7701 MB / 2.061 GB, free: 54.94 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/7.031, allocations: 452.8 kB / 2.061 GB, free: 54.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/7.031, allocations: 3.938 kB / 2.061 GB, free: 54.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003097/7.034, allocations: 1.181 MB / 2.062 GB, free: 53.31 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006344/7.035, allocations: 3.201 MB / 2.065 GB, free: 49.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/7.035, allocations: 8 kB / 2.065 GB, free: 49.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.101e-05/7.035, allocations: 12 kB / 2.065 GB, free: 49.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/7.037, allocations: 259.6 kB / 2.065 GB, free: 49.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.81e-05/7.037, allocations: 15.94 kB / 2.066 GB, free: 49.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003625/7.041, allocations: 274 kB / 2.066 GB, free: 49.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001896/7.041, allocations: 51.98 kB / 2.066 GB, free: 49.22 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/7.041, allocations: 7.938 kB / 2.066 GB, free: 49.21 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002266/7.043, allocations: 0.9395 MB / 2.067 GB, free: 48.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/7.043, allocations: 8 kB / 2.067 GB, free: 48.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/7.043, allocations: 15.84 kB / 2.067 GB, free: 48.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/7.045, allocations: 252.2 kB / 2.067 GB, free: 48.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.447e-05/7.045, allocations: 23.92 kB / 2.067 GB, free: 47.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/7.049, allocations: 245 kB / 2.067 GB, free: 47.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/7.049, allocations: 51.98 kB / 2.067 GB, free: 47.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003592/7.049, allocations: 169 kB / 2.067 GB, free: 47.52 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006273/7.05, allocations: 233.1 kB / 2.068 GB, free: 47.29 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/7.052, allocations: 0.8923 MB / 2.069 GB, free: 46.38 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/7.052, allocations: 8 kB / 2.069 GB, free: 46.38 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/7.052, allocations: 0 / 2.069 GB, free: 46.38 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/7.053, allocations: 0.6814 MB / 2.069 GB, free: 45.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006169/7.06, allocations: 2.604 MB / 2.072 GB, free: 43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/7.06, allocations: 0 / 2.072 GB, free: 43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/7.061, allocations: 147.9 kB / 2.072 GB, free: 42.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/7.061, allocations: 4 kB / 2.072 GB, free: 42.85 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/7.061, allocations: 23.98 kB / 2.072 GB, free: 42.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/7.061, allocations: 4 kB / 2.072 GB, free: 42.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/7.061, allocations: 0 / 2.072 GB, free: 42.82 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/7.064, allocations: 1.336 MB / 2.073 GB, free: 41.44 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/7.065, allocations: 457.7 kB / 2.074 GB, free: 40.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004977/7.066, allocations: 23.25 kB / 2.074 GB, free: 40.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/7.068, allocations: 151.7 kB / 2.074 GB, free: 40.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/7.069, allocations: 52.48 kB / 2.074 GB, free: 40.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.37e-05/7.069, allocations: 31.98 kB / 2.074 GB, free: 40.72 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003175/7.072, allocations: 1.525 MB / 2.075 GB, free: 39.19 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.91e-07/7.072, allocations: 0 / 2.075 GB, free: 39.19 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004915/7.077, allocations: 1.205 MB / 2.077 GB, free: 37.98 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005622/7.082, allocations: 3.264 MB / 2.08 GB, free: 34.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003466/7.086, allocations: 1.349 MB / 2.081 GB, free: 33.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/7.086, allocations: 0 / 2.081 GB, free: 33.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007195/7.087, allocations: 316 kB / 2.081 GB, free: 33.23 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0128/7.1, allocations: 1.501 MB / 2.083 GB, free: 31.78 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009307/7.109, allocations: 3.352 MB / 2.086 GB, free: 28.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/7.11, allocations: 1.638 MB / 2.088 GB, free: 26.71 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004376/7.115, allocations: 0.7015 MB / 2.088 GB, free: 26.05 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/7.116, allocations: 0.8937 MB / 2.089 GB, free: 25.16 MB / 0.8855 GB Notification: Performance of SimCode: time 1.112e-06/7.116, allocations: 4 kB / 2.089 GB, free: 25.16 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8974/8.014, allocations: 78.68 MB / 2.166 GB, free: 109.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/8.014, allocations: 203.8 kB / 2.166 GB, free: 108.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.642/14.66, allocations: 0 / 2.166 GB, free: 108.9 MB / 0.9011 GB