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.683/3.683, allocations: 402 MB / 416.6 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.826e-05/3.845e-05, allocations: 7.984 kB / 0.5009 GB, free: 8.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2083, allocations: 92.68 MB / 0.5915 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001965/0.2103, allocations: 1.119 MB / 0.5926 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0007284/0.2111, allocations: 251.6 kB / 0.5928 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.2111, allocations: 0 / 0.5928 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.145e-05/0.2112, allocations: 3.938 kB / 0.5928 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.785e-05/0.2113, allocations: 19.95 kB / 0.5928 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.2117, allocations: 71.8 kB / 0.5929 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.212, allocations: 116.2 kB / 0.593 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.212, allocations: 4 kB / 0.593 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.2121, allocations: 83.83 kB / 0.5931 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.2124, allocations: 99.77 kB / 0.5932 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.457e-05/0.2125, allocations: 8 kB / 0.5932 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.2125, allocations: 8 kB / 0.5932 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.2127, allocations: 75.8 kB / 0.5933 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.2128, allocations: 16 kB / 0.5933 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.213, allocations: 179.9 kB / 0.5934 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2131, allocations: 4 kB / 0.5935 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2131, allocations: 0 / 0.5935 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.2131, allocations: 0 / 0.5935 GB, free: 9.312 MB / 0.4948 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.001287/0.2144, allocations: 0.5813 MB / 0.594 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.2144, allocations: 8.031 kB / 0.594 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.2145, allocations: 39.56 kB / 0.5941 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.215, allocations: 253.6 kB / 0.5943 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.215, allocations: 20.22 kB / 0.5943 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.2151, allocations: 23.98 kB / 0.5943 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.216, allocations: 458.7 kB / 0.5948 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2161, allocations: 0 / 0.5948 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.2161, allocations: 7.938 kB / 0.5948 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.2161, allocations: 4 kB / 0.5948 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006554/0.2168, allocations: 319.8 kB / 0.5951 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009577/0.2178, allocations: 0.5701 MB / 0.5957 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.2198, allocations: 1.025 MB / 0.5967 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.2198, allocations: 8.203 kB / 0.5967 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009203/0.2208, allocations: 478.5 kB / 0.5971 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=37): time 2.956e-06/0.2208, allocations: 0 / 0.5971 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37): time 0.002397/0.2232, allocations: 1.105 MB / 0.5982 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.2233, allocations: 144.5 kB / 0.5983 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.2237, allocations: 232 kB / 0.5986 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.2237, allocations: 29.7 kB / 0.5986 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2239, allocations: 125.1 kB / 0.5987 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.224, allocations: 82.98 kB / 0.5988 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.2241, allocations: 8 kB / 0.5988 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2242, allocations: 342.8 kB / 0.5991 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000648/0.2249, allocations: 328.7 kB / 0.5994 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007294/0.2256, allocations: 422.4 kB / 0.5998 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007405/0.2264, allocations: 359.9 kB / 0.6002 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2264, allocations: 0 / 0.6002 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001757/0.2282, allocations: 0.8288 MB / 0.601 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.2282, allocations: 8 kB / 0.601 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2282, allocations: 0 / 0.601 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.2283, allocations: 8 kB / 0.601 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.2286, allocations: 39.91 kB / 0.601 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.2286, allocations: 15.92 kB / 0.6011 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.2291, allocations: 31.69 kB / 0.6011 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004802/0.2296, allocations: 263.4 kB / 0.6013 GB, free: 0.8789 MB / 0.4948 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.0003144/0.2299, allocations: 198 kB / 0.6015 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.23, allocations: 27.72 kB / 0.6016 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.2301, allocations: 38.17 kB / 0.6016 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2301, allocations: 3.984 kB / 0.6016 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2301, allocations: 0 / 0.6016 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.2302, allocations: 112.7 kB / 0.6017 GB, free: 488 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/0.2303, allocations: 12 kB / 0.6017 GB, free: 476 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.2306, allocations: 7.984 kB / 0.6017 GB, free: 468 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.2308, allocations: 55.89 kB / 0.6018 GB, free: 412 kB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.5289/0.7596, allocations: 1.12 MB / 0.6029 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001939/0.7616, allocations: 1.236 MB / 0.6041 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008488/0.7625, allocations: 389.5 kB / 0.6045 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002446/0.7628, allocations: 172.4 kB / 0.6046 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of Backend: time 6.61e-07/0.7628, allocations: 0 / 0.6046 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.7643, allocations: 495.6 kB / 0.6051 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of SimCode: time 0.002396/0.7667, allocations: 1.065 MB / 0.6061 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.01873/0.7855, allocations: 6.384 MB / 0.6124 GB, free: 10.86 MB / 0.4948 GB