Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.306/4.306, allocations: 460.4 MB / 472.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.579e-05/4.589e-05, allocations: 8 kB / 0.5682 GB, free: 10.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2423, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8766/1.119, allocations: 131.8 MB / 0.8007 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.119, allocations: 74.08 kB / 0.8008 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01028/1.13, allocations: 2.138 MB / 0.8028 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/1.13, allocations: 0 / 0.8028 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.167e-06/1.13, allocations: 3.844 kB / 0.8028 GB, free: 12.29 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001228/1.131, allocations: 478.4 kB / 0.8033 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.131, allocations: 15.53 kB / 0.8033 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/1.131, allocations: 40.12 kB / 0.8034 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/1.131, allocations: 19.45 kB / 0.8034 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/1.131, allocations: 183.6 kB / 0.8036 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/1.131, allocations: 11.31 kB / 0.8036 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/1.131, allocations: 12.56 kB / 0.8036 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/1.132, allocations: 130.2 kB / 0.8037 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/1.132, allocations: 3.953 kB / 0.8037 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/1.132, allocations: 11.19 kB / 0.8037 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/1.132, allocations: 3.844 kB / 0.8037 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/1.132, allocations: 63.73 kB / 0.8038 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/1.133, allocations: 0.5989 MB / 0.8044 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/1.134, allocations: 128.2 kB / 0.8045 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/1.134, allocations: 49.34 kB / 0.8045 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/1.134, allocations: 0 / 0.8045 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003222/1.134, allocations: 144.5 kB / 0.8047 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.404e-06/1.134, allocations: 0 / 0.8047 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004211/1.135, allocations: 132 kB / 0.8048 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/1.135, allocations: 106.7 kB / 0.8049 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/1.135, allocations: 153.7 kB / 0.805 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/1.135, allocations: 32.98 kB / 0.8051 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/1.135, allocations: 109.8 kB / 0.8052 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/1.135, allocations: 44.11 kB / 0.8052 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/1.135, allocations: 7.438 kB / 0.8052 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/1.135, allocations: 330.8 kB / 0.8055 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/1.135, allocations: 53.97 kB / 0.8056 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/1.135, allocations: 90.64 kB / 0.8057 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/1.136, allocations: 36.97 kB / 0.8057 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.136, allocations: 4 kB / 0.8057 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004025/1.136, allocations: 171 kB / 0.8059 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.136, allocations: 3.844 kB / 0.8059 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.136, allocations: 3.781 kB / 0.8059 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.136, allocations: 0 / 0.8059 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/1.137, allocations: 47.75 kB / 0.8059 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.137, allocations: 6.859 kB / 0.8059 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/1.137, allocations: 73.02 kB / 0.806 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/1.137, allocations: 3.844 kB / 0.806 GB, free: 10.09 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.hysteresis.y,hysteresis.y,$whenCondition2,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001012/1.137, allocations: 134.8 kB / 0.8061 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/1.137, allocations: 15.5 kB / 0.8062 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/1.138, allocations: 74.95 kB / 0.8062 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.138, allocations: 3.688 kB / 0.8062 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.603e-05/1.138, allocations: 0 / 0.8062 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.138, allocations: 0 / 0.8062 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/1.138, allocations: 226.5 kB / 0.8065 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.138, allocations: 3.875 kB / 0.8065 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/1.138, allocations: 35.88 kB / 0.8065 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.138, allocations: 3.844 kB / 0.8065 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/1.138, allocations: 5.781 kB / 0.8065 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/1.138, allocations: 7.75 kB / 0.8065 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.138, allocations: 0 / 0.8065 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/1.139, allocations: 200 kB / 0.8067 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/1.139, allocations: 88.77 kB / 0.8068 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/1.139, allocations: 3.438 kB / 0.8068 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/1.139, allocations: 51.19 kB / 0.8068 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/1.139, allocations: 42.73 kB / 0.8069 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/1.139, allocations: 13.83 kB / 0.8069 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.7e-05/1.139, allocations: 114 kB / 0.807 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.493e-06/1.139, allocations: 0 / 0.807 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003634/1.14, allocations: 37.48 kB / 0.807 GB, free: 9.414 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,hysteresis1.y,pul.T_start,pul.count,$whenCondition1,hysteresis2.y,pul1.T_start,pul1.count,hysteresis.y) * Number of discrete states: 5 (hysteresis.y,pul1.count,hysteresis2.y,pul.count,hysteresis1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001132/1.141, allocations: 0.8829 MB / 0.8079 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004351/1.141, allocations: 127.6 kB / 0.808 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/1.141, allocations: 192 / 0.808 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/1.142, allocations: 72.97 kB / 0.8081 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/1.142, allocations: 27.62 kB / 0.8081 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/1.143, allocations: 236.5 kB / 0.8083 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/1.143, allocations: 0.7132 MB / 0.809 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001547/1.143, allocations: 18.59 kB / 0.8091 GB, free: 23.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.144, allocations: 47.34 kB / 0.8091 GB, free: 23.74 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/1.144, allocations: 0 / 0.8091 GB, free: 23.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/1.167, allocations: 3.555 MB / 0.8126 GB, free: 23.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.167, allocations: 158.7 kB / 0.8127 GB, free: 23.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.42/3.588, allocations: 3.969 kB / 0.8127 GB, free: 23.16 MB / 0.6511 GB