Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.415/4.415, allocations: 464.6 MB / 476.8 MB, free: 2.109 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.553e-05/4.577e-05, allocations: 13.03 kB / 0.5732 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2492, allocations: 107.1 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8891/1.138, allocations: 132.2 MB / 0.807 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.139, allocations: 67.67 kB / 0.807 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01019/1.149, allocations: 2.133 MB / 0.8091 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.149, allocations: 0 / 0.8091 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.228e-06/1.149, allocations: 0 / 0.8091 GB, free: 11.77 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.001255/1.15, allocations: 482.3 kB / 0.8096 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.15, allocations: 11.66 kB / 0.8096 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/1.15, allocations: 41.16 kB / 0.8096 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/1.15, allocations: 11.62 kB / 0.8097 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/1.151, allocations: 197.2 kB / 0.8098 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/1.151, allocations: 11.53 kB / 0.8099 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/1.151, allocations: 11.19 kB / 0.8099 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/1.151, allocations: 124.3 kB / 0.81 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.151, allocations: 3.938 kB / 0.81 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/1.151, allocations: 10.25 kB / 0.81 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/1.151, allocations: 0 / 0.81 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/1.151, allocations: 64.48 kB / 0.8101 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/1.153, allocations: 0.6037 MB / 0.8106 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/1.153, allocations: 121.2 kB / 0.8108 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/1.153, allocations: 62.59 kB / 0.8108 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/1.153, allocations: 3.812 kB / 0.8108 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/1.154, allocations: 141.8 kB / 0.811 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.136e-06/1.154, allocations: 0 / 0.811 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004513/1.154, allocations: 134.7 kB / 0.8111 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.154, allocations: 110.1 kB / 0.8112 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/1.154, allocations: 151.8 kB / 0.8113 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/1.154, allocations: 36.05 kB / 0.8114 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/1.154, allocations: 109.4 kB / 0.8115 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/1.155, allocations: 40.52 kB / 0.8115 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/1.155, allocations: 3.625 kB / 0.8115 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.088e-05/1.155, allocations: 327.9 kB / 0.8118 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/1.155, allocations: 52.38 kB / 0.8119 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/1.155, allocations: 93.72 kB / 0.812 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/1.155, allocations: 43.14 kB / 0.812 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.155, allocations: 0 / 0.812 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004256/1.156, allocations: 175.6 kB / 0.8122 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.156, allocations: 7.875 kB / 0.8122 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.156, allocations: 4.547 kB / 0.8122 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.156, allocations: 3.906 kB / 0.8122 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/1.156, allocations: 46.97 kB / 0.8122 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.156, allocations: 0 / 0.8122 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/1.157, allocations: 66.39 kB / 0.8123 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/1.157, allocations: 3.688 kB / 0.8123 GB, free: 9.582 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.0001184/1.157, allocations: 122.9 kB / 0.8124 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/1.157, allocations: 23.11 kB / 0.8124 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/1.157, allocations: 78.8 kB / 0.8125 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.157, allocations: 3.781 kB / 0.8125 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.157, allocations: 3.938 kB / 0.8125 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.157, allocations: 3 kB / 0.8125 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/1.158, allocations: 223 kB / 0.8127 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.158, allocations: 0 / 0.8127 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/1.158, allocations: 41.77 kB / 0.8128 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/1.158, allocations: 0 / 0.8128 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/1.158, allocations: 10.64 kB / 0.8128 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.158, allocations: 2.812 kB / 0.8128 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.158, allocations: 3.844 kB / 0.8128 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/1.158, allocations: 194.2 kB / 0.813 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/1.158, allocations: 91.47 kB / 0.8131 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/1.159, allocations: 7.469 kB / 0.8131 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/1.159, allocations: 52.77 kB / 0.8131 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/1.159, allocations: 41.08 kB / 0.8132 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/1.159, allocations: 9.953 kB / 0.8132 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001009/1.159, allocations: 121.8 kB / 0.8133 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.603e-06/1.159, allocations: 0 / 0.8133 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003524/1.16, allocations: 37.03 kB / 0.8133 GB, free: 8.895 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.001234/1.161, allocations: 0.8914 MB / 0.8142 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004379/1.161, allocations: 120.7 kB / 0.8143 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.161, allocations: 0 / 0.8143 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/1.162, allocations: 67.81 kB / 0.8144 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/1.162, allocations: 20.73 kB / 0.8144 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008799/1.163, allocations: 229.3 kB / 0.8146 GB, free: 23.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/1.163, allocations: 0.7173 MB / 0.8153 GB, free: 23.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001635/1.163, allocations: 18.39 kB / 0.8153 GB, free: 23.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/1.164, allocations: 48.02 kB / 0.8154 GB, free: 23.22 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/1.164, allocations: 0 / 0.8154 GB, free: 23.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/1.192, allocations: 3.558 MB / 0.8189 GB, free: 22.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/1.193, allocations: 163.8 kB / 0.819 GB, free: 22.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.663, allocations: 0 / 0.819 GB, free: 22.65 MB / 0.6511 GB