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.816/3.816, allocations: 403.9 MB / 411 MB, free: 340 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.892e-05, allocations: 3.938 kB / 0.4942 GB, free: 1.375 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5394/0.5394, allocations: 92.69 MB / 0.5847 GB, free: 2.348 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.7394, allocations: 121.2 MB / 0.7031 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.7397, allocations: 71.95 kB / 0.7031 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0176/0.7573, allocations: 4.148 MB / 0.7072 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.895e-06/0.7574, allocations: 0 / 0.7072 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.7574, allocations: 4 kB / 0.7072 GB, free: 4.73 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008873/0.7583, allocations: 0.5415 MB / 0.7077 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.7583, allocations: 8.031 kB / 0.7077 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.7585, allocations: 35.67 kB / 0.7078 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.7586, allocations: 191.7 kB / 0.7079 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.7587, allocations: 4 kB / 0.7079 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.07e-05/0.7588, allocations: 23.98 kB / 0.708 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000139/0.7589, allocations: 35.98 kB / 0.708 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.7592, allocations: 129.5 kB / 0.7081 GB, free: 3.652 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.7592, allocations: 4 kB / 0.7081 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.7593, allocations: 0 / 0.7081 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.7593, allocations: 7.953 kB / 0.7081 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.7597, allocations: 273.9 kB / 0.7084 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.76, allocations: 114.7 kB / 0.7085 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.7601, allocations: 53.22 kB / 0.7086 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.7602, allocations: 4 kB / 0.7086 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.7606, allocations: 206.6 kB / 0.7088 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.563e-06/0.7606, allocations: 0 / 0.7088 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.00055/0.7612, allocations: 197.3 kB / 0.7089 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.7613, allocations: 63.39 kB / 0.709 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.7615, allocations: 187 kB / 0.7092 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.7616, allocations: 41.69 kB / 0.7092 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.7617, allocations: 84.92 kB / 0.7093 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.7618, allocations: 51.39 kB / 0.7094 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.7618, allocations: 0 / 0.7094 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.762, allocations: 330.8 kB / 0.7097 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.7623, allocations: 84.2 kB / 0.7097 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.7626, allocations: 134.2 kB / 0.7099 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.7628, allocations: 75.78 kB / 0.7099 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.7628, allocations: 4 kB / 0.71 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008031/0.7636, allocations: 295.7 kB / 0.7102 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.449e-05/0.7637, allocations: 75.39 kB / 0.7103 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.907e-06/0.7637, allocations: 4.188 kB / 0.7103 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.7638, allocations: 8 kB / 0.7103 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.764, allocations: 27.91 kB / 0.7103 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.985e-06/0.764, allocations: 0 / 0.7103 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.7645, allocations: 47.81 kB / 0.7104 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.58e-05/0.7646, allocations: 39.98 kB / 0.7104 GB, free: 1.148 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.0001818/0.7648, allocations: 136 kB / 0.7106 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.7648, allocations: 15.81 kB / 0.7106 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.7649, allocations: 21.97 kB / 0.7106 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.97e-06/0.7649, allocations: 3.984 kB / 0.7106 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.426e-06/0.7649, allocations: 7.984 kB / 0.7106 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.722e-06/0.765, allocations: 0 / 0.7106 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009098/0.7659, allocations: 0.4947 MB / 0.7111 GB, free: 428 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-06/0.7659, allocations: 0 / 0.7111 GB, free: 428 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.766, allocations: 15.98 kB / 0.7111 GB, free: 412 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.766, allocations: 4 kB / 0.7111 GB, free: 408 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.766, allocations: 7.984 kB / 0.7111 GB, free: 400 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.611e-06/0.7661, allocations: 4 kB / 0.7111 GB, free: 396 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.622e-06/0.7661, allocations: 0 / 0.7111 GB, free: 396 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.7665, allocations: 293.2 kB / 0.7114 GB, free: 88 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.7668, allocations: 140.7 kB / 0.7115 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/0.7669, allocations: 11.98 kB / 0.7115 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.7671, allocations: 12 kB / 0.7116 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.7672, allocations: 15.97 kB / 0.7116 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.7672, allocations: 23.98 kB / 0.7116 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001668/0.7674, allocations: 153.9 kB / 0.7117 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.9e-07/0.7674, allocations: 3.938 kB / 0.7117 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004753/0.7679, allocations: 43.98 kB / 0.7118 GB, free: 15.67 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.0001921/0.7681, allocations: 120.7 kB / 0.7119 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006748/0.7688, allocations: 330.8 kB / 0.7122 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.595e-06/0.7688, allocations: 0 / 0.7122 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.769, allocations: 61.69 kB / 0.7123 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.7693, allocations: 20.61 kB / 0.7123 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.7699, allocations: 209.5 kB / 0.7125 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.7703, allocations: 0.7322 MB / 0.7132 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.7705, allocations: 33.14 kB / 0.7132 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.7706, allocations: 35.42 kB / 0.7133 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of SimCode: time 1.403e-06/0.7707, allocations: 0 / 0.7133 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.01019/0.7809, allocations: 3.771 MB / 0.717 GB, free: 10.31 MB / 0.6042 GB