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.66/3.66, allocations: 402.1 MB / 416 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.766e-05, allocations: 4 kB / 0.5003 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1695, allocations: 92.69 MB / 0.5908 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6528/0.8224, allocations: 120.8 MB / 0.7088 GB, free: 5.648 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.8227, allocations: 79.95 kB / 0.7089 GB, free: 5.57 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.07648/0.8992, allocations: 18.94 MB / 0.7274 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.81e-06/0.8992, allocations: 0 / 0.7274 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.8993, allocations: 11.88 kB / 0.7274 GB, free: 2.605 MB / 0.5886 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.001059/0.9003, allocations: 0.6008 MB / 0.728 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.9004, allocations: 8.031 kB / 0.728 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.9005, allocations: 31.58 kB / 0.728 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.9009, allocations: 241.8 kB / 0.7282 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.9009, allocations: 20.22 kB / 0.7283 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.901, allocations: 19.98 kB / 0.7283 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007845/0.9018, allocations: 454.7 kB / 0.7287 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.9018, allocations: 0 / 0.7287 GB, free: 1.117 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.9019, allocations: 8 kB / 0.7287 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.514e-06/0.9019, allocations: 8 kB / 0.7287 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/0.9025, allocations: 323.7 kB / 0.729 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008322/0.9033, allocations: 0.5509 MB / 0.7296 GB, free: 180 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.9051, allocations: 1.033 MB / 0.7306 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.9051, allocations: 7.938 kB / 0.7306 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007841/0.9059, allocations: 478.3 kB / 0.7311 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.876e-06/0.9059, allocations: 0 / 0.7311 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.002076/0.908, allocations: 1.11 MB / 0.7321 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.964e-05/0.9081, allocations: 136.5 kB / 0.7323 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.9085, allocations: 240 kB / 0.7325 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.9085, allocations: 33.7 kB / 0.7325 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.9087, allocations: 121.1 kB / 0.7326 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.9088, allocations: 75.06 kB / 0.7327 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.9088, allocations: 12 kB / 0.7327 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.909, allocations: 346.8 kB / 0.7331 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005735/0.9096, allocations: 324.7 kB / 0.7334 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/0.9103, allocations: 426.4 kB / 0.7338 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.9109, allocations: 360 kB / 0.7341 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.415e-06/0.911, allocations: 0 / 0.7341 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001546/0.9125, allocations: 0.8295 MB / 0.7349 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.9125, allocations: 8 kB / 0.7349 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.224e-06/0.9126, allocations: 0 / 0.7349 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.9126, allocations: 8 kB / 0.7349 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.9128, allocations: 39.84 kB / 0.735 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.9128, allocations: 4 kB / 0.735 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.9131, allocations: 27.86 kB / 0.735 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/0.9135, allocations: 212.5 kB / 0.7352 GB, free: 10.24 MB / 0.6042 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.0003127/0.9138, allocations: 205.6 kB / 0.7354 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.072e-05/0.9139, allocations: 27.62 kB / 0.7354 GB, free: 10 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.939e-05/0.914, allocations: 38.17 kB / 0.7355 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.914, allocations: 8 kB / 0.7355 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.3e-06/0.914, allocations: 0 / 0.7355 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.9141, allocations: 0 / 0.7355 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.9169, allocations: 1.705 MB / 0.7371 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.366e-06/0.9169, allocations: 0 / 0.7371 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.917, allocations: 23.91 kB / 0.7372 GB, free: 8.168 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.072e-06/0.917, allocations: 4 kB / 0.7372 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/0.9171, allocations: 19.97 kB / 0.7372 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-06/0.9171, allocations: 4 kB / 0.7372 GB, free: 8.141 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.973e-06/0.9171, allocations: 3.953 kB / 0.7372 GB, free: 8.137 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.9187, allocations: 1.15 MB / 0.7383 GB, free: 6.949 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.9188, allocations: 104.7 kB / 0.7384 GB, free: 6.828 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.9189, allocations: 11.98 kB / 0.7384 GB, free: 6.816 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.9193, allocations: 8 kB / 0.7384 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.9194, allocations: 47.94 kB / 0.7385 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003587/0.9198, allocations: 227.7 kB / 0.7387 GB, free: 6.539 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002442/0.9201, allocations: 172.5 kB / 0.7389 GB, free: 6.367 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.07e-07/0.9201, allocations: 3.938 kB / 0.7389 GB, free: 6.363 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006839/0.9208, allocations: 60 kB / 0.7389 GB, free: 6.305 MB / 0.6042 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.0002337/0.921, allocations: 154 kB / 0.7391 GB, free: 6.148 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.9224, allocations: 0.7337 MB / 0.7398 GB, free: 5.414 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.225e-06/0.9224, allocations: 3.938 kB / 0.7398 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007402/0.9231, allocations: 404.2 kB / 0.7402 GB, free: 5.016 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.9249, allocations: 315.6 kB / 0.7405 GB, free: 4.719 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.9268, allocations: 1.02 MB / 0.7415 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.9274, allocations: 0.7649 MB / 0.7422 GB, free: 2.883 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004207/0.9278, allocations: 94.92 kB / 0.7423 GB, free: 2.785 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.928, allocations: 63.39 kB / 0.7424 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of SimCode: time 1.652e-06/0.928, allocations: 0 / 0.7424 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of Templates: time 0.01846/0.9465, allocations: 7.858 MB / 0.75 GB, free: 10.95 MB / 0.6198 GB