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.714/3.714, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.777e-05, allocations: 0 / 0.499 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5245, allocations: 92.68 MB / 0.5895 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2391/0.7636, allocations: 120.8 MB / 0.7075 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.7639, allocations: 67.97 kB / 0.7075 GB, free: 5.523 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.08668/0.8506, allocations: 18.82 MB / 0.7259 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.763e-06/0.8507, allocations: 0 / 0.7259 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.251e-05/0.8508, allocations: 11.94 kB / 0.7259 GB, free: 2.668 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.00201/0.8528, allocations: 0.5881 MB / 0.7265 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.182e-05/0.8529, allocations: 8.031 kB / 0.7265 GB, free: 2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.8531, allocations: 31.58 kB / 0.7265 GB, free: 1.969 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007948/0.8539, allocations: 249.7 kB / 0.7268 GB, free: 1.688 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.709e-05/0.854, allocations: 16.28 kB / 0.7268 GB, free: 1.672 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.8541, allocations: 19.98 kB / 0.7268 GB, free: 1.652 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.8558, allocations: 454.7 kB / 0.7272 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.8559, allocations: 0 / 0.7272 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.856, allocations: 11.92 kB / 0.7272 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.856, allocations: 7.953 kB / 0.7273 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.8572, allocations: 323.8 kB / 0.7276 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.859, allocations: 0.547 MB / 0.7281 GB, free: 256 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003648/0.8627, allocations: 1.037 MB / 0.7291 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/0.865, allocations: 0.6479 MB / 0.7297 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.8651, allocations: 11.98 kB / 0.7298 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001661/0.8668, allocations: 470.3 kB / 0.7302 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 6.09e-06/0.8668, allocations: 0 / 0.7302 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.003176/0.87, allocations: 0.7811 MB / 0.731 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000189/0.8703, allocations: 148.5 kB / 0.7311 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000656/0.8709, allocations: 232.7 kB / 0.7313 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.8711, allocations: 41.64 kB / 0.7314 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.8713, allocations: 120.9 kB / 0.7315 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.8715, allocations: 75.06 kB / 0.7316 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.8716, allocations: 8 kB / 0.7316 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000323/0.872, allocations: 342.8 kB / 0.7319 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.8733, allocations: 324.7 kB / 0.7322 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.8747, allocations: 418.5 kB / 0.7326 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.8761, allocations: 355.9 kB / 0.7329 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.835e-06/0.8762, allocations: 4 kB / 0.7329 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003296/0.8795, allocations: 0.8209 MB / 0.7337 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.8795, allocations: 4 kB / 0.7337 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.8796, allocations: 8.125 kB / 0.7338 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.764e-05/0.8796, allocations: 4 kB / 0.7338 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.8801, allocations: 43.89 kB / 0.7338 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.031e-05/0.8801, allocations: 7.938 kB / 0.7338 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/0.8808, allocations: 27.89 kB / 0.7338 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007157/0.8816, allocations: 215.7 kB / 0.734 GB, free: 9.984 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.0003619/0.8819, allocations: 144.9 kB / 0.7342 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.8821, allocations: 31.61 kB / 0.7342 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.8823, allocations: 33.97 kB / 0.7342 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.8824, allocations: 8 kB / 0.7342 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.8824, allocations: 288 / 0.7342 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.8825, allocations: 7.984 kB / 0.7343 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005833/0.8883, allocations: 1.702 MB / 0.7359 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.759e-06/0.8883, allocations: 0 / 0.7359 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.8885, allocations: 23.91 kB / 0.7359 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.832e-05/0.8885, allocations: 4 kB / 0.7359 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-05/0.8886, allocations: 19.98 kB / 0.736 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/0.8887, allocations: 3.953 kB / 0.736 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/0.8887, allocations: 7.984 kB / 0.736 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003266/0.892, allocations: 1.142 MB / 0.7371 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.8922, allocations: 108.7 kB / 0.7372 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.8924, allocations: 8 kB / 0.7372 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008501/0.8933, allocations: 19.92 kB / 0.7372 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.8935, allocations: 47.94 kB / 0.7373 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007123/0.8943, allocations: 219.5 kB / 0.7375 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00046/0.8948, allocations: 173.4 kB / 0.7376 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.194e-06/0.8948, allocations: 0 / 0.7376 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001604/0.8964, 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.0003996/0.8968, allocations: 146.1 kB / 0.7378 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002819/0.8997, allocations: 0.7298 MB / 0.7386 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.782e-06/0.8997, allocations: 0 / 0.7386 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/0.9013, allocations: 402 kB / 0.7389 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/0.9051, allocations: 316.9 kB / 0.7392 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.9086, allocations: 0.8603 MB / 0.7401 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009223/0.9096, allocations: 0.7647 MB / 0.7408 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008296/0.9104, allocations: 102.9 kB / 0.7409 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.9108, allocations: 67.38 kB / 0.741 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of SimCode: time 2.501e-06/0.9108, allocations: 0 / 0.741 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of Templates: time 0.02061/0.9315, allocations: 7.848 MB / 0.7487 GB, free: 10.94 MB / 0.6355 GB