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.872/3.872, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.859e-05/5.867e-05, allocations: 7.938 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/0.5077, allocations: 92.69 MB / 0.5895 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.697, allocations: 121.9 MB / 0.7086 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.6973, allocations: 71.95 kB / 0.7087 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01897/0.7163, allocations: 4.172 MB / 0.7127 GB, free: 176 kB / 0.5886 GB Notification: Performance of FrontEnd: time 2.542e-06/0.7163, allocations: 0 / 0.7127 GB, free: 176 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.7164, allocations: 0 / 0.7127 GB, free: 176 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.0009425/0.7173, allocations: 0.5419 MB / 0.7133 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.7174, allocations: 12.03 kB / 0.7133 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.7175, allocations: 31.67 kB / 0.7133 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.7177, allocations: 191.7 kB / 0.7135 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.7177, allocations: 15.98 kB / 0.7135 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.403e-05/0.7178, allocations: 20 kB / 0.7135 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.7182, allocations: 129.5 kB / 0.7137 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.054e-06/0.7182, allocations: 3.938 kB / 0.7137 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.7182, allocations: 4 kB / 0.7137 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.793e-06/0.7183, allocations: 4 kB / 0.7137 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.7184, allocations: 43.92 kB / 0.7137 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.7189, allocations: 313.3 kB / 0.714 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.7192, allocations: 122.7 kB / 0.7141 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.7194, allocations: 52.84 kB / 0.7142 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.7194, allocations: 4 kB / 0.7142 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005149/0.72, allocations: 200.9 kB / 0.7144 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 5.351e-06/0.72, allocations: 3.984 kB / 0.7144 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0006021/0.7206, allocations: 209.3 kB / 0.7146 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.7207, allocations: 63.39 kB / 0.7146 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.721, allocations: 195 kB / 0.7148 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.682e-05/0.7211, allocations: 41.69 kB / 0.7149 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.7211, allocations: 84.92 kB / 0.7149 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.147e-05/0.7212, allocations: 47.39 kB / 0.715 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.7213, allocations: 8 kB / 0.715 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.7215, allocations: 330.8 kB / 0.7153 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.7218, allocations: 96.14 kB / 0.7154 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.7222, allocations: 146.2 kB / 0.7155 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.7225, allocations: 146 kB / 0.7157 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.712e-06/0.7225, allocations: 4 kB / 0.7157 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001135/0.7237, allocations: 395.1 kB / 0.7161 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.7238, allocations: 72.95 kB / 0.7161 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.484e-06/0.7239, allocations: 0 / 0.7161 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.7239, allocations: 4 kB / 0.7161 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.7241, allocations: 31.91 kB / 0.7162 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.7241, allocations: 4 kB / 0.7162 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/0.7246, allocations: 56 kB / 0.7162 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.7247, allocations: 43.98 kB / 0.7163 GB, free: 12.27 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.0001877/0.7249, allocations: 128 kB / 0.7164 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.725, allocations: 19.8 kB / 0.7164 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.153e-05/0.7251, allocations: 25.66 kB / 0.7164 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.7251, allocations: 0 / 0.7164 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.968e-06/0.7251, allocations: 4 kB / 0.7164 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.919e-06/0.7252, allocations: 3.984 kB / 0.7164 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.7262, allocations: 0.5332 MB / 0.717 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.035e-06/0.7262, allocations: 4 kB / 0.717 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.7263, allocations: 4 kB / 0.717 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.28e-06/0.7263, allocations: 0 / 0.717 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/0.7264, allocations: 11.98 kB / 0.717 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.7264, allocations: 7.922 kB / 0.717 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.7264, allocations: 3.984 kB / 0.717 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.727, allocations: 312.3 kB / 0.7173 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.7272, allocations: 140.7 kB / 0.7174 GB, free: 11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.7273, allocations: 11.98 kB / 0.7174 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.7275, allocations: 8 kB / 0.7174 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.818e-05/0.7276, allocations: 19.97 kB / 0.7175 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.206e-05/0.7277, allocations: 19.98 kB / 0.7175 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002086/0.7279, allocations: 161.6 kB / 0.7176 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.13e-07/0.7279, allocations: 4 kB / 0.7176 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004941/0.7284, allocations: 55.95 kB / 0.7177 GB, free: 10.72 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.0001935/0.7286, allocations: 117 kB / 0.7178 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007654/0.7294, allocations: 341.3 kB / 0.7181 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7294, allocations: 0 / 0.7181 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.7296, allocations: 67.92 kB / 0.7182 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.7299, allocations: 17.03 kB / 0.7182 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.7305, allocations: 218.5 kB / 0.7184 GB, free: 9.926 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.731, allocations: 0.7321 MB / 0.7191 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.7312, allocations: 33.19 kB / 0.7192 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.7313, allocations: 31.42 kB / 0.7192 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of SimCode: time 1.887e-06/0.7313, allocations: 4 kB / 0.7192 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of Templates: time 0.01027/0.7416, allocations: 3.962 MB / 0.7231 GB, free: 5.141 MB / 0.6042 GB