Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadModel(Buildings): time 3.778/3.778, allocations: 403.9 MB / 411 MB, free: 364 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.057e-05/2.057e-05, allocations: 3.938 kB / 0.4941 GB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.596/0.5961, allocations: 92.69 MB / 0.5847 GB, free: 2.383 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2441/0.8403, allocations: 120.1 MB / 0.702 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/0.8407, allocations: 75.95 kB / 0.702 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.09235/0.9331, allocations: 18.72 MB / 0.7203 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.112e-06/0.9331, allocations: 0 / 0.7203 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.438e-05/0.9332, allocations: 11.94 kB / 0.7203 GB, free: 7.301 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0009998/0.9342, allocations: 0.5919 MB / 0.7209 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.9342, allocations: 12.03 kB / 0.7209 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.448e-05/0.9343, allocations: 27.62 kB / 0.7209 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.9347, allocations: 253.7 kB / 0.7212 GB, free: 6.309 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.9348, allocations: 4 kB / 0.7212 GB, free: 6.305 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.9349, allocations: 12 kB / 0.7212 GB, free: 6.293 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005304/0.9354, allocations: 308.4 kB / 0.7215 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007121/0.9361, allocations: 442.5 kB / 0.7219 GB, free: 5.543 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.9361, allocations: 0 / 0.7219 GB, free: 5.543 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.9362, allocations: 7.953 kB / 0.7219 GB, free: 5.535 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.611e-06/0.9362, allocations: 4 kB / 0.7219 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008129/0.937, allocations: 0.5124 MB / 0.7224 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.9385, allocations: 0.9943 MB / 0.7234 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009801/0.9395, allocations: 0.6361 MB / 0.724 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.9396, allocations: 15.92 kB / 0.724 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007542/0.9404, allocations: 466.5 kB / 0.7245 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 3.365e-06/0.9404, allocations: 0 / 0.7245 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.001401/0.9418, allocations: 0.7606 MB / 0.7252 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.305e-05/0.9419, allocations: 148.5 kB / 0.7254 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.9422, allocations: 216.4 kB / 0.7256 GB, free: 1.637 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/0.9423, allocations: 41.62 kB / 0.7256 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.9424, allocations: 116.9 kB / 0.7257 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/0.9425, allocations: 75.02 kB / 0.7258 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/0.9426, allocations: 0 / 0.7258 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.9428, allocations: 342.8 kB / 0.7261 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000518/0.9433, allocations: 320.7 kB / 0.7264 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/0.9439, allocations: 405.6 kB / 0.7268 GB, free: 320 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00061/0.9445, allocations: 361.2 kB / 0.7271 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.9445, allocations: 0 / 0.7271 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001453/0.946, allocations: 0.7781 MB / 0.7279 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.9461, allocations: 4 kB / 0.7279 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.9461, allocations: 8.312 kB / 0.7279 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.9461, allocations: 4 kB / 0.7279 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.9463, allocations: 51.84 kB / 0.728 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.9464, allocations: 4 kB / 0.728 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.9467, allocations: 15.83 kB / 0.728 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003336/0.947, allocations: 211.8 kB / 0.7282 GB, free: 14.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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.0001962/0.9473, allocations: 142 kB / 0.7283 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.9473, allocations: 35.56 kB / 0.7284 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.9475, allocations: 33.95 kB / 0.7284 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.962e-06/0.9475, allocations: 8 kB / 0.7284 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.559e-06/0.9475, allocations: 0 / 0.7284 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.937e-06/0.9475, allocations: 4 kB / 0.7284 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/0.9503, allocations: 1.641 MB / 0.73 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.277e-06/0.9503, allocations: 0 / 0.73 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.9504, allocations: 27.91 kB / 0.73 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.491e-06/0.9504, allocations: 0 / 0.73 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.9505, allocations: 15.97 kB / 0.73 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.748e-06/0.9505, allocations: 4 kB / 0.7301 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.604e-06/0.9505, allocations: 0 / 0.7301 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.952, allocations: 1.123 MB / 0.7311 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.9521, allocations: 100.8 kB / 0.7312 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.222e-05/0.9522, allocations: 12 kB / 0.7313 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.9526, allocations: 7.922 kB / 0.7313 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.9527, allocations: 51.94 kB / 0.7313 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003299/0.953, allocations: 219.6 kB / 0.7315 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002235/0.9533, allocations: 164.7 kB / 0.7317 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.62e-07/0.9533, allocations: 0 / 0.7317 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006829/0.954, allocations: 52 kB / 0.7317 GB, free: 11.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002184/0.9542, allocations: 143.7 kB / 0.7319 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.9554, allocations: 0.7103 MB / 0.7326 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.519e-06/0.9555, allocations: 0 / 0.7326 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006946/0.9562, allocations: 390.8 kB / 0.7329 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.9579, allocations: 312.2 kB / 0.7332 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.9596, allocations: 0.8482 MB / 0.7341 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.9601, allocations: 0.7569 MB / 0.7348 GB, free: 7.949 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004488/0.9605, allocations: 107.2 kB / 0.7349 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.9607, allocations: 71.38 kB / 0.735 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of SimCode: time 1.391e-06/0.9607, allocations: 0 / 0.735 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of Templates: time 0.01671/0.9774, allocations: 7.493 MB / 0.7423 GB, free: 376 kB / 0.6198 GB