Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadModel(Buildings): time 4.308/4.308, allocations: 431.3 MB / 445.8 MB, free: 5.426 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.94e-05, allocations: 4 kB / 0.5354 GB, free: 14.87 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6346/0.6346, allocations: 98.71 MB / 0.6318 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.002131/0.6368, allocations: 1.124 MB / 0.6329 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007949/0.6377, allocations: 255.8 kB / 0.6331 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.6378, allocations: 0 / 0.6331 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.6379, allocations: 7.875 kB / 0.6331 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.846e-05/0.638, allocations: 19.95 kB / 0.6332 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.6383, allocations: 67.8 kB / 0.6332 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.6386, allocations: 116.2 kB / 0.6333 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.6387, allocations: 0 / 0.6333 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.6388, allocations: 83.88 kB / 0.6334 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.639, allocations: 99.78 kB / 0.6335 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.6391, allocations: 8 kB / 0.6335 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.6391, allocations: 8 kB / 0.6335 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.6393, allocations: 75.8 kB / 0.6336 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.849e-05/0.6394, allocations: 16 kB / 0.6336 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.6396, allocations: 178 kB / 0.6338 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.6396, allocations: 0 / 0.6338 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6397, allocations: 0 / 0.6338 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.6397, allocations: 0 / 0.6338 GB, free: 9.93 MB / 0.5105 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.001335/0.641, allocations: 0.6007 MB / 0.6344 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.6411, allocations: 11.97 kB / 0.6344 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.842e-05/0.6412, allocations: 31.62 kB / 0.6344 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.6416, allocations: 245.8 kB / 0.6346 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.6417, allocations: 16.27 kB / 0.6347 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.6418, allocations: 27.88 kB / 0.6347 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009327/0.6427, allocations: 462.6 kB / 0.6351 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.6427, allocations: 0 / 0.6351 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.6428, allocations: 4 kB / 0.6351 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.6428, allocations: 4 kB / 0.6351 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006654/0.6435, allocations: 326.7 kB / 0.6354 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009512/0.6444, allocations: 0.5663 MB / 0.636 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.6465, allocations: 1.033 MB / 0.637 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.885e-05/0.6465, allocations: 12.67 kB / 0.637 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009435/0.6475, allocations: 474.1 kB / 0.6375 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 2.965e-06/0.6475, allocations: 0 / 0.6375 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.002486/0.65, allocations: 1.102 MB / 0.6385 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/0.6501, allocations: 144.5 kB / 0.6387 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.6505, allocations: 228 kB / 0.6389 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.6506, allocations: 37.7 kB / 0.6389 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.6507, allocations: 129.1 kB / 0.6391 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.6508, allocations: 79.14 kB / 0.6391 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.6509, allocations: 8 kB / 0.6391 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.651, allocations: 342.8 kB / 0.6395 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000658/0.6517, allocations: 332.7 kB / 0.6398 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/0.6524, allocations: 426.3 kB / 0.6402 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007469/0.6532, allocations: 351.8 kB / 0.6405 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.6532, allocations: 4 kB / 0.6405 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001752/0.655, allocations: 0.829 MB / 0.6413 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.655, allocations: 8 kB / 0.6414 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.655, allocations: 0 / 0.6414 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.6551, allocations: 8.047 kB / 0.6414 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.6554, allocations: 47.81 kB / 0.6414 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.6554, allocations: 11.94 kB / 0.6414 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.6558, allocations: 23.75 kB / 0.6414 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000498/0.6564, allocations: 276 kB / 0.6417 GB, free: 1.461 MB / 0.5105 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.0003117/0.6567, allocations: 193.6 kB / 0.6419 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/0.6568, allocations: 31.7 kB / 0.6419 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.79e-05/0.6569, allocations: 30.19 kB / 0.6419 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.6569, allocations: 4 kB / 0.642 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.6569, allocations: 0 / 0.642 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.6569, allocations: 7.984 kB / 0.642 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.6601, allocations: 1.711 MB / 0.6436 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.6602, allocations: 0 / 0.6436 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.6602, allocations: 23.91 kB / 0.6437 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.6603, allocations: 4 kB / 0.6437 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.6603, allocations: 15.98 kB / 0.6437 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.6603, allocations: 4 kB / 0.6437 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.6604, allocations: 3.984 kB / 0.6437 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.6622, allocations: 1.154 MB / 0.6448 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.6623, allocations: 104.8 kB / 0.6449 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.6624, allocations: 15.95 kB / 0.6449 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.6629, allocations: 15.98 kB / 0.6449 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.6631, allocations: 47.94 kB / 0.645 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005141/0.6636, allocations: 279.4 kB / 0.6452 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002476/0.6639, allocations: 172.5 kB / 0.6454 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6639, allocations: 0 / 0.6454 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000661/0.6645, allocations: 60 kB / 0.6455 GB, free: 13.48 MB / 0.5261 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.0002355/0.6648, allocations: 140.2 kB / 0.6456 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.6664, allocations: 0.7337 MB / 0.6463 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6665, allocations: 0 / 0.6463 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009182/0.6674, allocations: 409.6 kB / 0.6467 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002815/0.6702, allocations: 315.7 kB / 0.647 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.6725, allocations: 1.009 MB / 0.648 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.6729, allocations: 0.7686 MB / 0.6487 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005253/0.6735, allocations: 98.92 kB / 0.6488 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.6737, allocations: 67.38 kB / 0.6489 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/0.6737, allocations: 7.875 kB / 0.6489 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of Templates: time 0.02132/0.695, allocations: 8.148 MB / 0.6569 GB, free: 1.828 MB / 0.5261 GB