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 4.059/4.059, allocations: 403.3 MB / 415.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.823e-05/4.848e-05, allocations: 8 kB / 0.4991 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.6093, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2861/0.8955, allocations: 121 MB / 0.7078 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003788/0.8959, allocations: 87.94 kB / 0.7079 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004019/0.8999, allocations: 0.9644 MB / 0.7088 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.634e-06/0.9, allocations: 0 / 0.7088 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.9, allocations: 0 / 0.7088 GB, free: 4.297 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.0005762/0.9006, allocations: 354.5 kB / 0.7092 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.9007, allocations: 12.03 kB / 0.7092 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.9007, allocations: 34.56 kB / 0.7092 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.9008, allocations: 11.86 kB / 0.7092 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.9009, allocations: 174.9 kB / 0.7094 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.901, allocations: 4 kB / 0.7094 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.901, allocations: 8 kB / 0.7094 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.9012, allocations: 53.67 kB / 0.7094 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.9012, allocations: 4 kB / 0.7094 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.9012, allocations: 0 / 0.7094 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.9012, allocations: 0 / 0.7094 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.59e-05/0.9014, allocations: 23.89 kB / 0.7095 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.902, allocations: 292.7 kB / 0.7097 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.9021, allocations: 46.56 kB / 0.7098 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.9022, allocations: 12.89 kB / 0.7098 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.9022, allocations: 4 kB / 0.7098 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.9023, allocations: 34.55 kB / 0.7098 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.824e-06/0.9023, allocations: 0 / 0.7098 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002292/0.9025, allocations: 61.72 kB / 0.7099 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.9026, allocations: 51.41 kB / 0.7099 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.9027, allocations: 101 kB / 0.71 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.9027, allocations: 25.7 kB / 0.7101 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.9028, allocations: 96.03 kB / 0.7102 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.9028, allocations: 15.91 kB / 0.7102 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.9028, allocations: 4 kB / 0.7102 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.903, allocations: 314.8 kB / 0.7105 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-05/0.9031, allocations: 12 kB / 0.7105 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.9031, allocations: 29.72 kB / 0.7105 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.652e-05/0.9032, allocations: 12.03 kB / 0.7105 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.9032, allocations: 0 / 0.7105 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001732/0.9034, allocations: 65.53 kB / 0.7106 GB, free: 2.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.9034, allocations: 8 kB / 0.7106 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.9035, allocations: 0 / 0.7106 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.9035, allocations: 3.953 kB / 0.7106 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.9037, allocations: 11.98 kB / 0.7106 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.9037, allocations: 0 / 0.7106 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.9039, allocations: 19.98 kB / 0.7106 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.9039, allocations: 4 kB / 0.7106 GB, free: 2.203 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.777e-05/0.904, allocations: 105 kB / 0.7107 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.904, allocations: 7.938 kB / 0.7107 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.9042, allocations: 65.64 kB / 0.7108 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.9043, allocations: 0 / 0.7108 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.9043, allocations: 3.953 kB / 0.7108 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.9043, allocations: 4 kB / 0.7108 GB, free: 2.004 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.9045, allocations: 165.7 kB / 0.711 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.9046, allocations: 0 / 0.711 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.9047, allocations: 19.98 kB / 0.711 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.9047, allocations: 3.938 kB / 0.711 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.9047, allocations: 0 / 0.711 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.9047, allocations: 0 / 0.711 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9048, allocations: 0 / 0.711 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.905, allocations: 163.4 kB / 0.7112 GB, free: 1.594 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.905, allocations: 77.11 kB / 0.7112 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.9051, allocations: 3.938 kB / 0.7112 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.9052, allocations: 16.17 kB / 0.7112 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.9053, allocations: 15.98 kB / 0.7113 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.9053, allocations: 0 / 0.7113 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.3e-05/0.9054, allocations: 87.23 kB / 0.7113 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9054, allocations: 4 kB / 0.7113 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002813/0.9057, allocations: 11.91 kB / 0.7114 GB, free: 1.363 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.0005735/0.9063, allocations: 0.6889 MB / 0.712 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.9065, allocations: 31.94 kB / 0.7121 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.9065, allocations: 4 kB / 0.7121 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.13e-05/0.9066, allocations: 16 kB / 0.7121 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.9068, allocations: 3.984 kB / 0.7121 GB, free: 0.5898 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.9073, allocations: 102.9 kB / 0.7122 GB, free: 464 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.9077, allocations: 0.6887 MB / 0.7129 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.462e-05/0.9078, allocations: 0 / 0.7129 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.9078, allocations: 19.42 kB / 0.7129 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.9078, allocations: 4 kB / 0.7129 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.9316, allocations: 1.378 MB / 0.7142 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003741/0.9321, allocations: 178.6 kB / 0.7144 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.319, allocations: 3.938 kB / 0.7144 GB, free: 14.17 MB / 0.6042 GB