Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.894/3.894, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.981e-05/4.002e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.624/0.6241, allocations: 92.68 MB / 0.5896 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2226/0.8467, allocations: 127.9 MB / 0.7145 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.847, allocations: 75.95 kB / 0.7146 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03082/0.8779, allocations: 7.514 MB / 0.722 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8779, allocations: 0 / 0.722 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.563e-05/0.878, allocations: 16.12 kB / 0.722 GB, free: 6.699 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.001409/0.8794, allocations: 0.6443 MB / 0.7226 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.8795, allocations: 12.03 kB / 0.7226 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.8796, allocations: 82.47 kB / 0.7227 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.8798, allocations: 55.34 kB / 0.7227 GB, free: 5.852 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008085/0.8806, allocations: 392.3 kB / 0.7231 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.8807, allocations: 28.78 kB / 0.7231 GB, free: 5.402 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.36e-05/0.8808, allocations: 39.91 kB / 0.7232 GB, free: 5.363 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.8817, allocations: 393.7 kB / 0.7236 GB, free: 4.949 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.8818, allocations: 0 / 0.7236 GB, free: 4.949 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.8818, allocations: 19.95 kB / 0.7236 GB, free: 4.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.8819, allocations: 8 kB / 0.7236 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.8826, allocations: 249.5 kB / 0.7238 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.8854, allocations: 1.378 MB / 0.7252 GB, free: 3.227 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008792/0.8863, allocations: 298.7 kB / 0.7255 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.8867, allocations: 125.5 kB / 0.7256 GB, free: 2.801 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/0.8867, allocations: 4 kB / 0.7256 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004476/0.8872, allocations: 181.2 kB / 0.7257 GB, free: 2.605 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.377e-06/0.8872, allocations: 0 / 0.7257 GB, free: 2.605 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0007831/0.888, allocations: 279 kB / 0.726 GB, free: 2.328 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.8881, allocations: 140.5 kB / 0.7261 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.8887, allocations: 315.5 kB / 0.7265 GB, free: 1.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.8887, allocations: 41.69 kB / 0.7265 GB, free: 1.793 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.889, allocations: 228.8 kB / 0.7267 GB, free: 1.566 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.8891, allocations: 102.5 kB / 0.7268 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.8891, allocations: 4 kB / 0.7268 GB, free: 1.461 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.8893, allocations: 354.8 kB / 0.7271 GB, free: 1.105 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.8896, allocations: 91.98 kB / 0.7272 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.89, allocations: 163.9 kB / 0.7274 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.8903, allocations: 109.5 kB / 0.7275 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.8903, allocations: 0 / 0.7275 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007774/0.8911, allocations: 318.4 kB / 0.7278 GB, free: 420 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002249/0.8913, allocations: 457.8 kB / 0.7282 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.8913, allocations: 0 / 0.7282 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.8914, allocations: 7.938 kB / 0.7282 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.8919, allocations: 63.91 kB / 0.7283 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.892, allocations: 7.938 kB / 0.7283 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.8924, allocations: 55.66 kB / 0.7284 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.8924, allocations: 12 kB / 0.7284 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.8925, allocations: 4 kB / 0.7284 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006831/0.8932, allocations: 252 kB / 0.7286 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.8932, allocations: 0 / 0.7286 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.8932, allocations: 4 kB / 0.7286 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.8937, allocations: 63.91 kB / 0.7287 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.8937, allocations: 0 / 0.7287 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.8941, allocations: 43.86 kB / 0.7287 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.8942, allocations: 12 kB / 0.7287 GB, free: 15.41 MB / 0.6198 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.0001836/0.8943, allocations: 137.5 kB / 0.7289 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.8944, allocations: 39.53 kB / 0.7289 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.8946, allocations: 44.33 kB / 0.729 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.8946, allocations: 8 kB / 0.729 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.8947, allocations: 3.938 kB / 0.729 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.8947, allocations: 3.984 kB / 0.729 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.8964, allocations: 0.8224 MB / 0.7298 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.8964, allocations: 7.984 kB / 0.7298 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/0.8969, allocations: 55.91 kB / 0.7298 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.897, allocations: 3.984 kB / 0.7298 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.897, allocations: 12 kB / 0.7298 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.897, allocations: 0 / 0.7298 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.897, allocations: 0 / 0.7298 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.8982, allocations: 0.5027 MB / 0.7303 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.8985, allocations: 144.6 kB / 0.7305 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/0.8985, allocations: 7.984 kB / 0.7305 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.899, allocations: 39.89 kB / 0.7305 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.8991, allocations: 27.95 kB / 0.7305 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.8992, allocations: 8 kB / 0.7306 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004354/0.8996, allocations: 246.2 kB / 0.7308 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8996, allocations: 0 / 0.7308 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008105/0.9005, allocations: 151.6 kB / 0.7309 GB, free: 13.07 MB / 0.6198 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.001594/0.9021, allocations: 1.067 MB / 0.732 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.9033, allocations: 409.7 kB / 0.7324 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9034, allocations: 0 / 0.7324 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.9037, allocations: 124.4 kB / 0.7325 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/0.9045, allocations: 83.88 kB / 0.7326 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.9069, allocations: 0.6617 MB / 0.7332 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.9074, allocations: 0.8278 MB / 0.734 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005147/0.9079, allocations: 73.22 kB / 0.7341 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.9083, allocations: 135.4 kB / 0.7342 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/0.9083, allocations: 4 kB / 0.7342 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.9439, allocations: 8.055 MB / 0.7421 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/0.9443, allocations: 164.3 kB / 0.7422 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/3.806, allocations: 4 kB / 0.7422 GB, free: 1.414 MB / 0.6198 GB