Running command: "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.CalendarTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.781/2.781, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.752e-05, allocations: 4.531 kB / 370.6 MB, free: 7.855 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1931, allocations: 67 MB / 437.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5871/0.7803, allocations: 99.45 MB / 0.5245 GB, free: 17.02 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.7807, allocations: 72.98 kB / 0.5246 GB, free: 17.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02346/0.8041, allocations: 4.437 MB / 0.5289 GB, free: 32.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.8042, allocations: 4 kB / 0.5289 GB, free: 32.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.8043, allocations: 3.438 kB / 0.5289 GB, free: 32.45 MB / 458.7 MB 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.001368/0.8056, allocations: 0.5829 MB / 0.5295 GB, free: 31.92 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.8057, allocations: 12.66 kB / 0.5295 GB, free: 31.92 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.8058, allocations: 35.59 kB / 0.5295 GB, free: 31.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.8059, allocations: 30.5 kB / 0.5296 GB, free: 31.87 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.8064, allocations: 258.4 kB / 0.5298 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.8064, allocations: 14.02 kB / 0.5298 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.8066, allocations: 18.48 kB / 0.5298 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.807, allocations: 142.3 kB / 0.53 GB, free: 31.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.807, allocations: 1.469 kB / 0.53 GB, free: 31.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.807, allocations: 9.453 kB / 0.53 GB, free: 31.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.8071, allocations: 2.125 kB / 0.53 GB, free: 31.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.8073, allocations: 49.25 kB / 0.53 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.8078, allocations: 331.2 kB / 0.5304 GB, free: 31.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.8082, allocations: 124 kB / 0.5305 GB, free: 31.37 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.8084, allocations: 52.11 kB / 0.5305 GB, free: 31.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.8084, allocations: 2.938 kB / 0.5305 GB, free: 31.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005733/0.809, allocations: 216.8 kB / 0.5307 GB, free: 31.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 2.736e-06/0.809, allocations: 0 / 0.5307 GB, free: 31.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007778/0.8098, allocations: 221.6 kB / 0.5309 GB, free: 31.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.8099, allocations: 61.7 kB / 0.531 GB, free: 31.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.8103, allocations: 252 kB / 0.5312 GB, free: 31.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/0.8105, allocations: 41.09 kB / 0.5313 GB, free: 31.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.484e-05/0.8106, allocations: 98.83 kB / 0.5314 GB, free: 30.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.8106, allocations: 37.2 kB / 0.5314 GB, free: 30.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.8107, allocations: 8.062 kB / 0.5314 GB, free: 30.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.8109, allocations: 322.1 kB / 0.5317 GB, free: 30.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.8112, allocations: 94.69 kB / 0.5318 GB, free: 30.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.8116, allocations: 154.6 kB / 0.532 GB, free: 30.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.812, allocations: 152.8 kB / 0.5321 GB, free: 30.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.812, allocations: 1.531 kB / 0.5321 GB, free: 30.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001113/0.8131, allocations: 411.9 kB / 0.5325 GB, free: 30.38 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-05/0.8133, allocations: 73.59 kB / 0.5326 GB, free: 30.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.8133, allocations: 1.844 kB / 0.5326 GB, free: 30.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.8133, allocations: 5.625 kB / 0.5326 GB, free: 30.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.8136, allocations: 32.69 kB / 0.5326 GB, free: 30.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.8136, allocations: 9.516 kB / 0.5326 GB, free: 30.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006969/0.8143, allocations: 45.84 kB / 0.5327 GB, free: 30.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.8145, allocations: 55.45 kB / 0.5327 GB, free: 30.3 MB / 458.7 MB 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.0002412/0.8147, allocations: 133.7 kB / 0.5328 GB, free: 30.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.8148, allocations: 23.75 kB / 0.5329 GB, free: 30.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.815, allocations: 30.92 kB / 0.5329 GB, free: 30.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.815, allocations: 2.469 kB / 0.5329 GB, free: 30.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.815, allocations: 0 / 0.5329 GB, free: 30.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.815, allocations: 6.109 kB / 0.5329 GB, free: 30.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.8162, allocations: 0.5567 MB / 0.5334 GB, free: 29.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.8162, allocations: 0 / 0.5334 GB, free: 29.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/0.8163, allocations: 10.48 kB / 0.5335 GB, free: 29.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.8164, allocations: 2.031 kB / 0.5335 GB, free: 29.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.8164, allocations: 18.56 kB / 0.5335 GB, free: 29.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.8164, allocations: 2.312 kB / 0.5335 GB, free: 29.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8164, allocations: 0 / 0.5335 GB, free: 29.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.8171, allocations: 318.3 kB / 0.5338 GB, free: 29.69 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.8174, allocations: 158.8 kB / 0.5339 GB, free: 29.58 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/0.8175, allocations: 9.812 kB / 0.5339 GB, free: 29.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.8178, allocations: 17.28 kB / 0.534 GB, free: 29.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.8179, allocations: 20.23 kB / 0.534 GB, free: 29.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/0.818, allocations: 28.31 kB / 0.534 GB, free: 29.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003157/0.8183, allocations: 202.7 kB / 0.5342 GB, free: 29.49 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8183, allocations: 1.188 kB / 0.5342 GB, free: 29.49 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000634/0.8189, allocations: 54.67 kB / 0.5343 GB, free: 29.49 MB / 458.7 MB 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.001089/0.8201, allocations: 0.8781 MB / 0.5351 GB, free: 28.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009545/0.821, allocations: 342.5 kB / 0.5354 GB, free: 28.67 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.8211, allocations: 1.312 kB / 0.5354 GB, free: 28.67 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.8213, allocations: 64.41 kB / 0.5355 GB, free: 28.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.8217, allocations: 26.88 kB / 0.5355 GB, free: 28.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.8229, allocations: 345.6 kB / 0.5359 GB, free: 28.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.8233, allocations: 0.7514 MB / 0.5366 GB, free: 27.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002451/0.8236, allocations: 35.86 kB / 0.5366 GB, free: 27.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.8238, allocations: 52.47 kB / 0.5367 GB, free: 27.77 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/0.8238, allocations: 0 / 0.5367 GB, free: 27.77 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.8595, allocations: 5.41 MB / 0.542 GB, free: 27.11 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/0.8598, allocations: 144.6 kB / 0.5421 GB, free: 26.88 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/3.16, allocations: 0 / 0.5421 GB, free: 26.88 MB / 458.7 MB