Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.746/3.746, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.747e-05, allocations: 10.91 kB / 0.4992 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.61/0.6101, allocations: 92.67 MB / 0.5896 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2213/0.8314, allocations: 121.5 MB / 0.7083 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.8318, allocations: 91.92 kB / 0.7084 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.00612/0.8379, allocations: 1.445 MB / 0.7098 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.838, allocations: 0 / 0.7098 GB, free: 3.148 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.838, allocations: 4 kB / 0.7098 GB, free: 3.145 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005619/0.8386, allocations: 370.3 kB / 0.7102 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.8386, allocations: 8.031 kB / 0.7102 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.8387, allocations: 46.55 kB / 0.7102 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.8388, allocations: 15.8 kB / 0.7102 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.8389, allocations: 171 kB / 0.7104 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.839, allocations: 8 kB / 0.7104 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.839, allocations: 8 kB / 0.7104 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.8392, allocations: 83.33 kB / 0.7105 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.8393, allocations: 0 / 0.7105 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.8393, allocations: 0 / 0.7105 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.8393, allocations: 7.953 kB / 0.7105 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.8395, allocations: 35.81 kB / 0.7105 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.8401, allocations: 320.7 kB / 0.7108 GB, free: 1.941 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.8403, allocations: 54.52 kB / 0.7109 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.8404, allocations: 16.86 kB / 0.7109 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.8404, allocations: 0 / 0.7109 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.8404, allocations: 34.59 kB / 0.7109 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.8405, allocations: 0 / 0.7109 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.000245/0.8407, allocations: 65.73 kB / 0.711 GB, free: 1.746 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.8408, allocations: 77.11 kB / 0.7111 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.8409, allocations: 117.3 kB / 0.7112 GB, free: 1.527 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.8409, allocations: 29.7 kB / 0.7112 GB, free: 1.492 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.841, allocations: 104 kB / 0.7113 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.8411, allocations: 7.906 kB / 0.7113 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.8411, allocations: 0 / 0.7113 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8412, allocations: 322.8 kB / 0.7116 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.8413, allocations: 12 kB / 0.7116 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.8414, allocations: 29.72 kB / 0.7117 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.8414, allocations: 16.02 kB / 0.7117 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8415, allocations: 0 / 0.7117 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001847/0.8417, allocations: 77.48 kB / 0.7118 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.8417, allocations: 7.984 kB / 0.7118 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8417, allocations: 4 kB / 0.7118 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.8417, allocations: 0 / 0.7118 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.8419, allocations: 8 kB / 0.7118 GB, free: 0.8906 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.8419, allocations: 3.984 kB / 0.7118 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.8421, allocations: 23.98 kB / 0.7118 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.8421, allocations: 0 / 0.7118 GB, free: 0.8633 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.771e-05/0.8422, allocations: 112.5 kB / 0.7119 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.8423, allocations: 11.86 kB / 0.7119 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.8423, allocations: 11.97 kB / 0.7119 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8423, allocations: 0 / 0.7119 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8423, allocations: 0 / 0.7119 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.8424, allocations: 4 kB / 0.7119 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.8426, allocations: 185.6 kB / 0.7121 GB, free: 500 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.8426, allocations: 4 kB / 0.7121 GB, free: 496 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.8428, allocations: 19.86 kB / 0.7121 GB, free: 476 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.8428, allocations: 4.188 kB / 0.7121 GB, free: 472 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.8428, allocations: 7.953 kB / 0.7121 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.8428, allocations: 0 / 0.7121 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8428, allocations: 0 / 0.7121 GB, free: 464 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.8431, allocations: 159.4 kB / 0.7123 GB, free: 288 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.8431, allocations: 89.02 kB / 0.7124 GB, free: 180 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.8432, allocations: 0 / 0.7124 GB, free: 180 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.8434, allocations: 19.94 kB / 0.7124 GB, free: 160 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.8435, allocations: 11.98 kB / 0.7124 GB, free: 148 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.8435, allocations: 0 / 0.7124 GB, free: 148 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.613e-05/0.8436, allocations: 103.8 kB / 0.7125 GB, free: 44 kB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8436, allocations: 0 / 0.7125 GB, free: 44 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003256/0.844, allocations: 15.94 kB / 0.7125 GB, free: 28 kB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005465/0.8445, allocations: 0.7043 MB / 0.7132 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.8447, allocations: 32 kB / 0.7132 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8447, allocations: 0 / 0.7132 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.8448, allocations: 16 kB / 0.7133 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.8451, allocations: 26.31 kB / 0.7133 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.8456, allocations: 126.4 kB / 0.7134 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.8459, allocations: 0.6965 MB / 0.7141 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.307e-05/0.846, allocations: 4.172 kB / 0.7141 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.8461, allocations: 23.42 kB / 0.7141 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/0.8461, allocations: 0 / 0.7141 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.8663, allocations: 1.695 MB / 0.7158 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/0.8666, allocations: 188 kB / 0.7159 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.253, allocations: 4 kB / 0.716 GB, free: 12.47 MB / 0.6042 GB