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.703/3.703, allocations: 402 MB / 415.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.504e-05, allocations: 7.938 kB / 0.5003 GB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2269, allocations: 92.69 MB / 0.5908 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6193/0.8462, allocations: 121.9 MB / 0.7099 GB, free: 4.57 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.8465, allocations: 76.89 kB / 0.71 GB, free: 4.496 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.01898/0.8655, allocations: 4.189 MB / 0.7141 GB, free: 312 kB / 0.573 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8656, allocations: 0 / 0.7141 GB, free: 312 kB / 0.573 GB Notification: Performance of Transformations before backend: time 8.684e-06/0.8656, allocations: 0 / 0.7141 GB, free: 312 kB / 0.573 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.0009956/0.8666, allocations: 0.5488 MB / 0.7146 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.8666, allocations: 8.031 kB / 0.7146 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.8668, allocations: 31.5 kB / 0.7146 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.8669, allocations: 191.7 kB / 0.7148 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.867, allocations: 12 kB / 0.7148 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-05/0.8671, allocations: 19.98 kB / 0.7149 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.8675, allocations: 137.5 kB / 0.715 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.8675, allocations: 4 kB / 0.715 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.8676, allocations: 4 kB / 0.715 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-06/0.8676, allocations: 0 / 0.715 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.8678, allocations: 47.92 kB / 0.715 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.8682, allocations: 309.3 kB / 0.7153 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.8686, allocations: 122.7 kB / 0.7155 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.8686, allocations: 3.984 kB / 0.7155 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005146/0.8692, allocations: 207.5 kB / 0.7157 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.918e-06/0.8692, allocations: 0 / 0.7157 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0007962/0.87, allocations: 258.2 kB / 0.7159 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.8701, allocations: 59.39 kB / 0.716 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.8704, allocations: 199.1 kB / 0.7162 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.18e-05/0.8705, allocations: 45.69 kB / 0.7162 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.8706, allocations: 85.14 kB / 0.7163 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.8706, allocations: 51.47 kB / 0.7163 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.8707, allocations: 8 kB / 0.7163 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.8709, allocations: 330.7 kB / 0.7166 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.8713, allocations: 96.17 kB / 0.7167 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/0.8717, allocations: 151.3 kB / 0.7169 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.8721, allocations: 157.2 kB / 0.717 GB, free: 13 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.639e-06/0.8721, allocations: 0 / 0.717 GB, free: 13 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001105/0.8732, allocations: 404.8 kB / 0.7174 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.8734, allocations: 79.38 kB / 0.7175 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.8734, allocations: 0 / 0.7175 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.8734, allocations: 4.188 kB / 0.7175 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.8736, allocations: 27.92 kB / 0.7175 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.8737, allocations: 4 kB / 0.7175 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.8741, allocations: 47.81 kB / 0.7176 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.8742, allocations: 43.98 kB / 0.7176 GB, free: 12.38 MB / 0.5886 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.0002712/0.8745, allocations: 165.7 kB / 0.7178 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.8746, allocations: 19.81 kB / 0.7178 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.766e-05/0.8747, allocations: 29.86 kB / 0.7178 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-06/0.8747, allocations: 0 / 0.7178 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.449e-06/0.8747, allocations: 4 kB / 0.7178 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.513e-06/0.8747, allocations: 0 / 0.7178 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.8758, allocations: 0.5371 MB / 0.7184 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-06/0.8758, allocations: 0 / 0.7184 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.395e-05/0.8759, allocations: 7.984 kB / 0.7184 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.8759, allocations: 8 kB / 0.7184 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.876, allocations: 11.98 kB / 0.7184 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.575e-06/0.876, allocations: 0 / 0.7184 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.876, allocations: 0 / 0.7184 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.8766, allocations: 318.2 kB / 0.7187 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.8768, allocations: 136.7 kB / 0.7188 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.8769, allocations: 8 kB / 0.7188 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.8771, allocations: 15.98 kB / 0.7188 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.8772, allocations: 19.97 kB / 0.7189 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/0.8773, allocations: 23.98 kB / 0.7189 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00021/0.8775, allocations: 157.8 kB / 0.719 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.62e-07/0.8775, allocations: 0 / 0.719 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005033/0.878, allocations: 59.94 kB / 0.7191 GB, free: 10.78 MB / 0.5886 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.0002014/0.8783, allocations: 121 kB / 0.7192 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008774/0.8792, allocations: 351 kB / 0.7195 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.191e-06/0.8792, allocations: 0 / 0.7195 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.8794, allocations: 67.91 kB / 0.7196 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.8797, allocations: 20.59 kB / 0.7196 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.8805, allocations: 352.4 kB / 0.72 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.881, allocations: 0.7321 MB / 0.7207 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.8811, allocations: 33.08 kB / 0.7207 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.8813, allocations: 31.42 kB / 0.7207 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of SimCode: time 1.734e-06/0.8813, allocations: 0 / 0.7207 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of Templates: time 0.01067/0.892, allocations: 3.985 MB / 0.7246 GB, free: 5.039 MB / 0.5886 GB