Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadModel(Buildings): time 4.382/4.382, allocations: 464.7 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.623e-05, allocations: 4 kB / 0.5731 GB, free: 5.707 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1978, allocations: 107.2 MB / 0.6778 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6999/0.8977, allocations: 134 MB / 0.8086 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.898, allocations: 85.81 kB / 0.8087 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01991/0.9179, allocations: 5.196 MB / 0.8138 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.981e-06/0.918, allocations: 0 / 0.8138 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.918, allocations: 3.812 kB / 0.8138 GB, free: 11.8 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008402/0.9189, allocations: 0.602 MB / 0.8144 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.9189, allocations: 10.86 kB / 0.8144 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.919, allocations: 30.97 kB / 0.8144 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.9194, allocations: 279.4 kB / 0.8147 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.9194, allocations: 17.91 kB / 0.8147 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-05/0.9195, allocations: 21.72 kB / 0.8147 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.9199, allocations: 160.5 kB / 0.8149 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.9199, allocations: 0 / 0.8149 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.92, allocations: 7.312 kB / 0.8149 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-06/0.92, allocations: 3.812 kB / 0.8149 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.9202, allocations: 62.84 kB / 0.8149 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.9215, allocations: 0.5896 MB / 0.8155 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.9218, allocations: 131.7 kB / 0.8157 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.9219, allocations: 58.94 kB / 0.8157 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.922, allocations: 6.547 kB / 0.8157 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005062/0.9225, allocations: 223.8 kB / 0.8159 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.937e-06/0.9225, allocations: 4 kB / 0.8159 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0005474/0.9231, allocations: 226.5 kB / 0.8161 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.9231, allocations: 62.53 kB / 0.8162 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.9235, allocations: 286.2 kB / 0.8165 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.9235, allocations: 40.64 kB / 0.8165 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.9236, allocations: 95.89 kB / 0.8166 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.9237, allocations: 45.8 kB / 0.8167 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.9238, allocations: 7.406 kB / 0.8167 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.9238, allocations: 333.2 kB / 0.817 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.9242, allocations: 116.3 kB / 0.8171 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.9245, allocations: 175.1 kB / 0.8173 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.9248, allocations: 159.7 kB / 0.8174 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.569e-06/0.9248, allocations: 0 / 0.8174 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000932/0.9258, allocations: 439.3 kB / 0.8178 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/0.9259, allocations: 75.72 kB / 0.8179 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.9259, allocations: 3.906 kB / 0.8179 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.9259, allocations: 0 / 0.8179 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.9261, allocations: 33.72 kB / 0.8179 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.884e-06/0.9261, allocations: 0 / 0.8179 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.9266, allocations: 51.84 kB / 0.818 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-05/0.9267, allocations: 59.88 kB / 0.818 GB, free: 9.578 MB / 0.6355 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.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.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.0001458/0.9269, allocations: 134.8 kB / 0.8182 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.9269, allocations: 34.5 kB / 0.8182 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.955e-05/0.927, allocations: 31 kB / 0.8182 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.927, allocations: 0 / 0.8182 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.705e-06/0.9271, allocations: 0 / 0.8182 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.9271, allocations: 3.984 kB / 0.8182 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008532/0.9279, allocations: 0.5926 MB / 0.8188 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.928, allocations: 0 / 0.8188 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.928, allocations: 10.73 kB / 0.8188 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.101e-06/0.928, allocations: 4 kB / 0.8188 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.9281, allocations: 13.67 kB / 0.8188 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.9281, allocations: 3.047 kB / 0.8188 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-06/0.9281, allocations: 0 / 0.8188 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.9286, allocations: 329.6 kB / 0.8192 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.9288, allocations: 186 kB / 0.8193 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.9289, allocations: 14.31 kB / 0.8194 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.9292, allocations: 6.797 kB / 0.8194 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.9293, allocations: 32.41 kB / 0.8194 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/0.9293, allocations: 29.22 kB / 0.8194 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002269/0.9296, allocations: 224 kB / 0.8196 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.54e-07/0.9296, allocations: 0 / 0.8196 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004731/0.9301, allocations: 59.34 kB / 0.8197 GB, free: 8.766 MB / 0.6355 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 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.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.0001778/0.9303, allocations: 137.2 kB / 0.8198 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006868/0.931, allocations: 365.3 kB / 0.8202 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.931, allocations: 0 / 0.8202 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.9312, allocations: 84.77 kB / 0.8202 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.9315, allocations: 37.25 kB / 0.8203 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006878/0.9322, allocations: 302.2 kB / 0.8206 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006703/0.9329, allocations: 0.7631 MB / 0.8213 GB, free: 23.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000213/0.9331, allocations: 43.3 kB / 0.8214 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.9333, allocations: 41.11 kB / 0.8214 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.461e-06/0.9333, allocations: 0 / 0.8214 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of Templates: time 0.01047/0.9438, allocations: 4.748 MB / 0.826 GB, free: 22.39 MB / 0.6511 GB