Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") Notification: Performance of loadModel(Buildings): time 3.568/3.568, allocations: 403.3 MB / 415.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.969e-05/3.984e-05, allocations: 4 kB / 0.499 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4775, allocations: 92.67 MB / 0.5895 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.6583, allocations: 121.1 MB / 0.7078 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.6587, allocations: 87.92 kB / 0.7079 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.09577/0.7545, allocations: 22.27 MB / 0.7296 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.857e-06/0.7545, allocations: 0 / 0.7296 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.077e-05/0.7545, allocations: 4 kB / 0.7296 GB, free: 14.82 MB / 0.6198 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.001013/0.7556, allocations: 0.5958 MB / 0.7302 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.7556, allocations: 11.97 kB / 0.7302 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.183e-05/0.7557, allocations: 43.56 kB / 0.7303 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.7561, allocations: 237.9 kB / 0.7305 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.7562, allocations: 12.28 kB / 0.7305 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.7562, allocations: 19.94 kB / 0.7305 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007562/0.757, allocations: 458.7 kB / 0.731 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.757, allocations: 0 / 0.731 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.7571, allocations: 4 kB / 0.731 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.7571, allocations: 11.94 kB / 0.731 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.7576, allocations: 319.8 kB / 0.7313 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.7585, allocations: 0.5587 MB / 0.7318 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.7601, allocations: 1.024 MB / 0.7328 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.7612, allocations: 0.6517 MB / 0.7335 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.7612, allocations: 15.88 kB / 0.7335 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007681/0.762, allocations: 470.2 kB / 0.7339 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 3.38e-06/0.762, allocations: 0 / 0.7339 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.001457/0.7635, allocations: 0.7808 MB / 0.7347 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7636, allocations: 152.4 kB / 0.7348 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.764, allocations: 229 kB / 0.7351 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.764, allocations: 37.7 kB / 0.7351 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.7641, allocations: 124.9 kB / 0.7352 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.7643, allocations: 75.06 kB / 0.7353 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.7643, allocations: 4 kB / 0.7353 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.7645, allocations: 342.8 kB / 0.7356 GB, free: 8.375 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.765, allocations: 324.7 kB / 0.7359 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.7657, allocations: 418.5 kB / 0.7363 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/0.7663, allocations: 375.7 kB / 0.7367 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.52e-06/0.7664, allocations: 0 / 0.7367 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001442/0.7678, allocations: 0.8131 MB / 0.7375 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.7678, allocations: 8 kB / 0.7375 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.219e-06/0.7679, allocations: 4.125 kB / 0.7375 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.7679, allocations: 8 kB / 0.7375 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.7681, allocations: 39.84 kB / 0.7375 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.7681, allocations: 7.984 kB / 0.7375 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.7684, allocations: 27.83 kB / 0.7376 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003584/0.7688, allocations: 207.6 kB / 0.7378 GB, free: 6.129 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.0001948/0.769, allocations: 153.2 kB / 0.7379 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.7691, allocations: 27.69 kB / 0.7379 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.96e-05/0.7692, allocations: 41.95 kB / 0.738 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.149e-06/0.7692, allocations: 8 kB / 0.738 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.379e-06/0.7693, allocations: 4 kB / 0.738 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.7693, allocations: 3.984 kB / 0.738 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.772, allocations: 1.695 MB / 0.7396 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.287e-06/0.772, allocations: 4 kB / 0.7396 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/0.7721, allocations: 23.91 kB / 0.7397 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.7721, allocations: 4 kB / 0.7397 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.67e-05/0.7722, allocations: 19.97 kB / 0.7397 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.749e-06/0.7722, allocations: 3.953 kB / 0.7397 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.476e-06/0.7722, allocations: 4 kB / 0.7397 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.7737, allocations: 1.146 MB / 0.7408 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.416e-05/0.7738, allocations: 104.7 kB / 0.7409 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/0.7739, allocations: 12 kB / 0.7409 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.7743, allocations: 8 kB / 0.7409 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.7744, allocations: 47.94 kB / 0.741 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003385/0.7747, allocations: 227.7 kB / 0.7412 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002346/0.775, allocations: 173.3 kB / 0.7414 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.4e-07/0.775, allocations: 3.938 kB / 0.7414 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006709/0.7757, allocations: 64 kB / 0.7414 GB, free: 2.242 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.0002289/0.7759, allocations: 142.1 kB / 0.7416 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.7772, allocations: 0.7321 MB / 0.7423 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.996e-06/0.7773, allocations: 4 kB / 0.7423 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007063/0.778, allocations: 395.8 kB / 0.7427 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.7797, allocations: 370.2 kB / 0.743 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.7819, allocations: 0.8681 MB / 0.7439 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.7824, allocations: 0.753 MB / 0.7446 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004545/0.7828, allocations: 107.3 kB / 0.7447 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.783, allocations: 71.38 kB / 0.7448 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of SimCode: time 1.679e-06/0.783, allocations: 0 / 0.7448 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.01845/0.8015, allocations: 8.041 MB / 0.7526 GB, free: 6.836 MB / 0.6355 GB