Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.828/3.828, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.904e-05, allocations: 4 kB / 0.4991 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6052/0.6053, allocations: 92.69 MB / 0.5897 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.223/0.8283, allocations: 121.6 MB / 0.7084 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.8287, allocations: 79.95 kB / 0.7085 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01023/0.8389, allocations: 2.191 MB / 0.7106 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.164e-06/0.839, allocations: 0 / 0.7106 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.839, allocations: 4 kB / 0.7106 GB, free: 2.328 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001234/0.8403, allocations: 497.9 kB / 0.7111 GB, free: 1.797 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.8403, allocations: 8.031 kB / 0.7111 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.8404, allocations: 54.53 kB / 0.7112 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.539e-05/0.8405, allocations: 31.75 kB / 0.7112 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.8407, allocations: 179 kB / 0.7114 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.8408, allocations: 24.2 kB / 0.7114 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/0.8409, allocations: 43.98 kB / 0.7114 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.8415, allocations: 219.1 kB / 0.7116 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.8415, allocations: 0 / 0.7116 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.8416, allocations: 15.97 kB / 0.7117 GB, free: 1.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.8416, allocations: 7.953 kB / 0.7117 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.842, allocations: 116.3 kB / 0.7118 GB, free: 1.059 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.8438, allocations: 0.6034 MB / 0.7124 GB, free: 416 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008438/0.8447, allocations: 314.5 kB / 0.7127 GB, free: 92 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/0.8451, allocations: 156.9 kB / 0.7128 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.8452, allocations: 4 kB / 0.7128 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008613/0.846, allocations: 355.6 kB / 0.7132 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=50): time 3.246e-06/0.8461, allocations: 0 / 0.7132 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50): time 0.001555/0.8476, allocations: 0.5818 MB / 0.7137 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.8477, allocations: 63.84 kB / 0.7138 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.8479, allocations: 147 kB / 0.7139 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.848, allocations: 45.7 kB / 0.714 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.8481, allocations: 105.3 kB / 0.7141 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.8483, allocations: 102.7 kB / 0.7142 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.8483, allocations: 16 kB / 0.7142 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8485, allocations: 334.8 kB / 0.7145 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.8487, allocations: 89.56 kB / 0.7146 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.8492, allocations: 277.1 kB / 0.7148 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.8495, allocations: 121.2 kB / 0.715 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.8496, allocations: 4 kB / 0.715 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009924/0.8506, allocations: 411 kB / 0.7154 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.8506, allocations: 8 kB / 0.7154 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.8506, allocations: 4 kB / 0.7154 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/0.8507, allocations: 12.78 kB / 0.7154 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.8511, allocations: 67.78 kB / 0.7154 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.8511, allocations: 12 kB / 0.7155 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.8515, allocations: 43.83 kB / 0.7155 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.8516, allocations: 27.98 kB / 0.7155 GB, free: 13.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 67 ($PRE.onDelay.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$whenCondition23,$PRE.onDelay7.t_next,$whenCondition20,$PRE.onDelay3.t_next,$whenCondition17,$PRE.onDelay6.t_next,$whenCondition14,$PRE.onDelay5.t_next,$whenCondition11,$PRE.onDelay4.t_next,$whenCondition8,$PRE.onDelay2.t_next,$whenCondition5,$PRE.onDelay1.t_next,$whenCondition2,$PRE.onDelay.t_next,$whenCondition1,onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,$whenCondition24,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition18,$whenCondition19,$whenCondition15,$whenCondition16,$whenCondition12,$whenCondition13,$whenCondition9,$whenCondition10,$whenCondition6,$whenCondition7,$whenCondition3,$whenCondition4,$PRE.booPul.pulseStart,booPul.pulseStart,onDelay.u,onDelay.y,onDelay1.u,onDelay1.y,onDelay2.u,onDelay2.y,onDelay4.u,onDelay4.y,onDelay5.u,onDelay5.y,onDelay6.u,onDelay6.y,onDelay3.u,onDelay3.y,onDelay7.u,onDelay7.y,onDelay.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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.0002415/0.8518, allocations: 170 kB / 0.7157 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.8519, allocations: 43.66 kB / 0.7157 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.852, allocations: 22.19 kB / 0.7158 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.852, allocations: 4 kB / 0.7158 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.8521, allocations: 0 / 0.7158 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.8521, allocations: 3.984 kB / 0.7158 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.8546, allocations: 1.165 MB / 0.7169 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.8547, allocations: 0 / 0.7169 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.8547, allocations: 15.94 kB / 0.7169 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.8548, allocations: 3.938 kB / 0.7169 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.8548, allocations: 23.97 kB / 0.7169 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.8548, allocations: 3.938 kB / 0.7169 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.8549, allocations: 4 kB / 0.7169 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.8563, allocations: 0.7066 MB / 0.7176 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.8565, allocations: 96.83 kB / 0.7177 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/0.8566, allocations: 19.97 kB / 0.7177 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.857, allocations: 39.95 kB / 0.7178 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.8571, allocations: 48.36 kB / 0.7178 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.216e-05/0.8572, allocations: 39.97 kB / 0.7179 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001072/0.8573, allocations: 109.8 kB / 0.718 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8573, allocations: 0 / 0.718 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000616/0.858, allocations: 95.97 kB / 0.7181 GB, free: 10.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 50 (onDelay.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay6.u,onDelay7.u,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,booPul.pulseStart,onDelay.y,onDelay.t_next,onDelay1.y,onDelay1.t_next,onDelay2.y,onDelay2.t_next,onDelay4.y,onDelay4.t_next,onDelay5.y,onDelay5.t_next,onDelay6.y,onDelay6.t_next,onDelay3.y,onDelay3.t_next,onDelay7.y,onDelay7.t_next) * Number of discrete states: 8 (onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,onDelay.t_next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 33 * 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.001867/0.8599, allocations: 1.278 MB / 0.7193 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.8609, allocations: 362.3 kB / 0.7197 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8609, allocations: 0 / 0.7197 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006216/0.8615, allocations: 305.6 kB / 0.72 GB, free: 8.348 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.8619, allocations: 27.84 kB / 0.72 GB, free: 8.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.8637, allocations: 482.7 kB / 0.7204 GB, free: 7.809 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.8641, allocations: 0.7458 MB / 0.7212 GB, free: 7.035 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001611/0.8643, allocations: 38.94 kB / 0.7212 GB, free: 7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.8645, allocations: 71.42 kB / 0.7213 GB, free: 6.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.172e-06/0.8645, allocations: 0 / 0.7213 GB, free: 6.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.8977, allocations: 4.796 MB / 0.726 GB, free: 2.207 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002974/0.8981, allocations: 163.7 kB / 0.7261 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.406, allocations: 0 / 0.7261 GB, free: 1.98 MB / 0.6042 GB