Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadModel(Buildings): time 4.275/4.275, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.047e-05, allocations: 4 kB / 0.5731 GB, free: 5.738 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1988, allocations: 107.2 MB / 0.6777 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7346/0.9335, allocations: 132.4 MB / 0.807 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.9337, allocations: 72.92 kB / 0.8071 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07119/1.005, allocations: 18.83 MB / 0.8255 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.643e-06/1.005, allocations: 0 / 0.8255 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.84e-05/1.005, allocations: 3.875 kB / 0.8255 GB, free: 9.785 MB / 0.6355 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.000832/1.006, allocations: 0.5977 MB / 0.8261 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/1.006, allocations: 7.594 kB / 0.8261 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.879e-05/1.006, allocations: 23.28 kB / 0.8261 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/1.006, allocations: 252.6 kB / 0.8263 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/1.006, allocations: 18.39 kB / 0.8264 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/1.006, allocations: 18.56 kB / 0.8264 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/1.007, allocations: 449.3 kB / 0.8268 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.007, allocations: 0 / 0.8268 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/1.007, allocations: 7 kB / 0.8268 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.498e-06/1.007, allocations: 7.844 kB / 0.8268 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/1.008, allocations: 312.5 kB / 0.8271 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006615/1.008, allocations: 0.5558 MB / 0.8277 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/1.01, allocations: 1.027 MB / 0.8287 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008466/1.01, allocations: 0.658 MB / 0.8293 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/1.011, allocations: 7.828 kB / 0.8293 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006293/1.011, allocations: 481.5 kB / 0.8298 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 3.563e-06/1.011, allocations: 0 / 0.8298 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.001311/1.013, allocations: 0.785 MB / 0.8305 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.013, allocations: 136.3 kB / 0.8307 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/1.013, allocations: 232.6 kB / 0.8309 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/1.013, allocations: 37.27 kB / 0.8309 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/1.013, allocations: 123.3 kB / 0.831 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.251e-05/1.013, allocations: 69.77 kB / 0.8311 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/1.013, allocations: 11.66 kB / 0.8311 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/1.013, allocations: 345.9 kB / 0.8315 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/1.014, allocations: 326.1 kB / 0.8318 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/1.014, allocations: 417.8 kB / 0.8322 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/1.015, allocations: 360.4 kB / 0.8325 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.195e-06/1.015, allocations: 0 / 0.8325 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001262/1.016, allocations: 0.8131 MB / 0.8333 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/1.016, allocations: 7.188 kB / 0.8333 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.016, allocations: 11.62 kB / 0.8333 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/1.016, allocations: 3.719 kB / 0.8333 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/1.016, allocations: 38.38 kB / 0.8334 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/1.016, allocations: 11.73 kB / 0.8334 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/1.017, allocations: 27.3 kB / 0.8334 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/1.017, allocations: 215.2 kB / 0.8336 GB, free: 6.387 MB / 0.6355 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.0001577/1.017, allocations: 153.4 kB / 0.8337 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/1.017, allocations: 31.16 kB / 0.8338 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/1.017, allocations: 37.89 kB / 0.8338 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.017, allocations: 3.812 kB / 0.8338 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.547e-06/1.017, allocations: 0 / 0.8338 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.511e-06/1.017, allocations: 4.156 kB / 0.8338 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/1.02, allocations: 1.704 MB / 0.8355 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.287e-06/1.02, allocations: 0 / 0.8355 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/1.02, allocations: 22.56 kB / 0.8355 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.13e-06/1.02, allocations: 3.531 kB / 0.8355 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/1.02, allocations: 21.75 kB / 0.8355 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.217e-06/1.02, allocations: 3.812 kB / 0.8355 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.982e-06/1.02, allocations: 0 / 0.8355 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/1.021, allocations: 1.146 MB / 0.8367 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/1.021, allocations: 99.7 kB / 0.8367 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/1.021, allocations: 15.12 kB / 0.8368 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/1.022, allocations: 11.53 kB / 0.8368 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/1.022, allocations: 50.5 kB / 0.8368 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/1.022, allocations: 223 kB / 0.837 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001859/1.022, allocations: 171.4 kB / 0.8372 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.81e-07/1.022, allocations: 0 / 0.8372 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006798/1.023, allocations: 64.06 kB / 0.8373 GB, free: 4.555 MB / 0.6355 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.0001792/1.023, allocations: 137.1 kB / 0.8374 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001218/1.024, allocations: 0.7266 MB / 0.8381 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.512e-06/1.024, allocations: 0 / 0.8381 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006135/1.025, allocations: 398.2 kB / 0.8385 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/1.027, allocations: 313.5 kB / 0.8388 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/1.028, allocations: 0.8521 MB / 0.8396 GB, free: 19.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/1.029, allocations: 0.7688 MB / 0.8404 GB, free: 19.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004245/1.029, allocations: 103.3 kB / 0.8405 GB, free: 19.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/1.03, allocations: 66.09 kB / 0.8405 GB, free: 19.11 MB / 0.6511 GB Notification: Performance of SimCode: time 1.728e-06/1.03, allocations: 0 / 0.8405 GB, free: 19.11 MB / 0.6511 GB Notification: Performance of Templates: time 0.01698/1.047, allocations: 7.828 MB / 0.8482 GB, free: 12.04 MB / 0.6511 GB