Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.954/3.954, allocations: 432.8 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.424e-05, allocations: 3.969 kB / 0.5338 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2242, allocations: 98.72 MB / 0.6302 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.4648, allocations: 127.7 MB / 0.7549 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/0.4652, allocations: 87.94 kB / 0.755 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03384/0.499, allocations: 7.21 MB / 0.762 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4991, allocations: 0 / 0.762 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.416e-05/0.4991, allocations: 8 kB / 0.762 GB, free: 14.91 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002948/0.5021, allocations: 0.8715 MB / 0.7629 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.5021, allocations: 8.031 kB / 0.7629 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001717/0.5023, allocations: 82.45 kB / 0.763 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.5025, allocations: 55.28 kB / 0.763 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008398/0.5034, allocations: 379.7 kB / 0.7634 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.25e-05/0.5034, allocations: 28.77 kB / 0.7634 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-05/0.5035, allocations: 32 kB / 0.7634 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.505, allocations: 0.5492 MB / 0.764 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.505, allocations: 3.953 kB / 0.764 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.399e-05/0.5051, allocations: 15.98 kB / 0.764 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.5051, allocations: 8 kB / 0.764 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.5063, allocations: 416 kB / 0.7644 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004199/0.5105, allocations: 1.645 MB / 0.766 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/0.5126, allocations: 0.699 MB / 0.7667 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/0.5133, allocations: 265 kB / 0.7669 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-05/0.5134, allocations: 11.97 kB / 0.7669 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.5144, allocations: 461.6 kB / 0.7674 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=51): time 3.616e-06/0.5144, allocations: 0 / 0.7674 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of matching and sorting (n=51): time 0.001894/0.5163, allocations: 0.6258 MB / 0.768 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002399/0.5166, allocations: 288.9 kB / 0.7683 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007469/0.5174, allocations: 387.4 kB / 0.7686 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.5175, allocations: 45.69 kB / 0.7687 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.5177, allocations: 196.9 kB / 0.7689 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.518, allocations: 122.5 kB / 0.769 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.518, allocations: 8 kB / 0.769 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002226/0.5182, allocations: 366.8 kB / 0.7693 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/0.5188, allocations: 205 kB / 0.7695 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007802/0.5196, allocations: 388.9 kB / 0.7699 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006582/0.5203, allocations: 261.5 kB / 0.7702 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.5203, allocations: 0 / 0.7702 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001686/0.522, allocations: 0.6237 MB / 0.7708 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001042/0.5231, allocations: 1.864 MB / 0.7726 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.5231, allocations: 7.984 kB / 0.7726 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.473e-05/0.5232, allocations: 8 kB / 0.7726 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008072/0.524, allocations: 111.8 kB / 0.7727 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.172e-05/0.524, allocations: 8 kB / 0.7727 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008942/0.5249, allocations: 107.6 kB / 0.7728 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/0.525, allocations: 24 kB / 0.7728 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.525, allocations: 4 kB / 0.7728 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001438/0.5265, allocations: 0.5326 MB / 0.7734 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.5265, allocations: 8.438 kB / 0.7734 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.5266, allocations: 11.94 kB / 0.7734 GB, free: 2.617 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.5271, allocations: 75.81 kB / 0.7735 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.5271, allocations: 8 kB / 0.7735 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006817/0.5278, allocations: 71.78 kB / 0.7735 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/0.5279, allocations: 27.98 kB / 0.7736 GB, free: 2.438 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.0003758/0.5283, allocations: 176.8 kB / 0.7737 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.5284, allocations: 47.44 kB / 0.7738 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.5287, allocations: 67.02 kB / 0.7738 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.5287, allocations: 12 kB / 0.7738 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.5287, allocations: 7.938 kB / 0.7739 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.5288, allocations: 4.078 kB / 0.7739 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.5324, allocations: 1.724 MB / 0.7755 GB, free: 344 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.5325, allocations: 4 kB / 0.7755 GB, free: 340 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.5331, allocations: 87.84 kB / 0.7756 GB, free: 252 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/0.5331, allocations: 7.984 kB / 0.7756 GB, free: 244 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.5332, allocations: 12 kB / 0.7756 GB, free: 232 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/0.5332, allocations: 8 kB / 0.7757 GB, free: 224 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5332, allocations: 0 / 0.7757 GB, free: 224 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5514/1.085, allocations: 1.131 MB / 0.7768 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/1.085, allocations: 120.6 kB / 0.7769 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/1.085, allocations: 22.19 kB / 0.7769 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.086, allocations: 124.9 kB / 0.777 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.087, allocations: 52.78 kB / 0.7771 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/1.087, allocations: 19.47 kB / 0.7771 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005227/1.087, allocations: 296 kB / 0.7774 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.087, allocations: 1.031 kB / 0.7774 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001332/1.089, allocations: 185.4 kB / 0.7775 GB, free: 139.6 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.002208/1.091, allocations: 2.073 MB / 0.7796 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002484/1.093, allocations: 0.9049 MB / 0.7805 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.093, allocations: 1.375 kB / 0.7805 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008005/1.094, allocations: 290.2 kB / 0.7807 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009791/1.095, allocations: 68.12 kB / 0.7808 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/1.098, allocations: 0.9133 MB / 0.7817 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/1.099, allocations: 0.919 MB / 0.7826 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001198/1.1, allocations: 290.1 kB / 0.7829 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/1.1, allocations: 139.6 kB / 0.783 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.1, allocations: 0 / 0.783 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04304/1.143, allocations: 10.66 MB / 0.7934 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/1.144, allocations: 178.1 kB / 0.7936 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.79, allocations: 3.438 kB / 0.7936 GB, free: 136.1 MB / 0.6511 GB