Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.56/4.56, allocations: 464.6 MB / 476.8 MB, free: 2.109 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.064e-05/4.069e-05, allocations: 4 kB / 0.5732 GB, free: 5.594 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2905, allocations: 107.2 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8942/1.185, allocations: 135.4 MB / 0.8101 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.185, allocations: 97.58 kB / 0.8102 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04842/1.234, allocations: 7.817 MB / 0.8178 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.116e-06/1.234, allocations: 0 / 0.8178 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.315e-05/1.234, allocations: 11.62 kB / 0.8178 GB, free: 11.62 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.004153/1.238, allocations: 0.8949 MB / 0.8187 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/1.238, allocations: 10.56 kB / 0.8187 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000279/1.238, allocations: 75.5 kB / 0.8188 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/1.239, allocations: 58.36 kB / 0.8188 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/1.24, allocations: 399.6 kB / 0.8192 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/1.24, allocations: 31.7 kB / 0.8192 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.24, allocations: 33.34 kB / 0.8193 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/1.242, allocations: 0.5623 MB / 0.8198 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/1.242, allocations: 3.938 kB / 0.8198 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/1.242, allocations: 16.77 kB / 0.8198 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/1.242, allocations: 7.625 kB / 0.8199 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/1.244, allocations: 431.2 kB / 0.8203 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006038/1.25, allocations: 1.674 MB / 0.8219 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/1.253, allocations: 0.6915 MB / 0.8226 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009806/1.254, allocations: 265.9 kB / 0.8228 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.288e-05/1.254, allocations: 22.73 kB / 0.8229 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001398/1.255, allocations: 448 kB / 0.8233 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=51): time 5.76e-06/1.256, allocations: 0 / 0.8233 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=51): time 0.002577/1.258, allocations: 0.6194 MB / 0.8239 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/1.258, allocations: 283.6 kB / 0.8242 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009491/1.259, allocations: 387.8 kB / 0.8245 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/1.26, allocations: 48.62 kB / 0.8246 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/1.26, allocations: 207.7 kB / 0.8248 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002463/1.26, allocations: 127.4 kB / 0.8249 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/1.26, allocations: 6.75 kB / 0.8249 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.26, allocations: 363.8 kB / 0.8252 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/1.261, allocations: 201.2 kB / 0.8254 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009957/1.262, allocations: 393.9 kB / 0.8258 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009005/1.263, allocations: 271.2 kB / 0.8261 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/1.263, allocations: 0 / 0.8261 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002338/1.265, allocations: 0.6257 MB / 0.8267 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001303/1.267, allocations: 1.856 MB / 0.8285 GB, free: 21.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/1.267, allocations: 7.531 kB / 0.8285 GB, free: 21.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.849e-05/1.267, allocations: 7.5 kB / 0.8285 GB, free: 21.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.268, allocations: 112.2 kB / 0.8286 GB, free: 21.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-05/1.268, allocations: 11.69 kB / 0.8286 GB, free: 21.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.27, allocations: 112.8 kB / 0.8287 GB, free: 21.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.27, allocations: 26.78 kB / 0.8288 GB, free: 21.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.27, allocations: 3.875 kB / 0.8288 GB, free: 21.52 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001993/1.272, allocations: 0.5281 MB / 0.8293 GB, free: 21.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.272, allocations: 3.844 kB / 0.8293 GB, free: 21.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/1.272, allocations: 11.8 kB / 0.8293 GB, free: 21.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/1.273, allocations: 81.42 kB / 0.8294 GB, free: 21.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/1.273, allocations: 20.12 kB / 0.8294 GB, free: 21.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.274, allocations: 70.17 kB / 0.8295 GB, free: 21.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.274, allocations: 27.02 kB / 0.8295 GB, free: 21.32 MB / 0.6511 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.0005108/1.275, allocations: 181.8 kB / 0.8297 GB, free: 21.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/1.275, allocations: 46.59 kB / 0.8297 GB, free: 21.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/1.275, allocations: 61.39 kB / 0.8298 GB, free: 21.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/1.275, allocations: 7.797 kB / 0.8298 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/1.275, allocations: 3.844 kB / 0.8298 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/1.275, allocations: 3.984 kB / 0.8298 GB, free: 21.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/1.28, allocations: 1.744 MB / 0.8315 GB, free: 20.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.281, allocations: 0 / 0.8315 GB, free: 20.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009304/1.282, allocations: 93.47 kB / 0.8316 GB, free: 20.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.952e-05/1.282, allocations: 3.875 kB / 0.8316 GB, free: 20.13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/1.282, allocations: 11.73 kB / 0.8316 GB, free: 20.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/1.282, allocations: 3.812 kB / 0.8316 GB, free: 20.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/1.282, allocations: 3.969 kB / 0.8316 GB, free: 20.13 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/1.286, allocations: 1.144 MB / 0.8327 GB, free: 19.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/1.286, allocations: 119.8 kB / 0.8328 GB, free: 19.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/1.286, allocations: 19.14 kB / 0.8328 GB, free: 19.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.287, allocations: 122.7 kB / 0.833 GB, free: 19.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/1.287, allocations: 50.34 kB / 0.833 GB, free: 19.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.225e-05/1.288, allocations: 23.45 kB / 0.833 GB, free: 19.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007562/1.288, allocations: 297.4 kB / 0.8333 GB, free: 19.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.383e-06/1.288, allocations: 0 / 0.8333 GB, free: 19.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00305/1.291, allocations: 194.3 kB / 0.8335 GB, free: 19.07 MB / 0.6511 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.004814/1.296, allocations: 2.08 MB / 0.8355 GB, free: 17.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003482/1.3, allocations: 0.9043 MB / 0.8364 GB, free: 17.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.3, allocations: 0 / 0.8364 GB, free: 17.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/1.301, allocations: 292 kB / 0.8367 GB, free: 17.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/1.303, allocations: 82.06 kB / 0.8368 GB, free: 17.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/1.306, allocations: 0.936 MB / 0.8377 GB, free: 16.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/1.307, allocations: 0.9221 MB / 0.8386 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001205/1.308, allocations: 314 kB / 0.8389 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/1.308, allocations: 146.9 kB / 0.839 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.332e-06/1.308, allocations: 0 / 0.839 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/1.349, allocations: 11.07 MB / 0.8498 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003275/1.349, allocations: 182 kB / 0.85 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.9/4.249, allocations: 0 / 0.85 GB, free: 8.199 MB / 0.6511 GB