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.706/3.706, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.046e-05, allocations: 0 / 0.499 GB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/0.5534, allocations: 92.68 MB / 0.5895 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.7536, allocations: 120.8 MB / 0.7075 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.7538, allocations: 71.95 kB / 0.7076 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.07652/0.8304, allocations: 18.82 MB / 0.7259 GB, free: 2.645 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.703e-06/0.8304, allocations: 0 / 0.7259 GB, free: 2.645 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.052e-05/0.8304, allocations: 7.938 kB / 0.7259 GB, free: 2.637 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.001007/0.8315, allocations: 0.5842 MB / 0.7265 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.8315, allocations: 11.97 kB / 0.7265 GB, free: 1.969 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.8316, allocations: 39.56 kB / 0.7266 GB, free: 1.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.832, allocations: 245.8 kB / 0.7268 GB, free: 1.652 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.8321, allocations: 12.28 kB / 0.7268 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.8321, allocations: 16 kB / 0.7268 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.8329, allocations: 458.4 kB / 0.7273 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.8329, allocations: 0 / 0.7273 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.833, allocations: 4 kB / 0.7273 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.833, allocations: 11.94 kB / 0.7273 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005282/0.8335, allocations: 319.8 kB / 0.7276 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.8343, allocations: 0.5548 MB / 0.7281 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.836, allocations: 1.014 MB / 0.7291 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.837, allocations: 0.6531 MB / 0.7298 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.8371, allocations: 8 kB / 0.7298 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007674/0.8379, allocations: 478.1 kB / 0.7302 GB, free: 14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 3.704e-06/0.8379, allocations: 3.938 kB / 0.7302 GB, free: 14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001457/0.8393, allocations: 0.7795 MB / 0.731 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.8395, allocations: 148.4 kB / 0.7311 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.8398, allocations: 229 kB / 0.7313 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.8399, allocations: 37.7 kB / 0.7314 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.84, allocations: 128.9 kB / 0.7315 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.8401, allocations: 71.06 kB / 0.7316 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.8401, allocations: 8 kB / 0.7316 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.8403, allocations: 342.8 kB / 0.7319 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000548/0.8409, allocations: 324.7 kB / 0.7322 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.8415, allocations: 409.6 kB / 0.7326 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/0.8422, allocations: 368.6 kB / 0.733 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.844e-06/0.8422, allocations: 4 kB / 0.733 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001481/0.8437, allocations: 0.8092 MB / 0.7337 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.8437, allocations: 11.94 kB / 0.7338 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.8438, allocations: 8.125 kB / 0.7338 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.8438, allocations: 4 kB / 0.7338 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.844, allocations: 43.84 kB / 0.7338 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.8441, allocations: 7.984 kB / 0.7338 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.8444, allocations: 19.83 kB / 0.7338 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/0.8447, allocations: 219.8 kB / 0.7341 GB, free: 9.973 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.00019/0.8449, allocations: 145.2 kB / 0.7342 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.845, allocations: 27.62 kB / 0.7342 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.8451, allocations: 37.95 kB / 0.7343 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.8451, allocations: 15.94 kB / 0.7343 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.275e-06/0.8452, allocations: 0 / 0.7343 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.622e-06/0.8452, allocations: 3.984 kB / 0.7343 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.8479, allocations: 1.696 MB / 0.7359 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.664e-06/0.8479, allocations: 0 / 0.7359 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.848, allocations: 23.91 kB / 0.7359 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.848, allocations: 4 kB / 0.736 GB, free: 7.957 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.8481, allocations: 19.97 kB / 0.736 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.8481, allocations: 7.953 kB / 0.736 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.442e-06/0.8481, allocations: 0 / 0.736 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.8496, allocations: 1.138 MB / 0.7371 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.8497, allocations: 104.7 kB / 0.7372 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.8498, allocations: 16.12 kB / 0.7372 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.8502, allocations: 12 kB / 0.7372 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.8503, allocations: 51.88 kB / 0.7373 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003459/0.8507, allocations: 223.5 kB / 0.7375 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000227/0.8509, allocations: 169.4 kB / 0.7376 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.64e-07/0.8509, allocations: 0 / 0.7376 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006518/0.8516, allocations: 60 kB / 0.7377 GB, free: 6.109 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.0002202/0.8518, allocations: 142.1 kB / 0.7378 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.8531, allocations: 0.7301 MB / 0.7385 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8531, allocations: 0 / 0.7385 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006984/0.8538, allocations: 402 kB / 0.7389 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.8555, allocations: 323.6 kB / 0.7392 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.8571, allocations: 0.8606 MB / 0.7401 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.8577, allocations: 0.7647 MB / 0.7408 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004012/0.8581, allocations: 102.9 kB / 0.7409 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.8582, allocations: 67.38 kB / 0.741 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of SimCode: time 2.017e-06/0.8583, allocations: 0 / 0.741 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of Templates: time 0.02184/0.8801, allocations: 7.822 MB / 0.7486 GB, free: 10.96 MB / 0.6355 GB