Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.843/3.843, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.95e-05/4.967e-05, allocations: 11.94 kB / 0.4992 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.628/0.628, allocations: 92.69 MB / 0.5897 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.8513, allocations: 121 MB / 0.7078 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/0.8517, allocations: 87.94 kB / 0.7079 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003863/0.8556, allocations: 0.9605 MB / 0.7088 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8557, allocations: 0 / 0.7088 GB, free: 4.152 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.8557, allocations: 4 kB / 0.7089 GB, free: 4.148 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005271/0.8562, allocations: 358.5 kB / 0.7092 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.8563, allocations: 8.031 kB / 0.7092 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.8563, allocations: 34.56 kB / 0.7092 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.8564, allocations: 11.86 kB / 0.7092 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.8565, allocations: 171 kB / 0.7094 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.8565, allocations: 0 / 0.7094 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.8566, allocations: 4 kB / 0.7094 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.8568, allocations: 49.69 kB / 0.7095 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.8568, allocations: 4 kB / 0.7095 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.8568, allocations: 4 kB / 0.7095 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.8568, allocations: 0 / 0.7095 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.8569, allocations: 27.83 kB / 0.7095 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.8575, allocations: 292.8 kB / 0.7098 GB, free: 3.055 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.8576, allocations: 46.56 kB / 0.7098 GB, free: 3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.8577, allocations: 12.89 kB / 0.7098 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.8577, allocations: 4 kB / 0.7098 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.8577, allocations: 34.5 kB / 0.7099 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.8578, allocations: 0 / 0.7099 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002116/0.858, allocations: 57.78 kB / 0.7099 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.858, allocations: 51.41 kB / 0.71 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.8581, allocations: 105 kB / 0.7101 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.8582, allocations: 29.7 kB / 0.7101 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.8582, allocations: 88.05 kB / 0.7102 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.8583, allocations: 11.84 kB / 0.7102 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.8583, allocations: 0 / 0.7102 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.8584, allocations: 318.8 kB / 0.7105 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.064e-05/0.8585, allocations: 12 kB / 0.7105 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-05/0.8586, allocations: 33.66 kB / 0.7105 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/0.8586, allocations: 7.938 kB / 0.7105 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8586, allocations: 0 / 0.7105 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001508/0.8588, allocations: 65.77 kB / 0.7106 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.8588, allocations: 8 kB / 0.7106 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.8588, allocations: 8.047 kB / 0.7106 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.8589, allocations: 3.953 kB / 0.7106 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.859, allocations: 11.98 kB / 0.7106 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.8591, allocations: 320 / 0.7106 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.8592, allocations: 20.02 kB / 0.7107 GB, free: 2.066 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.8593, allocations: 4 kB / 0.7107 GB, free: 2.062 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.hysteresis1.y,hysteresis1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.206e-05/0.8593, allocations: 101 kB / 0.7108 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.8594, allocations: 4 kB / 0.7108 GB, free: 1.953 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.8596, allocations: 69.64 kB / 0.7108 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.8596, allocations: 0 / 0.7108 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.8596, allocations: 3.953 kB / 0.7108 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.8596, allocations: 4 kB / 0.7108 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.8599, allocations: 169.6 kB / 0.711 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8599, allocations: 0 / 0.711 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.86, allocations: 12 kB / 0.711 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.86, allocations: 3.938 kB / 0.711 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.86, allocations: 3.984 kB / 0.711 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.8601, allocations: 3.984 kB / 0.711 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8601, allocations: 0 / 0.711 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.8603, allocations: 163.3 kB / 0.7112 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.8603, allocations: 81.11 kB / 0.7113 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.8604, allocations: 0 / 0.7113 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.8605, allocations: 15.98 kB / 0.7113 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/0.8606, allocations: 7.984 kB / 0.7113 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.8606, allocations: 0 / 0.7113 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.59e-05/0.8607, allocations: 99.22 kB / 0.7114 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8607, allocations: 0 / 0.7114 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003145/0.861, allocations: 7.906 kB / 0.7114 GB, free: 1.227 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (hysteresis1.y) * Number of discrete states: 1 (hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005165/0.8616, allocations: 0.685 MB / 0.7121 GB, free: 0.5117 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.8617, allocations: 35.92 kB / 0.7121 GB, free: 488 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8618, allocations: 4 kB / 0.7121 GB, free: 484 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.8618, allocations: 12 kB / 0.7121 GB, free: 472 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.8621, allocations: 5.203 kB / 0.7121 GB, free: 468 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.8626, allocations: 110.5 kB / 0.7122 GB, free: 320 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.8629, allocations: 0.6809 MB / 0.7129 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.381e-05/0.8629, allocations: 4 kB / 0.7129 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.863, allocations: 19.42 kB / 0.7129 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of SimCode: time 7.52e-07/0.863, allocations: 4 kB / 0.7129 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.8812, allocations: 1.378 MB / 0.7142 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/0.8816, allocations: 166.7 kB / 0.7144 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/2.996, allocations: 3.938 kB / 0.7144 GB, free: 14.04 MB / 0.6042 GB