Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.947/4.947, allocations: 404.1 MB / 411.3 MB, free: 400 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.244e-05, allocations: 0 / 0.4945 GB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6845/0.6846, allocations: 92.69 MB / 0.585 GB, free: 2.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2563/0.941, allocations: 126.2 MB / 0.7083 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/0.9414, allocations: 87.89 kB / 0.7083 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03511/0.9765, allocations: 6.817 MB / 0.715 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9766, allocations: 0 / 0.715 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.935e-05/0.9767, allocations: 8 kB / 0.715 GB, free: 13.09 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001362/0.978, allocations: 0.6075 MB / 0.7156 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.9781, allocations: 12.03 kB / 0.7156 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.9783, allocations: 47.44 kB / 0.7157 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008683/0.9791, allocations: 384.2 kB / 0.716 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.9792, allocations: 12.22 kB / 0.716 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/0.9793, allocations: 20 kB / 0.7161 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006777/0.98, allocations: 189.5 kB / 0.7162 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008893/0.9809, allocations: 294.1 kB / 0.7165 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.9809, allocations: 15.94 kB / 0.7165 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/0.981, allocations: 0 / 0.7165 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.9811, allocations: 8 kB / 0.7165 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.9839, allocations: 1.174 MB / 0.7177 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008146/0.9847, allocations: 233.3 kB / 0.7179 GB, free: 9.934 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.985, allocations: 89.23 kB / 0.718 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.9851, allocations: 12.14 kB / 0.718 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.9852, allocations: 34.75 kB / 0.718 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.817e-06/0.9852, allocations: 0 / 0.718 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0007061/0.9859, allocations: 204.2 kB / 0.7182 GB, free: 9.586 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.986, allocations: 158.2 kB / 0.7184 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.9865, allocations: 266.3 kB / 0.7186 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.9866, allocations: 25.7 kB / 0.7187 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.9869, allocations: 220 kB / 0.7189 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.987, allocations: 78.91 kB / 0.7189 GB, free: 8.801 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.987, allocations: 0 / 0.7189 GB, free: 8.801 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.9872, allocations: 342.8 kB / 0.7193 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.9875, allocations: 71.94 kB / 0.7193 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.9878, allocations: 139.7 kB / 0.7195 GB, free: 8.223 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.9881, allocations: 82.75 kB / 0.7196 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.9881, allocations: 0 / 0.7196 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006828/0.9888, allocations: 237.1 kB / 0.7198 GB, free: 7.906 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002617/0.9891, allocations: 449.1 kB / 0.7202 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.9891, allocations: 0 / 0.7202 GB, free: 7.434 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.9891, allocations: 11.95 kB / 0.7202 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.9899, allocations: 51.91 kB / 0.7203 GB, free: 7.371 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.26e-05/0.99, allocations: 4 kB / 0.7203 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007485/0.9908, allocations: 35.81 kB / 0.7203 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.9909, allocations: 16 kB / 0.7203 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.9909, allocations: 4 kB / 0.7203 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009774/0.9919, allocations: 170.2 kB / 0.7205 GB, free: 7.148 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.992, allocations: 3.984 kB / 0.7205 GB, free: 7.145 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.992, allocations: 4 kB / 0.7205 GB, free: 7.141 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.9925, allocations: 47.92 kB / 0.7205 GB, free: 7.094 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.9925, allocations: 4 kB / 0.7205 GB, free: 7.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.9929, allocations: 31.95 kB / 0.7206 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.993, allocations: 11.98 kB / 0.7206 GB, free: 7.047 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: 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.0001566/0.9931, allocations: 108.9 kB / 0.7207 GB, free: 6.934 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005899/0.9937, allocations: 206.5 kB / 0.7209 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/0.9938, allocations: 35.66 kB / 0.7209 GB, free: 6.691 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.994, allocations: 35.06 kB / 0.721 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.994, allocations: 4 kB / 0.721 GB, free: 6.648 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9941, allocations: 4 kB / 0.721 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.9941, allocations: 3.984 kB / 0.721 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008432/0.9949, allocations: 365.7 kB / 0.7213 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.995, allocations: 0 / 0.7213 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007642/0.9957, allocations: 47.97 kB / 0.7214 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.9958, allocations: 4 kB / 0.7214 GB, free: 6.195 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.9958, allocations: 4 kB / 0.7214 GB, free: 6.191 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.9959, allocations: 0 / 0.7214 GB, free: 6.191 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.9959, allocations: 3.938 kB / 0.7214 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.9974, allocations: 408.3 kB / 0.7218 GB, free: 5.773 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.9976, allocations: 132.7 kB / 0.7219 GB, free: 5.625 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.28e-05/0.9977, allocations: 0 / 0.7219 GB, free: 5.625 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.9982, allocations: 28.03 kB / 0.7219 GB, free: 5.598 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.9983, allocations: 23.97 kB / 0.7219 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.9983, allocations: 4 kB / 0.7219 GB, free: 5.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003712/0.9987, allocations: 208.6 kB / 0.7221 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9987, allocations: 0 / 0.7221 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008138/0.9995, allocations: 123.4 kB / 0.7223 GB, free: 5.246 MB / 0.6042 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.001298/1.001, allocations: 0.9437 MB / 0.7232 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008574/1.002, allocations: 290.7 kB / 0.7235 GB, free: 3.996 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.002, allocations: 0 / 0.7235 GB, free: 3.996 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/1.002, allocations: 91.92 kB / 0.7235 GB, free: 3.906 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/1.003, allocations: 63.23 kB / 0.7236 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/1.006, allocations: 0.5733 MB / 0.7242 GB, free: 3.238 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007814/1.007, allocations: 0.8035 MB / 0.7249 GB, free: 2.406 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005043/1.007, allocations: 56.55 kB / 0.725 GB, free: 2.348 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/1.008, allocations: 115.4 kB / 0.7251 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of SimCode: time 1.132e-06/1.008, allocations: 0 / 0.7251 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4062/1.414, allocations: 6.465 MB / 0.7314 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.001162/1.415, allocations: 141.5 kB / 0.7316 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.251/4.667, allocations: 4 kB / 0.7316 GB, free: 11.63 MB / 0.6198 GB