Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadModel(Buildings): time 4.215/4.215, allocations: 464.6 MB / 476.8 MB, free: 2.094 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.532e-05, allocations: 7.984 kB / 0.5731 GB, free: 5.711 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2004, allocations: 107.2 MB / 0.6777 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7493/0.9497, allocations: 133.6 MB / 0.8082 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.95, allocations: 71.88 kB / 0.8083 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01836/0.9684, allocations: 4.44 MB / 0.8126 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9684, allocations: 3.938 kB / 0.8126 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.9684, allocations: 7.844 kB / 0.8126 GB, free: 11.96 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008209/0.9693, allocations: 0.5828 MB / 0.8132 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.9693, allocations: 7.656 kB / 0.8132 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.9694, allocations: 31.06 kB / 0.8132 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.9698, allocations: 260.4 kB / 0.8135 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.9698, allocations: 13.44 kB / 0.8135 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.9699, allocations: 18.17 kB / 0.8135 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.9702, allocations: 149.3 kB / 0.8137 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9703, allocations: 0 / 0.8137 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.9703, allocations: 3.375 kB / 0.8137 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-06/0.9703, allocations: 3.75 kB / 0.8137 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.9705, allocations: 43.09 kB / 0.8137 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.9708, allocations: 321.3 kB / 0.814 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.9711, allocations: 132.9 kB / 0.8141 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.9713, allocations: 59.56 kB / 0.8142 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.9713, allocations: 7.609 kB / 0.8142 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004866/0.9718, allocations: 213 kB / 0.8144 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 3.039e-06/0.9719, allocations: 0 / 0.8144 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0005545/0.9724, allocations: 217.6 kB / 0.8146 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.9725, allocations: 61.09 kB / 0.8147 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.9728, allocations: 259.2 kB / 0.8149 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.351e-05/0.9728, allocations: 36.73 kB / 0.815 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.9729, allocations: 91.38 kB / 0.8151 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.973, allocations: 48.59 kB / 0.8151 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.973, allocations: 6.938 kB / 0.8151 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.948e-05/0.9731, allocations: 319.9 kB / 0.8154 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.9734, allocations: 97.83 kB / 0.8155 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.9737, allocations: 148.2 kB / 0.8156 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.974, allocations: 154.9 kB / 0.8158 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.441e-06/0.974, allocations: 0 / 0.8158 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008689/0.9749, allocations: 410.1 kB / 0.8162 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.132e-05/0.975, allocations: 78.25 kB / 0.8163 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.111e-06/0.975, allocations: 7.938 kB / 0.8163 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.975, allocations: 3.812 kB / 0.8163 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.9753, allocations: 32.92 kB / 0.8163 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.203e-06/0.9753, allocations: 0 / 0.8163 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.9757, allocations: 47.22 kB / 0.8163 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.9759, allocations: 53.03 kB / 0.8164 GB, free: 9.852 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * 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.000167/0.976, allocations: 137.6 kB / 0.8165 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.9761, allocations: 31.14 kB / 0.8166 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.81e-05/0.9762, allocations: 33.45 kB / 0.8166 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.672e-06/0.9762, allocations: 0 / 0.8166 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.153e-06/0.9762, allocations: 3.875 kB / 0.8166 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.537e-06/0.9763, allocations: 0 / 0.8166 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008857/0.9772, allocations: 0.5549 MB / 0.8171 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9772, allocations: 7.938 kB / 0.8171 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.646e-05/0.9773, allocations: 3.875 kB / 0.8171 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.194e-06/0.9773, allocations: 7.781 kB / 0.8172 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.9773, allocations: 12.48 kB / 0.8172 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.464e-06/0.9773, allocations: 0 / 0.8172 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.039e-06/0.9773, allocations: 3.844 kB / 0.8172 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.9778, allocations: 323.5 kB / 0.8175 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.9781, allocations: 149.5 kB / 0.8176 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.9781, allocations: 11.25 kB / 0.8176 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.9784, allocations: 14.67 kB / 0.8176 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/0.9785, allocations: 20.7 kB / 0.8177 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.9785, allocations: 26.44 kB / 0.8177 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002028/0.9788, allocations: 204.6 kB / 0.8179 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.65e-07/0.9788, allocations: 0 / 0.8179 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004986/0.9793, allocations: 57.03 kB / 0.8179 GB, free: 9.039 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001505/0.9794, allocations: 115.1 kB / 0.818 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000668/0.9801, allocations: 344.5 kB / 0.8184 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.629e-06/0.9802, allocations: 0 / 0.8184 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.9803, allocations: 66.84 kB / 0.8184 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.9806, allocations: 30.97 kB / 0.8185 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.9813, allocations: 285.9 kB / 0.8187 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/0.9819, allocations: 0.7495 MB / 0.8195 GB, free: 23.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002308/0.9822, allocations: 35.88 kB / 0.8195 GB, free: 23.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.9823, allocations: 33.8 kB / 0.8195 GB, free: 23.95 MB / 0.6511 GB Notification: Performance of SimCode: time 1.761e-06/0.9824, allocations: 0 / 0.8195 GB, free: 23.95 MB / 0.6511 GB Notification: Performance of Templates: time 0.01045/0.9928, allocations: 4.354 MB / 0.8238 GB, free: 23.26 MB / 0.6511 GB