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.806/3.806, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.925e-05/3.93e-05, allocations: 8 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5982/0.5983, allocations: 92.67 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2614/0.8598, allocations: 127.9 MB / 0.7145 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.8601, allocations: 75.95 kB / 0.7146 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03065/0.8908, allocations: 7.517 MB / 0.7219 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8909, allocations: 0 / 0.7219 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.833e-05/0.8909, allocations: 12 kB / 0.7219 GB, free: 6.773 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.001372/0.8923, allocations: 0.6483 MB / 0.7226 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.8924, allocations: 8.031 kB / 0.7226 GB, free: 6.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.8925, allocations: 82.42 kB / 0.7227 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.8927, allocations: 55.34 kB / 0.7227 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008004/0.8935, allocations: 396.3 kB / 0.7231 GB, free: 5.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.8935, allocations: 28.78 kB / 0.7231 GB, free: 5.473 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.667e-05/0.8936, allocations: 43.91 kB / 0.7232 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009407/0.8946, allocations: 395.2 kB / 0.7235 GB, free: 5.012 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.8946, allocations: 0 / 0.7235 GB, free: 5.012 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.8947, allocations: 19.95 kB / 0.7236 GB, free: 4.992 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.8947, allocations: 8 kB / 0.7236 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.8955, allocations: 255 kB / 0.7238 GB, free: 4.734 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.8983, allocations: 1.366 MB / 0.7251 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009078/0.8992, allocations: 310.7 kB / 0.7254 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.8995, allocations: 125.3 kB / 0.7256 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.981e-05/0.8996, allocations: 8 kB / 0.7256 GB, free: 2.848 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004481/0.9, allocations: 173.6 kB / 0.7257 GB, free: 2.664 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 4.829e-06/0.9001, allocations: 4 kB / 0.7257 GB, free: 2.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0007577/0.9008, allocations: 286.7 kB / 0.726 GB, free: 2.375 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/0.9009, allocations: 132.5 kB / 0.7261 GB, free: 2.215 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.9015, allocations: 315.5 kB / 0.7264 GB, free: 1.902 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.9015, allocations: 37.7 kB / 0.7265 GB, free: 1.859 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.9018, allocations: 232.8 kB / 0.7267 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.9019, allocations: 98.55 kB / 0.7268 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.902, allocations: 12 kB / 0.7268 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.9021, allocations: 346.8 kB / 0.7271 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.9024, allocations: 96 kB / 0.7272 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.9028, allocations: 175.7 kB / 0.7274 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.9031, allocations: 105.5 kB / 0.7275 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9031, allocations: 0 / 0.7275 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007855/0.9039, allocations: 326.2 kB / 0.7278 GB, free: 468 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.9041, allocations: 446.8 kB / 0.7282 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.9041, allocations: 4 kB / 0.7282 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.9042, allocations: 4 kB / 0.7282 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.9047, allocations: 63.91 kB / 0.7283 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.9048, allocations: 11.98 kB / 0.7283 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.9052, allocations: 47.67 kB / 0.7283 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.9052, allocations: 12 kB / 0.7284 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.9053, allocations: 4 kB / 0.7284 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006685/0.9059, allocations: 264.1 kB / 0.7286 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.906, allocations: 4 kB / 0.7286 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.906, allocations: 4 kB / 0.7286 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.9064, allocations: 63.91 kB / 0.7287 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.9065, allocations: 0 / 0.7287 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.9068, allocations: 43.67 kB / 0.7287 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.9069, allocations: 15.94 kB / 0.7287 GB, free: 15.46 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.0001747/0.9071, allocations: 128.9 kB / 0.7289 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.938e-05/0.9072, allocations: 43.53 kB / 0.7289 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.9073, allocations: 48.31 kB / 0.729 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.9073, allocations: 4 kB / 0.729 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9074, allocations: 0 / 0.729 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.9074, allocations: 0 / 0.729 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.909, allocations: 0.834 MB / 0.7298 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.909, allocations: 7.953 kB / 0.7298 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.9095, allocations: 51.91 kB / 0.7298 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.9095, allocations: 0 / 0.7298 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.9096, allocations: 8 kB / 0.7298 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.9096, allocations: 0 / 0.7298 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.9096, allocations: 7.922 kB / 0.7298 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.9107, allocations: 0.4989 MB / 0.7303 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.9109, allocations: 148.6 kB / 0.7305 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/0.911, allocations: 4 kB / 0.7305 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.9114, allocations: 39.81 kB / 0.7305 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.9115, allocations: 27.91 kB / 0.7305 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.9116, allocations: 12.03 kB / 0.7306 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003918/0.912, allocations: 246.2 kB / 0.7308 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.91e-07/0.912, allocations: 0 / 0.7308 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007029/0.9127, allocations: 151.5 kB / 0.7309 GB, free: 13.11 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.001425/0.9141, allocations: 1.069 MB / 0.732 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.9152, allocations: 413.8 kB / 0.7324 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.9152, allocations: 0 / 0.7324 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.9156, allocations: 131.9 kB / 0.7325 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.9163, allocations: 63.3 kB / 0.7326 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.9184, allocations: 0.6734 MB / 0.7332 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.9189, allocations: 0.8279 MB / 0.734 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005805/0.9195, allocations: 65.19 kB / 0.7341 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.9198, allocations: 143.4 kB / 0.7342 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of SimCode: time 3.035e-06/0.9198, allocations: 4 kB / 0.7342 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.956, allocations: 8.105 MB / 0.7421 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.9564, allocations: 165.6 kB / 0.7423 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/3.872, allocations: 0 / 0.7423 GB, free: 1.406 MB / 0.6198 GB