Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadModel(Buildings): time 4.469/4.469, allocations: 458.9 MB / 473.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.577e-05, allocations: 3.875 kB / 0.5697 GB, free: 9.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2665, allocations: 106.2 MB / 0.6734 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.004283/0.2709, allocations: 1.697 MB / 0.6751 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.273, allocations: 0.6205 MB / 0.6757 GB, free: 316 kB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.2732, allocations: 7.938 kB / 0.6757 GB, free: 308 kB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 6.101e-05/0.2733, allocations: 11.86 kB / 0.6757 GB, free: 296 kB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.2735, allocations: 35.86 kB / 0.6758 GB, free: 260 kB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.2741, allocations: 79.83 kB / 0.6758 GB, free: 180 kB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0007331/0.2748, allocations: 287.4 kB / 0.6761 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.2752, allocations: 127 kB / 0.6762 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.2756, allocations: 135.6 kB / 0.6764 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.276, allocations: 159.3 kB / 0.6765 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.991e-05/0.2762, allocations: 16 kB / 0.6765 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.256e-05/0.2763, allocations: 20 kB / 0.6765 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.2764, allocations: 75.67 kB / 0.6766 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.2766, allocations: 28 kB / 0.6766 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.2776, allocations: 0.5108 MB / 0.6771 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2777, allocations: 0 / 0.6771 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2777, allocations: 0 / 0.6771 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.2777, allocations: 0 / 0.6771 GB, free: 14.84 MB / 0.5573 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.004564/0.2823, allocations: 0.9007 MB / 0.678 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/0.2824, allocations: 8.031 kB / 0.678 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/0.2828, allocations: 59.38 kB / 0.6781 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.284, allocations: 406.6 kB / 0.6785 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/0.2841, allocations: 28.98 kB / 0.6785 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.2843, allocations: 36 kB / 0.6785 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/0.2873, allocations: 0.6857 MB / 0.6792 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.2874, allocations: 7.938 kB / 0.6792 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.2875, allocations: 15.98 kB / 0.6792 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.2876, allocations: 8 kB / 0.6792 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/0.2911, allocations: 0.6405 MB / 0.6799 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005759/0.2969, allocations: 1.665 MB / 0.6815 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00535/0.3023, allocations: 0.9525 MB / 0.6824 GB, free: 9.168 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.3024, allocations: 11.97 kB / 0.6824 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002483/0.3049, allocations: 0.541 MB / 0.683 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=51): time 8.075e-06/0.3049, allocations: 0 / 0.683 GB, free: 8.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=51): time 0.004281/0.3092, allocations: 1.141 MB / 0.6841 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/0.3095, allocations: 284.9 kB / 0.6843 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.3102, allocations: 400.7 kB / 0.6847 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.3103, allocations: 45.69 kB / 0.6848 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.3106, allocations: 208.9 kB / 0.685 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.3107, allocations: 130.4 kB / 0.6851 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3108, allocations: 8 kB / 0.6851 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.311, allocations: 358.8 kB / 0.6854 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.3122, allocations: 308.8 kB / 0.6857 GB, free: 5.645 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.3136, allocations: 497.9 kB / 0.6862 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.3148, allocations: 374.3 kB / 0.6866 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.3148, allocations: 0 / 0.6866 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002874/0.3177, allocations: 0.8464 MB / 0.6874 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008793/0.3186, allocations: 1.866 MB / 0.6892 GB, free: 1.836 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.3187, allocations: 4 kB / 0.6892 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.3187, allocations: 8.609 kB / 0.6892 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007606/0.3195, allocations: 123.7 kB / 0.6893 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/0.3195, allocations: 11.94 kB / 0.6894 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000837/0.3203, allocations: 111.6 kB / 0.6895 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.3204, allocations: 24 kB / 0.6895 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3205, allocations: 6.969 kB / 0.6895 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00193/0.3224, allocations: 0.6069 MB / 0.6901 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3224, allocations: 4 kB / 0.6901 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.3224, allocations: 11.98 kB / 0.6901 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.323, allocations: 75.78 kB / 0.6902 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.323, allocations: 15.92 kB / 0.6902 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.3236, allocations: 83.58 kB / 0.6903 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.554e-05/0.3237, allocations: 23.98 kB / 0.6903 GB, free: 0.7305 MB / 0.5573 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.0005717/0.3243, allocations: 289.5 kB / 0.6906 GB, free: 448 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.3244, allocations: 51.44 kB / 0.6906 GB, free: 396 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.3246, allocations: 55.45 kB / 0.6907 GB, free: 344 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3246, allocations: 8 kB / 0.6907 GB, free: 336 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.3246, allocations: 7.953 kB / 0.6907 GB, free: 328 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3246, allocations: 0 / 0.6907 GB, free: 328 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004837/0.3295, allocations: 1.935 MB / 0.6926 GB, free: 14.32 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.3295, allocations: 0 / 0.6926 GB, free: 14.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.3301, allocations: 91.83 kB / 0.6927 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.3301, allocations: 4 kB / 0.6927 GB, free: 14.23 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.634e-05/0.3302, allocations: 16 kB / 0.6927 GB, free: 14.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.616e-05/0.3302, allocations: 11.92 kB / 0.6927 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3302, allocations: 0 / 0.6927 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/0.3333, allocations: 1.331 MB / 0.694 GB, free: 12.82 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.3335, allocations: 132.4 kB / 0.6941 GB, free: 12.67 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.3337, allocations: 15.98 kB / 0.6941 GB, free: 12.65 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.3349, allocations: 123.8 kB / 0.6943 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.3352, allocations: 63.86 kB / 0.6943 GB, free: 12.47 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.823e-05/0.3353, allocations: 15.94 kB / 0.6943 GB, free: 12.45 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000718/0.336, allocations: 311.1 kB / 0.6946 GB, free: 12.15 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.81e-07/0.336, allocations: 0 / 0.6946 GB, free: 12.15 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001969/0.338, allocations: 191.6 kB / 0.6948 GB, free: 11.96 MB / 0.573 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.0003498/0.3384, allocations: 147.1 kB / 0.6949 GB, free: 11.81 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004974/0.3433, allocations: 1.162 MB / 0.6961 GB, free: 10.63 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3434, allocations: 0 / 0.6961 GB, free: 10.63 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.3453, allocations: 400.9 kB / 0.6965 GB, free: 10.24 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/0.3469, allocations: 85.45 kB / 0.6965 GB, free: 10.16 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.3509, allocations: 1.147 MB / 0.6977 GB, free: 8.965 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009508/0.3518, allocations: 0.9221 MB / 0.6986 GB, free: 8.016 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001774/0.3536, allocations: 313 kB / 0.6989 GB, free: 7.707 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.3539, allocations: 39.44 kB / 0.6989 GB, free: 7.668 MB / 0.573 GB Notification: Performance of SimCode: time 1.062e-06/0.354, allocations: 0 / 0.6989 GB, free: 7.668 MB / 0.573 GB Notification: Performance of Templates: time 0.02611/0.3801, allocations: 6.764 MB / 0.7055 GB, free: 0.9531 MB / 0.573 GB