Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.529/4.529, allocations: 404.2 MB / 411.3 MB, free: 412 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.506e-05/2.504e-05, allocations: 4 kB / 0.4945 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7072/0.7073, allocations: 92.68 MB / 0.585 GB, free: 2.285 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2954/1.003, allocations: 127.2 MB / 0.7093 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/1.003, allocations: 79.95 kB / 0.7094 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03697/1.04, allocations: 7.444 MB / 0.7166 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.824e-06/1.04, allocations: 0 / 0.7166 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.843e-05/1.04, allocations: 16.12 kB / 0.7167 GB, free: 11.32 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001526/1.042, allocations: 0.656 MB / 0.7173 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.042, allocations: 8.031 kB / 0.7173 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/1.042, allocations: 55.34 kB / 0.7174 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008921/1.043, allocations: 396.2 kB / 0.7177 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/1.043, allocations: 12 kB / 0.7177 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/1.043, allocations: 24.22 kB / 0.7178 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007804/1.044, allocations: 225.5 kB / 0.718 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009721/1.045, allocations: 349.6 kB / 0.7183 GB, free: 9.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/1.045, allocations: 3.953 kB / 0.7183 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/1.045, allocations: 0 / 0.7183 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/1.045, allocations: 15.98 kB / 0.7183 GB, free: 9.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003764/1.049, allocations: 1.295 MB / 0.7196 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009688/1.05, allocations: 288.3 kB / 0.7199 GB, free: 7.832 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/1.05, allocations: 117.4 kB / 0.72 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.503e-05/1.05, allocations: 7.984 kB / 0.72 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005022/1.051, allocations: 165.2 kB / 0.7202 GB, free: 7.531 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/1.051, allocations: 0 / 0.7202 GB, free: 7.531 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.000848/1.052, allocations: 259 kB / 0.7204 GB, free: 7.273 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/1.052, allocations: 140.5 kB / 0.7205 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/1.052, allocations: 270.3 kB / 0.7208 GB, free: 6.836 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/1.052, allocations: 29.7 kB / 0.7208 GB, free: 6.801 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/1.053, allocations: 240.9 kB / 0.721 GB, free: 6.559 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/1.053, allocations: 94.56 kB / 0.7211 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/1.053, allocations: 0 / 0.7211 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.053, allocations: 350.8 kB / 0.7215 GB, free: 6.113 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/1.053, allocations: 91.94 kB / 0.7216 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/1.054, allocations: 163.8 kB / 0.7217 GB, free: 5.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/1.054, allocations: 93.61 kB / 0.7218 GB, free: 5.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.054, allocations: 0 / 0.7218 GB, free: 5.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008102/1.055, allocations: 298.2 kB / 0.7221 GB, free: 5.453 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002256/1.055, allocations: 449.1 kB / 0.7225 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.055, allocations: 7.938 kB / 0.7225 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.055, allocations: 4 kB / 0.7225 GB, free: 4.969 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/1.056, allocations: 67.89 kB / 0.7226 GB, free: 4.902 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/1.056, allocations: 4 kB / 0.7226 GB, free: 4.898 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/1.056, allocations: 31.83 kB / 0.7226 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/1.056, allocations: 16 kB / 0.7226 GB, free: 4.852 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/1.056, allocations: 3.938 kB / 0.7226 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006498/1.057, allocations: 224.1 kB / 0.7229 GB, free: 4.629 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.057, allocations: 0 / 0.7229 GB, free: 4.629 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.057, allocations: 7.953 kB / 0.7229 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/1.058, allocations: 63.84 kB / 0.7229 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/1.058, allocations: 4 kB / 0.7229 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/1.058, allocations: 35.86 kB / 0.723 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/1.058, allocations: 12 kB / 0.723 GB, free: 4.508 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001637/1.058, allocations: 113 kB / 0.7231 GB, free: 4.391 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007003/1.059, allocations: 269 kB / 0.7233 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.488e-05/1.059, allocations: 35.58 kB / 0.7234 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/1.059, allocations: 36.5 kB / 0.7234 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/1.059, allocations: 8 kB / 0.7234 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.059, allocations: 0 / 0.7234 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.059, allocations: 3.984 kB / 0.7234 GB, free: 4.039 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/1.061, allocations: 0.7489 MB / 0.7242 GB, free: 3.246 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.061, allocations: 3.953 kB / 0.7242 GB, free: 3.242 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/1.062, allocations: 59.91 kB / 0.7242 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/1.062, allocations: 0 / 0.7242 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/1.062, allocations: 4 kB / 0.7242 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/1.062, allocations: 4 kB / 0.7242 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.062, allocations: 0 / 0.7242 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/1.063, allocations: 486.8 kB / 0.7247 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/1.063, allocations: 144.6 kB / 0.7248 GB, free: 2.523 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/1.063, allocations: 4 kB / 0.7248 GB, free: 2.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/1.064, allocations: 31.98 kB / 0.7249 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.064, allocations: 23.95 kB / 0.7249 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/1.064, allocations: 8 kB / 0.7249 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003378/1.064, allocations: 208.6 kB / 0.7251 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.11e-07/1.064, allocations: 4 kB / 0.7251 GB, free: 2.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008898/1.065, allocations: 147.3 kB / 0.7252 GB, free: 2.105 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00149/1.067, allocations: 1.033 MB / 0.7262 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00105/1.068, allocations: 389.9 kB / 0.7266 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.068, allocations: 0 / 0.7266 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/1.068, allocations: 123.9 kB / 0.7267 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009695/1.069, allocations: 62.42 kB / 0.7268 GB, free: 500 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/1.072, allocations: 0.6571 MB / 0.7274 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/1.073, allocations: 0.8239 MB / 0.7282 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007337/1.074, allocations: 63.23 kB / 0.7283 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/1.074, allocations: 143.4 kB / 0.7284 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of SimCode: time 1.182e-06/1.074, allocations: 0 / 0.7284 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2558/1.33, allocations: 7.27 MB / 0.7355 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0007462/1.331, allocations: 144.5 kB / 0.7357 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.029/4.36, allocations: 0 / 0.7357 GB, free: 7.332 MB / 0.6198 GB