Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadModel(Buildings): time 3.911/3.911, allocations: 403.3 MB / 415.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.853e-05, allocations: 7.938 kB / 0.499 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5039, allocations: 92.69 MB / 0.5895 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/0.7117, allocations: 121.9 MB / 0.7086 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.712, allocations: 75.94 kB / 0.7086 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02932/0.7414, allocations: 4.168 MB / 0.7127 GB, free: 144 kB / 0.5886 GB Notification: Performance of FrontEnd: time 3.106e-06/0.7414, allocations: 0 / 0.7127 GB, free: 144 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.356e-05/0.7415, allocations: 4 kB / 0.7127 GB, free: 140 kB / 0.5886 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.001605/0.7431, allocations: 0.5399 MB / 0.7132 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.7432, allocations: 8.031 kB / 0.7132 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.7434, allocations: 35.66 kB / 0.7133 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.7437, allocations: 191.7 kB / 0.7135 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.165e-05/0.7438, allocations: 12 kB / 0.7135 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.744, allocations: 15.98 kB / 0.7135 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006189/0.7446, allocations: 137.5 kB / 0.7136 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.7447, allocations: 0 / 0.7136 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.7448, allocations: 8 kB / 0.7136 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.968e-06/0.7448, allocations: 0 / 0.7136 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.7451, allocations: 43.98 kB / 0.7137 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008106/0.7459, allocations: 321.2 kB / 0.714 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008709/0.7547, allocations: 114.7 kB / 0.7141 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.755, allocations: 52.84 kB / 0.7141 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.7551, allocations: 8 kB / 0.7141 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009325/0.7561, allocations: 208.1 kB / 0.7143 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 5.48e-06/0.7561, allocations: 0 / 0.7143 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.001167/0.7573, allocations: 203.2 kB / 0.7145 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/0.7574, allocations: 63.39 kB / 0.7146 GB, free: 14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.7579, allocations: 195 kB / 0.7148 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.7581, allocations: 37.7 kB / 0.7148 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.7583, allocations: 92.83 kB / 0.7149 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.7584, allocations: 55.39 kB / 0.715 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.7585, allocations: 11.94 kB / 0.715 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002442/0.7588, allocations: 326.8 kB / 0.7153 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006131/0.7594, allocations: 92.22 kB / 0.7154 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.7601, allocations: 138.5 kB / 0.7155 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006012/0.7608, allocations: 148.1 kB / 0.7156 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.7608, allocations: 4 kB / 0.7157 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001935/0.7627, allocations: 397.1 kB / 0.716 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.7629, allocations: 79.56 kB / 0.7161 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.763, allocations: 8 kB / 0.7161 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.763, allocations: 0 / 0.7161 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/0.7634, allocations: 23.92 kB / 0.7161 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.7634, allocations: 4 kB / 0.7161 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008613/0.7643, allocations: 51.81 kB / 0.7162 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/0.7645, allocations: 43.98 kB / 0.7162 GB, free: 12.24 MB / 0.6042 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.0003061/0.7649, allocations: 140 kB / 0.7164 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.765, allocations: 19.81 kB / 0.7164 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.7651, allocations: 21.64 kB / 0.7164 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.7652, allocations: 4 kB / 0.7164 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.463e-06/0.7652, allocations: 0 / 0.7164 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.699e-06/0.7652, allocations: 0 / 0.7164 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/0.7792, allocations: 0.5318 MB / 0.7169 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.296e-06/0.7793, allocations: 7.938 kB / 0.7169 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.7794, allocations: 11.98 kB / 0.7169 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.7795, allocations: 0 / 0.7169 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.703e-05/0.7796, allocations: 15.97 kB / 0.717 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.729e-06/0.7796, allocations: 0 / 0.717 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.939e-06/0.7796, allocations: 4 kB / 0.717 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.7807, allocations: 299.1 kB / 0.7173 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.7811, allocations: 144.7 kB / 0.7174 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.7812, allocations: 8 kB / 0.7174 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.7817, allocations: 15.98 kB / 0.7174 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.7819, allocations: 11.98 kB / 0.7174 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.782, allocations: 27.97 kB / 0.7174 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003752/0.7824, allocations: 165.6 kB / 0.7176 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.104e-06/0.7824, allocations: 0 / 0.7176 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001051/0.7835, allocations: 55.94 kB / 0.7177 GB, free: 10.68 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: 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.0003156/0.7838, allocations: 117 kB / 0.7178 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.7853, allocations: 348.5 kB / 0.7181 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.7853, allocations: 0 / 0.7181 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.7856, allocations: 71.81 kB / 0.7182 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0086/0.7943, allocations: 20.59 kB / 0.7182 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.7956, allocations: 222.8 kB / 0.7184 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/0.7963, allocations: 0.7282 MB / 0.7191 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003641/0.7967, allocations: 29.22 kB / 0.7191 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.797, allocations: 31.41 kB / 0.7192 GB, free: 9.051 MB / 0.6042 GB Notification: Performance of SimCode: time 2.817e-06/0.797, allocations: 0 / 0.7192 GB, free: 9.051 MB / 0.6042 GB Notification: Performance of Templates: time 0.01683/0.8139, allocations: 3.963 MB / 0.723 GB, free: 5.094 MB / 0.6042 GB