Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.173/4.173, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.731e-05, allocations: 2.594 kB / 0.5338 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2344, allocations: 98.72 MB / 0.6302 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3136/0.548, allocations: 131.2 MB / 0.7583 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/0.5484, allocations: 75.95 kB / 0.7584 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03007/0.5785, allocations: 6.896 MB / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5786, allocations: 0 / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.71e-05/0.5786, allocations: 15.94 kB / 0.7651 GB, free: 11.79 MB / 0.6511 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.001277/0.5799, allocations: 0.5959 MB / 0.7657 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.58, allocations: 8.031 kB / 0.7657 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.5801, allocations: 74.47 kB / 0.7658 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.5803, allocations: 51.39 kB / 0.7658 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007949/0.5811, allocations: 380.3 kB / 0.7662 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.5811, allocations: 24.78 kB / 0.7662 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.351e-05/0.5812, allocations: 32 kB / 0.7662 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008244/0.5821, allocations: 338.1 kB / 0.7666 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.251e-05/0.5821, allocations: 0 / 0.7666 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/0.5822, allocations: 12 kB / 0.7666 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.5822, allocations: 12 kB / 0.7666 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006001/0.5828, allocations: 197.1 kB / 0.7668 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002736/0.5856, allocations: 1.252 MB / 0.768 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/0.5864, allocations: 227.2 kB / 0.7682 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.5867, allocations: 101.2 kB / 0.7683 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.324e-05/0.5868, allocations: 4.188 kB / 0.7683 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.5868, allocations: 42.69 kB / 0.7684 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 3.136e-06/0.5869, allocations: 0 / 0.7684 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22): time 0.0006848/0.5875, allocations: 221.8 kB / 0.7686 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.5877, allocations: 154.2 kB / 0.7687 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.5883, allocations: 303.6 kB / 0.769 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/0.5883, allocations: 33.64 kB / 0.769 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.5886, allocations: 216.1 kB / 0.7693 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.5887, allocations: 78.89 kB / 0.7693 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.5888, allocations: 4 kB / 0.7693 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.5889, allocations: 346.8 kB / 0.7697 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.5892, allocations: 72 kB / 0.7697 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.5895, allocations: 135.7 kB / 0.7699 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.5898, allocations: 86.98 kB / 0.7699 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5899, allocations: 3.938 kB / 0.7699 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007634/0.5906, allocations: 249.2 kB / 0.7702 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002611/0.5909, allocations: 453.1 kB / 0.7706 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5909, allocations: 0 / 0.7706 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.591, allocations: 11.95 kB / 0.7706 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.5915, allocations: 59.84 kB / 0.7707 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.5915, allocations: 7.938 kB / 0.7707 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.592, allocations: 51.66 kB / 0.7707 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.5921, allocations: 8 kB / 0.7707 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5921, allocations: 5.875 kB / 0.7708 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005641/0.5927, allocations: 190.4 kB / 0.7709 GB, free: 5.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5927, allocations: 0 / 0.7709 GB, free: 5.477 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5927, allocations: 7.984 kB / 0.7709 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.5931, allocations: 43.98 kB / 0.771 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.5932, allocations: 7.938 kB / 0.771 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.5935, allocations: 39.95 kB / 0.771 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.5936, allocations: 4 kB / 0.771 GB, free: 5.375 MB / 0.6511 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.0001644/0.5938, allocations: 124.9 kB / 0.7712 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5939, allocations: 35.53 kB / 0.7712 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.594, allocations: 39.25 kB / 0.7712 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.594, allocations: 7.938 kB / 0.7712 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.5941, allocations: 4 kB / 0.7712 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5941, allocations: 48 / 0.7712 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.5948, allocations: 421.2 kB / 0.7716 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5949, allocations: 4 kB / 0.7716 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.5953, allocations: 47.97 kB / 0.7717 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.5954, allocations: 0 / 0.7717 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.5954, allocations: 0 / 0.7717 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.729e-06/0.5954, allocations: 7.984 kB / 0.7717 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.5954, allocations: 0 / 0.7717 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.5963, allocations: 431.4 kB / 0.7721 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.5966, allocations: 140.6 kB / 0.7722 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.5967, allocations: 4 kB / 0.7722 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.5971, allocations: 27.98 kB / 0.7723 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.5972, allocations: 20.03 kB / 0.7723 GB, free: 4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.5972, allocations: 8 kB / 0.7723 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004191/0.5977, allocations: 242.2 kB / 0.7725 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.92e-07/0.5977, allocations: 0 / 0.7725 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007501/0.5984, allocations: 131.5 kB / 0.7727 GB, free: 3.629 MB / 0.6511 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.001268/0.5997, allocations: 0.962 MB / 0.7736 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008636/0.6006, allocations: 297.9 kB / 0.7739 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6006, allocations: 3.938 kB / 0.7739 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.6009, allocations: 102.2 kB / 0.774 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007665/0.6017, allocations: 73.8 kB / 0.774 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.6038, allocations: 0.5861 MB / 0.7746 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.6043, allocations: 0.8038 MB / 0.7754 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004585/0.6048, allocations: 56.23 kB / 0.7755 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.6051, allocations: 119.4 kB / 0.7756 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/0.6051, allocations: 0 / 0.7756 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5653/1.17, allocations: 7.227 MB / 0.7826 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/1.171, allocations: 155.8 kB / 0.7828 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/3.87, allocations: 0 / 0.7828 GB, free: 138.1 MB / 0.6511 GB