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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.631/4.631, allocations: 404.1 MB / 411.3 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.931e-05/4.933e-05, allocations: 11.98 kB / 0.4946 GB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8332/0.8333, allocations: 92.69 MB / 0.5851 GB, free: 2.293 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2428/1.076, allocations: 120.3 MB / 0.7026 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003831/1.077, allocations: 87.94 kB / 0.7027 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004455/1.081, allocations: 0.9566 MB / 0.7036 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.004e-06/1.081, allocations: 3.938 kB / 0.7036 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.081, allocations: 0 / 0.7036 GB, free: 8.773 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.0006226/1.082, allocations: 358.5 kB / 0.7039 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/1.082, allocations: 12.03 kB / 0.7039 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/1.082, allocations: 7.859 kB / 0.704 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/1.082, allocations: 171 kB / 0.7041 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/1.082, allocations: 0 / 0.7041 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/1.082, allocations: 7.984 kB / 0.7041 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001315/1.082, allocations: 20 kB / 0.7041 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/1.082, allocations: 53.67 kB / 0.7042 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.083, allocations: 0 / 0.7042 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/1.083, allocations: 0 / 0.7042 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.083, allocations: 3.953 kB / 0.7042 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/1.083, allocations: 269.3 kB / 0.7045 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/1.083, allocations: 38.58 kB / 0.7045 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/1.083, allocations: 16.89 kB / 0.7045 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/1.083, allocations: 0 / 0.7045 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/1.083, allocations: 30.56 kB / 0.7045 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/1.083, allocations: 0 / 0.7045 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002216/1.084, allocations: 53.78 kB / 0.7046 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/1.084, allocations: 55.34 kB / 0.7046 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/1.084, allocations: 105 kB / 0.7047 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/1.084, allocations: 25.7 kB / 0.7048 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/1.084, allocations: 92.05 kB / 0.7049 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/1.084, allocations: 11.84 kB / 0.7049 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/1.084, allocations: 0 / 0.7049 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.084, allocations: 318.8 kB / 0.7052 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/1.084, allocations: 8 kB / 0.7052 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/1.084, allocations: 29.72 kB / 0.7052 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.059e-05/1.084, allocations: 12.12 kB / 0.7052 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/1.084, allocations: 0 / 0.7052 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001643/1.085, allocations: 61.59 kB / 0.7053 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/1.085, allocations: 4 kB / 0.7053 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/1.085, allocations: 0 / 0.7053 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.085, allocations: 0 / 0.7053 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/1.085, allocations: 19.92 kB / 0.7053 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.085, allocations: 11.83 kB / 0.7053 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/1.085, allocations: 20.02 kB / 0.7053 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/1.085, allocations: 0 / 0.7053 GB, free: 6.789 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 0.000105/1.085, allocations: 105 kB / 0.7054 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001516/1.085, allocations: 49.69 kB / 0.7055 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/1.086, allocations: 3.906 kB / 0.7055 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/1.086, allocations: 65.95 kB / 0.7055 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.086, allocations: 11.95 kB / 0.7056 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.086, allocations: 0 / 0.7056 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.086, allocations: 0 / 0.7056 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/1.086, allocations: 142.2 kB / 0.7057 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.086, allocations: 0 / 0.7057 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/1.086, allocations: 11.98 kB / 0.7057 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.086, allocations: 0 / 0.7057 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/1.086, allocations: 4 kB / 0.7057 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.086, allocations: 0 / 0.7057 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.086, allocations: 0 / 0.7057 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/1.086, allocations: 163.5 kB / 0.7059 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/1.087, allocations: 77.11 kB / 0.7059 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/1.087, allocations: 0 / 0.7059 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/1.087, allocations: 15.98 kB / 0.706 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/1.087, allocations: 15.92 kB / 0.706 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/1.087, allocations: 4.062 kB / 0.706 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.697e-05/1.087, allocations: 91.23 kB / 0.7061 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.41e-07/1.087, allocations: 4 kB / 0.7061 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003727/1.087, allocations: 4 kB / 0.7061 GB, free: 5.938 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.0005592/1.088, allocations: 0.6888 MB / 0.7067 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001591/1.088, allocations: 28 kB / 0.7068 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.088, allocations: 0 / 0.7068 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/1.088, allocations: 19.94 kB / 0.7068 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/1.089, allocations: 3.984 kB / 0.7068 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/1.089, allocations: 105.5 kB / 0.7069 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/1.089, allocations: 0.6846 MB / 0.7076 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.408e-05/1.089, allocations: 4 kB / 0.7076 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/1.09, allocations: 19.42 kB / 0.7076 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of SimCode: time 1.012e-06/1.09, allocations: 0 / 0.7076 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/1.138, allocations: 1.055 MB / 0.7086 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003577/1.139, allocations: 156.4 kB / 0.7088 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.606/3.745, allocations: 0 / 0.7088 GB, free: 3.062 MB / 0.5886 GB