Running command: translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadModel(BuildingSystems): time 3.141/3.141, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.064e-05, allocations: 4 kB / 436.6 MB, free: 2.484 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.172, allocations: 77.73 MB / 0.5022 GB, free: 4.594 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6256/0.7977, allocations: 107.4 MB / 0.6071 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.7981, allocations: 75.94 kB / 0.6072 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0202/0.8183, allocations: 4.449 MB / 0.6115 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.111e-06/0.8183, allocations: 0 / 0.6115 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.25e-05/0.8184, allocations: 8 kB / 0.6115 GB, free: 9.164 MB / 0.4948 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.00106/0.8195, allocations: 0.5724 MB / 0.6121 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.8195, allocations: 8.031 kB / 0.6121 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.8196, allocations: 35.62 kB / 0.6121 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.8201, allocations: 254.5 kB / 0.6124 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.8201, allocations: 8 kB / 0.6124 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/0.8202, allocations: 23.98 kB / 0.6124 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.8206, allocations: 137.5 kB / 0.6125 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.342e-06/0.8206, allocations: 0 / 0.6125 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.8207, allocations: 7.984 kB / 0.6126 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.31e-06/0.8207, allocations: 8 kB / 0.6126 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.8208, allocations: 43.98 kB / 0.6126 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.8214, allocations: 333.2 kB / 0.6129 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.8217, allocations: 122.7 kB / 0.613 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.8219, allocations: 52.84 kB / 0.6131 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.8219, allocations: 4 kB / 0.6131 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005753/0.8225, allocations: 216.1 kB / 0.6133 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.887e-06/0.8225, allocations: 0 / 0.6133 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0006331/0.8232, allocations: 217.2 kB / 0.6135 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.8232, allocations: 63.41 kB / 0.6136 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.8236, allocations: 255.3 kB / 0.6138 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-05/0.8237, allocations: 41.7 kB / 0.6138 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.8238, allocations: 85.14 kB / 0.6139 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.598e-05/0.8239, allocations: 51.42 kB / 0.614 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.715e-05/0.824, allocations: 8 kB / 0.614 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.8242, allocations: 330.8 kB / 0.6143 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.8245, allocations: 96.16 kB / 0.6144 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.8249, allocations: 154.1 kB / 0.6145 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.8253, allocations: 150.5 kB / 0.6147 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.8253, allocations: 4 kB / 0.6147 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00104/0.8263, allocations: 407.2 kB / 0.6151 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.8265, allocations: 71.39 kB / 0.6151 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.793e-06/0.8265, allocations: 0 / 0.6151 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.8265, allocations: 4 kB / 0.6151 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.8267, allocations: 31.91 kB / 0.6152 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.8268, allocations: 4 kB / 0.6152 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.8272, allocations: 52 kB / 0.6152 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.8274, allocations: 51.98 kB / 0.6153 GB, free: 5.031 MB / 0.4948 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.0002062/0.8276, allocations: 143.7 kB / 0.6154 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.8277, allocations: 31.61 kB / 0.6154 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.869e-05/0.8278, allocations: 26.05 kB / 0.6155 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.078e-06/0.8278, allocations: 7.984 kB / 0.6155 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.027e-06/0.8278, allocations: 4 kB / 0.6155 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.422e-06/0.8278, allocations: 0 / 0.6155 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.8289, allocations: 0.5524 MB / 0.616 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-06/0.8289, allocations: 4 kB / 0.616 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.829, allocations: 4 kB / 0.616 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.288e-06/0.829, allocations: 0 / 0.616 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/0.8291, allocations: 15.97 kB / 0.616 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.006e-06/0.8291, allocations: 0 / 0.616 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.87e-06/0.8291, allocations: 0 / 0.616 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005528/0.8297, allocations: 326.9 kB / 0.6164 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.8299, allocations: 156.7 kB / 0.6165 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/0.83, allocations: 8 kB / 0.6165 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.8303, allocations: 11.98 kB / 0.6165 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.8304, allocations: 19.97 kB / 0.6165 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/0.8304, allocations: 27.98 kB / 0.6166 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002805/0.8307, allocations: 207 kB / 0.6168 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.21e-07/0.8308, allocations: 4 kB / 0.6168 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005061/0.8313, allocations: 55.98 kB / 0.6168 GB, free: 3.352 MB / 0.4948 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.0002017/0.8315, allocations: 117.3 kB / 0.6169 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007689/0.8323, allocations: 346.7 kB / 0.6173 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.32e-06/0.8323, allocations: 0 / 0.6173 GB, free: 2.863 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.8325, allocations: 63.98 kB / 0.6173 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.8328, allocations: 21.2 kB / 0.6174 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/0.8336, allocations: 282 kB / 0.6176 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.8341, allocations: 0.7515 MB / 0.6184 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002282/0.8343, allocations: 37.2 kB / 0.6184 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.8345, allocations: 35.42 kB / 0.6184 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of SimCode: time 1.884e-06/0.8345, allocations: 4 kB / 0.6184 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of Templates: time 0.01241/0.8469, allocations: 4.364 MB / 0.6227 GB, free: 13.28 MB / 0.5105 GB