Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.307/4.307, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.146e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2303, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.233, allocations: 138.2 MB / 0.8068 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004226/1.234, allocations: 77.36 kB / 0.8069 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02623/1.26, allocations: 6.894 MB / 0.8136 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.863e-06/1.26, allocations: 0 / 0.8136 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.085e-05/1.26, allocations: 7.75 kB / 0.8136 GB, free: 12.28 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.001041/1.261, allocations: 0.5962 MB / 0.8142 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/1.261, allocations: 11.62 kB / 0.8142 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.578e-05/1.261, allocations: 66.56 kB / 0.8143 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/1.261, allocations: 50.42 kB / 0.8143 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/1.262, allocations: 375.9 kB / 0.8147 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/1.262, allocations: 23.25 kB / 0.8147 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.821e-05/1.262, allocations: 29.66 kB / 0.8148 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/1.263, allocations: 343.6 kB / 0.8151 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/1.263, allocations: 0 / 0.8151 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/1.263, allocations: 13.12 kB / 0.8151 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/1.263, allocations: 11.61 kB / 0.8151 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000553/1.264, allocations: 202 kB / 0.8153 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/1.266, allocations: 1.24 MB / 0.8165 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/1.266, allocations: 232.6 kB / 0.8167 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/1.267, allocations: 101.9 kB / 0.8168 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/1.267, allocations: 7.984 kB / 0.8168 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/1.267, allocations: 30.97 kB / 0.8169 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 4.448e-06/1.267, allocations: 4 kB / 0.8169 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22): time 0.0005682/1.267, allocations: 224.8 kB / 0.8171 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/1.267, allocations: 158 kB / 0.8172 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/1.268, allocations: 306.2 kB / 0.8175 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/1.268, allocations: 29.14 kB / 0.8176 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/1.268, allocations: 217.3 kB / 0.8178 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.318e-05/1.268, allocations: 70.31 kB / 0.8178 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/1.268, allocations: 7.344 kB / 0.8178 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/1.268, allocations: 350.8 kB / 0.8182 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/1.268, allocations: 76.05 kB / 0.8182 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/1.269, allocations: 137.2 kB / 0.8184 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/1.269, allocations: 89.59 kB / 0.8185 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.269, allocations: 0 / 0.8185 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005487/1.27, allocations: 244.5 kB / 0.8187 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.27, allocations: 10.56 kB / 0.8187 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.27, allocations: 3.844 kB / 0.8187 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/1.27, allocations: 0 / 0.8187 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/1.27, allocations: 59.89 kB / 0.8188 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.27, allocations: 6.891 kB / 0.8188 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/1.271, allocations: 48.06 kB / 0.8188 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/1.271, allocations: 11.34 kB / 0.8188 GB, free: 9.609 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 0.0001137/1.271, allocations: 119.8 kB / 0.8189 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.062e-05/1.271, allocations: 34.59 kB / 0.819 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/1.271, allocations: 42.84 kB / 0.819 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.271, allocations: 3.812 kB / 0.819 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.271, allocations: 3.938 kB / 0.819 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.271, allocations: 0 / 0.819 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/1.272, allocations: 423.1 kB / 0.8194 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.272, allocations: 0 / 0.8194 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/1.272, allocations: 44.41 kB / 0.8195 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.272, allocations: 7.047 kB / 0.8195 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/1.272, allocations: 7.469 kB / 0.8195 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/1.272, allocations: 3.953 kB / 0.8195 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.272, allocations: 3.984 kB / 0.8195 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007365/1.273, allocations: 424.1 kB / 0.8199 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/1.273, allocations: 136.9 kB / 0.82 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/1.273, allocations: 6.828 kB / 0.82 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/1.274, allocations: 37.59 kB / 0.8201 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/1.274, allocations: 22.36 kB / 0.8201 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/1.274, allocations: 11.16 kB / 0.8201 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003117/1.274, allocations: 235.8 kB / 0.8203 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.274, allocations: 0 / 0.8203 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000477/1.274, allocations: 79.91 kB / 0.8204 GB, free: 8.867 MB / 0.6355 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.001311/1.276, allocations: 0.9627 MB / 0.8213 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004724/1.276, allocations: 179.3 kB / 0.8215 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.276, allocations: 0 / 0.8215 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/1.277, allocations: 99.66 kB / 0.8216 GB, free: 24.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006566/1.277, allocations: 73.83 kB / 0.8217 GB, free: 24.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/1.279, allocations: 0.5745 MB / 0.8222 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/1.279, allocations: 0.8009 MB / 0.823 GB, free: 23.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002521/1.28, allocations: 34.7 kB / 0.823 GB, free: 23.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/1.28, allocations: 124.2 kB / 0.8232 GB, free: 23.19 MB / 0.6511 GB Notification: Performance of SimCode: time 2.124e-06/1.28, allocations: 0 / 0.8232 GB, free: 23.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/1.314, allocations: 6.563 MB / 0.8296 GB, free: 20.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/1.314, allocations: 157.6 kB / 0.8297 GB, free: 20.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.83, allocations: 3.969 kB / 0.8297 GB, free: 20.41 MB / 0.6511 GB