Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.704/4.704, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.441e-05, allocations: 1.094 kB / 0.5732 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2333, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8388/1.072, allocations: 138.5 MB / 0.8131 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.072, allocations: 75.84 kB / 0.8132 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02599/1.098, allocations: 6.867 MB / 0.8199 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/1.098, allocations: 0 / 0.8199 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.064e-05/1.099, allocations: 7.656 kB / 0.8199 GB, free: 11.19 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001066/1.1, allocations: 0.5995 MB / 0.8205 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.1, allocations: 11.59 kB / 0.8205 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.025e-05/1.1, allocations: 66.81 kB / 0.8206 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/1.1, allocations: 46.66 kB / 0.8206 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/1.101, allocations: 380.7 kB / 0.821 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/1.101, allocations: 19.59 kB / 0.821 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/1.101, allocations: 30 kB / 0.821 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006874/1.101, allocations: 341.8 kB / 0.8213 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/1.101, allocations: 0 / 0.8213 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/1.101, allocations: 13.53 kB / 0.8214 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/1.101, allocations: 3.844 kB / 0.8214 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005133/1.102, allocations: 200.4 kB / 0.8216 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/1.104, allocations: 1.248 MB / 0.8228 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/1.105, allocations: 237.4 kB / 0.823 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/1.105, allocations: 102.2 kB / 0.8231 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/1.105, allocations: 4.031 kB / 0.8231 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/1.105, allocations: 34.69 kB / 0.8231 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 2.885e-06/1.105, allocations: 4 kB / 0.8231 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22): time 0.0005432/1.106, allocations: 226.1 kB / 0.8233 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/1.106, allocations: 160.8 kB / 0.8235 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/1.106, allocations: 303.6 kB / 0.8238 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/1.106, allocations: 28.33 kB / 0.8238 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/1.106, allocations: 213.6 kB / 0.824 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/1.106, allocations: 81.14 kB / 0.8241 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/1.107, allocations: 7.375 kB / 0.8241 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/1.107, allocations: 349.1 kB / 0.8244 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/1.107, allocations: 71.97 kB / 0.8245 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/1.107, allocations: 141.7 kB / 0.8246 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/1.107, allocations: 83.28 kB / 0.8247 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.107, allocations: 0 / 0.8247 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005249/1.108, allocations: 251.9 kB / 0.825 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.108, allocations: 3.875 kB / 0.825 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.108, allocations: 3.969 kB / 0.825 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.108, allocations: 0 / 0.825 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/1.108, allocations: 62.53 kB / 0.825 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.108, allocations: 7.922 kB / 0.825 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003808/1.109, allocations: 53.88 kB / 0.8251 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/1.109, allocations: 7.75 kB / 0.8251 GB, free: 8.438 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 9.902e-05/1.109, allocations: 120 kB / 0.8252 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.702e-05/1.109, allocations: 35 kB / 0.8252 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/1.109, allocations: 40.16 kB / 0.8253 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.109, allocations: 3.969 kB / 0.8253 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.109, allocations: 0 / 0.8253 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.109, allocations: 7.938 kB / 0.8253 GB, free: 8.289 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/1.11, allocations: 407.1 kB / 0.8257 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.11, allocations: 0 / 0.8257 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/1.11, allocations: 50.19 kB / 0.8257 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.11, allocations: 4 kB / 0.8257 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/1.11, allocations: 4.438 kB / 0.8257 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.11, allocations: 3.812 kB / 0.8257 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.11, allocations: 0 / 0.8257 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007038/1.111, allocations: 420.6 kB / 0.8261 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/1.111, allocations: 140.4 kB / 0.8263 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/1.111, allocations: 7.031 kB / 0.8263 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/1.112, allocations: 31.09 kB / 0.8263 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/1.112, allocations: 19.47 kB / 0.8263 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/1.112, allocations: 3.844 kB / 0.8263 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005693/1.112, allocations: 241.3 kB / 0.8266 GB, free: 23.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.112, allocations: 0 / 0.8266 GB, free: 23.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004729/1.113, allocations: 77.16 kB / 0.8266 GB, free: 23.59 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.001104/1.114, allocations: 0.9643 MB / 0.8276 GB, free: 22.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000466/1.114, allocations: 190.6 kB / 0.8278 GB, free: 22.87 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.114, allocations: 0 / 0.8278 GB, free: 22.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/1.115, allocations: 97.31 kB / 0.8279 GB, free: 22.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/1.115, allocations: 78.69 kB / 0.8279 GB, free: 22.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/1.117, allocations: 0.5724 MB / 0.8285 GB, free: 22.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/1.117, allocations: 0.7998 MB / 0.8293 GB, free: 21.76 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002419/1.118, allocations: 42.23 kB / 0.8293 GB, free: 21.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/1.118, allocations: 118.5 kB / 0.8294 GB, free: 21.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.213e-06/1.118, allocations: 0 / 0.8294 GB, free: 21.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/1.149, allocations: 6.562 MB / 0.8358 GB, free: 18.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/1.15, allocations: 163.9 kB / 0.836 GB, free: 18.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.825, allocations: 0 / 0.836 GB, free: 18.39 MB / 0.6511 GB