Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.CalendarTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.436/3.436, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.146e-05/4.154e-05, allocations: 4 kB / 436.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2006, allocations: 77.73 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6989/0.8995, allocations: 107.4 MB / 0.6072 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.8999, allocations: 71.95 kB / 0.6073 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02286/0.9228, allocations: 4.442 MB / 0.6116 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.489e-06/0.9228, allocations: 0 / 0.6116 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.9229, allocations: 7.938 kB / 0.6116 GB, free: 8.98 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.001192/0.9241, allocations: 0.5789 MB / 0.6122 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.9241, allocations: 8.031 kB / 0.6122 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.777e-05/0.9242, allocations: 38.55 kB / 0.6122 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.9243, allocations: 31.62 kB / 0.6123 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.9248, allocations: 258.5 kB / 0.6125 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.9249, allocations: 12 kB / 0.6125 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.907e-05/0.925, allocations: 19.98 kB / 0.6125 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.9254, allocations: 133.5 kB / 0.6127 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.9254, allocations: 8 kB / 0.6127 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.9255, allocations: 11.98 kB / 0.6127 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.9255, allocations: 0 / 0.6127 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.9257, allocations: 39.98 kB / 0.6127 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.9262, allocations: 333.2 kB / 0.613 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.9266, allocations: 126.8 kB / 0.6132 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.9268, allocations: 57.11 kB / 0.6132 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.9268, allocations: 7.984 kB / 0.6132 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006068/0.9274, allocations: 212.2 kB / 0.6134 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.735e-06/0.9275, allocations: 0 / 0.6134 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0006837/0.9282, allocations: 217.2 kB / 0.6136 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.9282, allocations: 67.38 kB / 0.6137 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.9286, allocations: 251.3 kB / 0.6139 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.461e-05/0.9287, allocations: 45.64 kB / 0.614 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.472e-05/0.9288, allocations: 89.12 kB / 0.6141 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.9289, allocations: 35.52 kB / 0.6141 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.929, allocations: 8 kB / 0.6141 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.9292, allocations: 334.8 kB / 0.6144 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.9295, allocations: 92.22 kB / 0.6145 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.9299, allocations: 150.2 kB / 0.6147 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.9303, allocations: 154 kB / 0.6148 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9303, allocations: 0 / 0.6148 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001132/0.9315, allocations: 415 kB / 0.6152 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-05/0.9316, allocations: 71.39 kB / 0.6153 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.9316, allocations: 0 / 0.6153 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.9316, allocations: 7.984 kB / 0.6153 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.9319, allocations: 36.09 kB / 0.6153 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.932, allocations: 4 kB / 0.6153 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.9326, allocations: 51.81 kB / 0.6154 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.9327, allocations: 51.98 kB / 0.6154 GB, free: 4.785 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.0002093/0.933, allocations: 131.9 kB / 0.6155 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.9331, allocations: 35.7 kB / 0.6156 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.9332, allocations: 30.03 kB / 0.6156 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.9332, allocations: 0 / 0.6156 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.9332, allocations: 0 / 0.6156 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.9332, allocations: 0 / 0.6156 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.9343, allocations: 0.5563 MB / 0.6161 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.9344, allocations: 0 / 0.6161 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.191e-05/0.9345, allocations: 11.98 kB / 0.6162 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.9345, allocations: 0 / 0.6162 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.9345, allocations: 11.98 kB / 0.6162 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.9345, allocations: 4 kB / 0.6162 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.9345, allocations: 4 kB / 0.6162 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.9352, allocations: 318.9 kB / 0.6165 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.9355, allocations: 152.7 kB / 0.6166 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.897e-05/0.9355, allocations: 8 kB / 0.6166 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.9358, allocations: 15.98 kB / 0.6166 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/0.9359, allocations: 19.97 kB / 0.6167 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.936, allocations: 31.98 kB / 0.6167 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002939/0.9363, allocations: 203.1 kB / 0.6169 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9363, allocations: 3.938 kB / 0.6169 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005284/0.9369, allocations: 51.98 kB / 0.6169 GB, free: 3.117 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.001032/0.9379, allocations: 0.8724 MB / 0.6178 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000872/0.9388, allocations: 348.9 kB / 0.6181 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.9388, allocations: 0 / 0.6181 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.939, allocations: 67.91 kB / 0.6182 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.9394, allocations: 20.88 kB / 0.6182 GB, free: 1.766 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.9406, allocations: 336.1 kB / 0.6185 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.941, allocations: 0.7477 MB / 0.6193 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002321/0.9412, allocations: 45.12 kB / 0.6193 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.9414, allocations: 43.42 kB / 0.6193 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of SimCode: time 3.747e-06/0.9414, allocations: 4 kB / 0.6193 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.9776, allocations: 5.453 MB / 0.6247 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003561/0.9781, allocations: 159 kB / 0.6248 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.354, allocations: 4 kB / 0.6248 GB, free: 10.96 MB / 0.5105 GB