Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.882/3.882, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.1e-05/5.111e-05, allocations: 11.88 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6455/0.6456, allocations: 92.67 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.239/0.8847, allocations: 123.3 MB / 0.7101 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.8851, allocations: 87.94 kB / 0.7102 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03734/0.9225, allocations: 7.2 MB / 0.7172 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9225, allocations: 0 / 0.7172 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.39e-05/0.9226, allocations: 8 kB / 0.7172 GB, free: 11.63 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003735/0.9263, allocations: 0.8831 MB / 0.7181 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.9264, allocations: 8.031 kB / 0.7181 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001833/0.9266, allocations: 74.53 kB / 0.7182 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.9269, allocations: 51.42 kB / 0.7182 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.9279, allocations: 375.8 kB / 0.7186 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.928, allocations: 33.45 kB / 0.7186 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.9281, allocations: 36 kB / 0.7186 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.9298, allocations: 0.5449 MB / 0.7192 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.9299, allocations: 0 / 0.7192 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/0.93, allocations: 27.98 kB / 0.7192 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.93, allocations: 8 kB / 0.7192 GB, free: 9.469 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.9314, allocations: 412.1 kB / 0.7196 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005193/0.9366, allocations: 1.657 MB / 0.7212 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.9472, allocations: 0.6873 MB / 0.7219 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/0.9481, allocations: 273.4 kB / 0.7221 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.299e-05/0.9481, allocations: 11.88 kB / 0.7221 GB, free: 6.301 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.9495, allocations: 469.4 kB / 0.7226 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 4.127e-06/0.9495, allocations: 0 / 0.7226 GB, free: 5.816 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.002273/0.9518, allocations: 0.6062 MB / 0.7232 GB, free: 5.203 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002245/0.952, allocations: 281 kB / 0.7235 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009051/0.953, allocations: 387.4 kB / 0.7238 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.9531, allocations: 49.69 kB / 0.7239 GB, free: 4.426 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00827/0.9614, allocations: 197 kB / 0.7241 GB, free: 4.227 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.9617, allocations: 122.5 kB / 0.7242 GB, free: 4.105 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.9618, allocations: 8 kB / 0.7242 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002351/0.962, allocations: 366.7 kB / 0.7245 GB, free: 3.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.9627, allocations: 201 kB / 0.7247 GB, free: 3.535 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009421/0.9637, allocations: 388.9 kB / 0.7251 GB, free: 3.086 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008192/0.9645, allocations: 273.4 kB / 0.7254 GB, free: 2.812 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.9645, allocations: 0 / 0.7254 GB, free: 2.812 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.006241/0.9708, allocations: 0.6232 MB / 0.726 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001075/0.9719, allocations: 1.861 MB / 0.7278 GB, free: 172 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.972, allocations: 8 kB / 0.7278 GB, free: 164 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.903e-05/0.972, allocations: 8 kB / 0.7278 GB, free: 156 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009922/0.973, allocations: 111.8 kB / 0.7279 GB, free: 44 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-05/0.9731, allocations: 11.94 kB / 0.7279 GB, free: 32 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005099/0.9782, allocations: 111.7 kB / 0.728 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.9783, allocations: 24 kB / 0.728 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.9783, allocations: 4 kB / 0.7281 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001814/0.9801, allocations: 0.5322 MB / 0.7286 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.9802, allocations: 4 kB / 0.7286 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.9802, allocations: 8 kB / 0.7286 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.9809, allocations: 76.38 kB / 0.7287 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.9809, allocations: 15.94 kB / 0.7287 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008776/0.9818, allocations: 75.62 kB / 0.7287 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.165e-05/0.9819, allocations: 20 kB / 0.7288 GB, free: 15.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.firstTrigger,$PRE.triAndRes[1].sam.firstTrigger,triAndRes[1].sam.firstTrigger,$whenCondition9,triAndRes[1].sam.sampleTrigger,$whenCondition10,triAndRes[1].uniDel1.sampleTrigger,$PRE.triAndRes[1].firstTrigger,triAndRes[1].firstTrigger,$whenCondition7,triAndRes[1].sampleTrigger,$PRE.triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.firstTrigger,$PRE.triAndRes[2].sam.firstTrigger,triAndRes[2].sam.firstTrigger,$whenCondition5,triAndRes[2].sam.sampleTrigger,$whenCondition6,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].incY.y,triAndRes[2].sam.y,$PRE.triAndRes[2].uniDel1.y,triAndRes[2].uniDel1.y,$PRE.triAndRes[2].firstTrigger,triAndRes[2].firstTrigger,$whenCondition4,triAndRes[2].sampleTrigger,$PRE.triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.firstTrigger,$PRE.triAndRes[3].sam.firstTrigger,triAndRes[3].sam.firstTrigger,$whenCondition2,triAndRes[3].sam.sampleTrigger,$whenCondition3,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].incY.y,triAndRes[3].sam.y,$PRE.triAndRes[3].uniDel1.y,triAndRes[3].uniDel1.y,$PRE.triAndRes[3].firstTrigger,triAndRes[3].firstTrigger,$whenCondition1,triAndRes[3].sampleTrigger,$whenCondition8,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.y,$PRE.triAndRes[1].uniDel1.y,triAndRes[1].uniDel1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.000429/0.9823, allocations: 185.2 kB / 0.7289 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.9825, allocations: 55.47 kB / 0.729 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.9828, allocations: 55.08 kB / 0.729 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.9828, allocations: 8 kB / 0.7291 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.9828, allocations: 0 / 0.7291 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.9829, allocations: 7.984 kB / 0.7291 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.9957, allocations: 1.725 MB / 0.7307 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.9958, allocations: 0 / 0.7307 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.9966, allocations: 91.84 kB / 0.7308 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/0.9966, allocations: 0 / 0.7308 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.111e-05/0.9967, allocations: 19.98 kB / 0.7308 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.9967, allocations: 4 kB / 0.7309 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/0.9967, allocations: 4.25 kB / 0.7309 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.9993, allocations: 1.139 MB / 0.732 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.9995, allocations: 124.5 kB / 0.7321 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.9997, allocations: 23.98 kB / 0.7321 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/1.001, allocations: 119.8 kB / 0.7322 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/1.002, allocations: 55.88 kB / 0.7323 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.429e-05/1.002, allocations: 19.94 kB / 0.7323 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007007/1.002, allocations: 298.1 kB / 0.7326 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.41e-07/1.002, allocations: 0 / 0.7326 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002028/1.005, allocations: 191.6 kB / 0.7328 GB, free: 10.92 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 39 (triAndRes[3].sampleTrigger,$whenCondition1,triAndRes[3].firstTrigger,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].sam.sampleTrigger,$whenCondition3,$whenCondition2,triAndRes[3].incY.y,triAndRes[3].sam.firstTrigger,triAndRes[3].sam.y,triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.y,triAndRes[2].sampleTrigger,$whenCondition4,triAndRes[2].firstTrigger,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].sam.sampleTrigger,$whenCondition6,$whenCondition5,triAndRes[2].incY.y,triAndRes[2].sam.firstTrigger,triAndRes[2].sam.y,triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.y,triAndRes[1].sampleTrigger,$whenCondition7,triAndRes[1].firstTrigger,triAndRes[1].uniDel1.sampleTrigger,triAndRes[1].sam.sampleTrigger,$whenCondition10,$whenCondition9,$whenCondition8,act1.T_start,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.firstTrigger,triAndRes[1].sam.y,triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.y) * Number of discrete states: 4 (act1.count,triAndRes[1].uniDel1.u,triAndRes[2].uniDel1.u,triAndRes[3].uniDel1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.003259/1.008, allocations: 2.071 MB / 0.7348 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002818/1.011, allocations: 0.9065 MB / 0.7357 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.011, allocations: 0 / 0.7357 GB, free: 7.871 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008136/1.012, allocations: 291.7 kB / 0.736 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/1.013, allocations: 72.92 kB / 0.736 GB, free: 7.516 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/1.016, allocations: 0.9117 MB / 0.7369 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/1.016, allocations: 0.9221 MB / 0.7378 GB, free: 5.602 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001222/1.018, allocations: 289.2 kB / 0.7381 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/1.018, allocations: 139.4 kB / 0.7382 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.022e-06/1.018, allocations: 0 / 0.7382 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05441/1.072, allocations: 10.67 MB / 0.7486 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003321/1.073, allocations: 181.2 kB / 0.7488 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.719, allocations: 4 kB / 0.7488 GB, free: 10.42 MB / 0.6355 GB