Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.252/4.252, allocations: 460.4 MB / 472.6 MB, free: 5.402 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.481e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2587, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.884/1.143, allocations: 135 MB / 0.8038 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/1.143, allocations: 92.22 kB / 0.8039 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03484/1.178, allocations: 7.827 MB / 0.8115 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.635e-06/1.178, allocations: 0 / 0.8115 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.084e-05/1.178, allocations: 11.75 kB / 0.8115 GB, free: 12.15 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.002797/1.181, allocations: 0.8871 MB / 0.8124 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/1.181, allocations: 7.75 kB / 0.8124 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/1.181, allocations: 73.05 kB / 0.8125 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/1.182, allocations: 60.14 kB / 0.8125 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/1.183, allocations: 398.4 kB / 0.8129 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.229e-05/1.183, allocations: 33.98 kB / 0.8129 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/1.183, allocations: 33.72 kB / 0.813 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/1.186, allocations: 0.5631 MB / 0.8135 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/1.186, allocations: 3.938 kB / 0.8135 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/1.186, allocations: 20.81 kB / 0.8136 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/1.186, allocations: 11.53 kB / 0.8136 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/1.188, allocations: 418.5 kB / 0.814 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006211/1.194, allocations: 1.668 MB / 0.8156 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/1.197, allocations: 0.6987 MB / 0.8163 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000915/1.198, allocations: 269 kB / 0.8165 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.787e-05/1.198, allocations: 14.12 kB / 0.8165 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/1.199, allocations: 459 kB / 0.817 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=51): time 5.65e-06/1.199, allocations: 3.938 kB / 0.817 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=51): time 0.00243/1.202, allocations: 0.6178 MB / 0.8176 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/1.202, allocations: 290.3 kB / 0.8179 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009366/1.203, allocations: 386.4 kB / 0.8182 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/1.203, allocations: 55.45 kB / 0.8183 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/1.203, allocations: 204.9 kB / 0.8185 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/1.204, allocations: 125.4 kB / 0.8186 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/1.204, allocations: 11.03 kB / 0.8186 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.204, allocations: 361.3 kB / 0.819 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007418/1.205, allocations: 203.5 kB / 0.8192 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009034/1.206, allocations: 387.3 kB / 0.8195 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/1.206, allocations: 271.2 kB / 0.8198 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.206, allocations: 3.938 kB / 0.8198 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002348/1.209, allocations: 0.6198 MB / 0.8204 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001369/1.21, allocations: 1.861 MB / 0.8222 GB, free: 22.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/1.21, allocations: 11.59 kB / 0.8222 GB, free: 22.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.064e-05/1.21, allocations: 12 kB / 0.8222 GB, free: 22.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.212, allocations: 109.9 kB / 0.8223 GB, free: 22.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/1.212, allocations: 7.625 kB / 0.8223 GB, free: 22.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.213, allocations: 110.2 kB / 0.8224 GB, free: 22.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.733e-05/1.213, allocations: 28.84 kB / 0.8225 GB, free: 22.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.213, allocations: 7.031 kB / 0.8225 GB, free: 22.71 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00195/1.215, allocations: 0.5256 MB / 0.823 GB, free: 22.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/1.215, allocations: 7.75 kB / 0.823 GB, free: 22.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/1.215, allocations: 7.594 kB / 0.823 GB, free: 22.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/1.216, allocations: 76.05 kB / 0.8231 GB, free: 22.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/1.216, allocations: 15.62 kB / 0.8231 GB, free: 22.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.217, allocations: 70.53 kB / 0.8232 GB, free: 22.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.48e-05/1.217, allocations: 22.75 kB / 0.8232 GB, free: 22.63 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.0004695/1.218, allocations: 181.4 kB / 0.8234 GB, free: 22.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/1.218, allocations: 50.48 kB / 0.8234 GB, free: 22.47 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/1.218, allocations: 61.14 kB / 0.8235 GB, free: 22.46 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/1.218, allocations: 3.875 kB / 0.8235 GB, free: 22.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/1.218, allocations: 3.781 kB / 0.8235 GB, free: 22.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.218, allocations: 3.281 kB / 0.8235 GB, free: 22.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004904/1.223, allocations: 1.739 MB / 0.8252 GB, free: 21.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.223, allocations: 3.844 kB / 0.8252 GB, free: 21.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008865/1.224, allocations: 89.56 kB / 0.8253 GB, free: 21.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/1.224, allocations: 3.875 kB / 0.8253 GB, free: 21.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/1.224, allocations: 15.23 kB / 0.8253 GB, free: 21.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/1.224, allocations: 7.812 kB / 0.8253 GB, free: 21.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.224, allocations: 320 / 0.8253 GB, free: 21.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/1.227, allocations: 1.151 MB / 0.8264 GB, free: 20.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/1.227, allocations: 127.2 kB / 0.8265 GB, free: 20.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/1.227, allocations: 18.52 kB / 0.8266 GB, free: 20.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/1.229, allocations: 124.1 kB / 0.8267 GB, free: 20.72 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/1.23, allocations: 53.66 kB / 0.8267 GB, free: 20.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/1.23, allocations: 14.62 kB / 0.8267 GB, free: 20.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007538/1.231, allocations: 306.1 kB / 0.827 GB, free: 20.58 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.332e-06/1.231, allocations: 0 / 0.827 GB, free: 20.58 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002087/1.233, allocations: 187.8 kB / 0.8272 GB, free: 20.56 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.003348/1.236, allocations: 2.072 MB / 0.8292 GB, free: 18.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003174/1.239, allocations: 0.9061 MB / 0.8301 GB, free: 18.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.24, allocations: 0 / 0.8301 GB, free: 18.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/1.241, allocations: 299.9 kB / 0.8304 GB, free: 18.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/1.242, allocations: 82.58 kB / 0.8305 GB, free: 18.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/1.247, allocations: 0.925 MB / 0.8314 GB, free: 18.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009327/1.248, allocations: 0.9276 MB / 0.8323 GB, free: 17.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001799/1.25, allocations: 310.3 kB / 0.8326 GB, free: 17.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005412/1.25, allocations: 144 kB / 0.8327 GB, free: 17.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.833e-06/1.25, allocations: 3.938 kB / 0.8327 GB, free: 17.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04863/1.299, allocations: 11.06 MB / 0.8435 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/1.299, allocations: 188.6 kB / 0.8437 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/4.209, allocations: 2.656 kB / 0.8437 GB, free: 11.79 MB / 0.6511 GB