Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.379/4.379, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.843e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2869, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9579/1.245, allocations: 139.2 MB / 0.8078 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/1.245, allocations: 76.55 kB / 0.8079 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02864/1.274, allocations: 7.518 MB / 0.8153 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/1.274, allocations: 4 kB / 0.8153 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.245e-05/1.274, allocations: 11.06 kB / 0.8153 GB, free: 12.45 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001247/1.275, allocations: 0.6404 MB / 0.8159 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.275, allocations: 13.69 kB / 0.8159 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/1.275, allocations: 71.27 kB / 0.816 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/1.276, allocations: 64.36 kB / 0.816 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007177/1.276, allocations: 395.4 kB / 0.8164 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/1.276, allocations: 29.84 kB / 0.8164 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.224e-05/1.276, allocations: 33.78 kB / 0.8165 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008249/1.277, allocations: 388.8 kB / 0.8168 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/1.277, allocations: 0 / 0.8168 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.919e-05/1.277, allocations: 19.33 kB / 0.8169 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.277, allocations: 15.52 kB / 0.8169 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006202/1.278, allocations: 242.7 kB / 0.8171 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002532/1.281, allocations: 1.378 MB / 0.8185 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/1.281, allocations: 306 kB / 0.8187 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/1.282, allocations: 128 kB / 0.8189 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/1.282, allocations: 3.875 kB / 0.8189 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/1.282, allocations: 167.9 kB / 0.819 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 3.376e-06/1.282, allocations: 0 / 0.819 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.0006966/1.283, allocations: 284.1 kB / 0.8193 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/1.283, allocations: 139.4 kB / 0.8194 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/1.283, allocations: 311.5 kB / 0.8197 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/1.283, allocations: 36.45 kB / 0.8198 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/1.284, allocations: 231.9 kB / 0.82 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/1.284, allocations: 105.9 kB / 0.8201 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/1.284, allocations: 3.688 kB / 0.8201 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/1.284, allocations: 355.2 kB / 0.8204 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/1.284, allocations: 93.66 kB / 0.8205 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/1.284, allocations: 161.5 kB / 0.8207 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/1.285, allocations: 102.8 kB / 0.8208 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.285, allocations: 4 kB / 0.8208 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006851/1.285, allocations: 321.3 kB / 0.8211 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.285, allocations: 6.656 kB / 0.8211 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.285, allocations: 3.875 kB / 0.8211 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.286, allocations: 0 / 0.8211 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/1.286, allocations: 65.67 kB / 0.8212 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.286, allocations: 14.7 kB / 0.8212 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/1.286, allocations: 54.97 kB / 0.8212 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/1.287, allocations: 14.78 kB / 0.8212 GB, free: 9.73 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: 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.0001284/1.287, allocations: 126.1 kB / 0.8214 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/1.287, allocations: 38.81 kB / 0.8214 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/1.287, allocations: 44.41 kB / 0.8214 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/1.287, allocations: 7.844 kB / 0.8214 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.287, allocations: 0 / 0.8214 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.287, allocations: 3.094 kB / 0.8214 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/1.288, allocations: 0.829 MB / 0.8223 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.288, allocations: 0 / 0.8223 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/1.289, allocations: 50.28 kB / 0.8223 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.289, allocations: 3.906 kB / 0.8223 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/1.289, allocations: 10.19 kB / 0.8223 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/1.289, allocations: 3.938 kB / 0.8223 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.289, allocations: 7.75 kB / 0.8223 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/1.29, allocations: 0.5071 MB / 0.8228 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/1.29, allocations: 144.3 kB / 0.823 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/1.29, allocations: 7.562 kB / 0.823 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/1.291, allocations: 39.17 kB / 0.823 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.507e-05/1.291, allocations: 25.25 kB / 0.823 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/1.291, allocations: 7.312 kB / 0.823 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003321/1.291, allocations: 248.3 kB / 0.8233 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.291, allocations: 0 / 0.8233 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005246/1.292, allocations: 81.91 kB / 0.8234 GB, free: 8.875 MB / 0.6355 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.001616/1.293, allocations: 1.058 MB / 0.8244 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006525/1.294, allocations: 245.8 kB / 0.8246 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.294, allocations: 3.938 kB / 0.8246 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/1.294, allocations: 128.3 kB / 0.8247 GB, free: 24.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000768/1.295, allocations: 74.92 kB / 0.8248 GB, free: 24.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/1.297, allocations: 0.6572 MB / 0.8255 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/1.298, allocations: 0.8224 MB / 0.8263 GB, free: 23.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003127/1.298, allocations: 46.42 kB / 0.8263 GB, free: 23.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/1.298, allocations: 143.1 kB / 0.8264 GB, free: 23.07 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/1.298, allocations: 0 / 0.8264 GB, free: 23.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/1.333, allocations: 7.362 MB / 0.8336 GB, free: 19.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/1.333, allocations: 160.2 kB / 0.8338 GB, free: 19.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/4.062, allocations: 4 kB / 0.8338 GB, free: 19.34 MB / 0.6511 GB