Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.DayType") Notification: Performance of loadModel(Buildings): time 4.798/4.798, allocations: 458.9 MB / 473.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.224e-05, allocations: 9.234 kB / 0.5697 GB, free: 9.777 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2394, allocations: 106.2 MB / 0.6734 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType): time 0.001965/0.2415, allocations: 1.115 MB / 0.6745 GB, free: 1.477 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0008327/0.2423, allocations: 255.1 kB / 0.6748 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.2424, allocations: 4 kB / 0.6748 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.2426, allocations: 7.922 kB / 0.6748 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 9.121e-05/0.2427, allocations: 19.91 kB / 0.6748 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.2431, allocations: 67.86 kB / 0.6749 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.2434, allocations: 116.2 kB / 0.675 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.2435, allocations: 4 kB / 0.675 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2436, allocations: 75.88 kB / 0.6751 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.2438, allocations: 99.78 kB / 0.6752 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 5.688e-05/0.2439, allocations: 8 kB / 0.6752 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.2439, allocations: 12 kB / 0.6752 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.2441, allocations: 71.8 kB / 0.6752 GB, free: 0.75 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 7.627e-05/0.2441, allocations: 16 kB / 0.6753 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.2445, allocations: 207.5 kB / 0.6755 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2445, allocations: 3.938 kB / 0.6755 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.975e-06/0.2445, allocations: 0 / 0.6755 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.2445, allocations: 0 / 0.6755 GB, free: 0.5273 MB / 0.5417 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.001455/0.246, allocations: 0.6049 MB / 0.676 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.2461, allocations: 8.031 kB / 0.6761 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.2462, allocations: 27.62 kB / 0.6761 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.2466, allocations: 265.6 kB / 0.6763 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.2467, allocations: 16.27 kB / 0.6764 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.2468, allocations: 20 kB / 0.6764 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.2478, allocations: 458.6 kB / 0.6768 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2478, allocations: 0 / 0.6768 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.2479, allocations: 8 kB / 0.6768 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.2479, allocations: 4 kB / 0.6768 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006745/0.2486, allocations: 327.8 kB / 0.6771 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009856/0.2496, allocations: 0.5624 MB / 0.6777 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.2517, allocations: 1.03 MB / 0.6787 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.605e-05/0.2518, allocations: 4.5 kB / 0.6787 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009606/0.2528, allocations: 486.5 kB / 0.6792 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=37): time 3.016e-06/0.2528, allocations: 0 / 0.6792 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37): time 0.002537/0.2554, allocations: 1.101 MB / 0.6802 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.2555, allocations: 144.4 kB / 0.6804 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.2559, allocations: 228 kB / 0.6806 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.256, allocations: 37.7 kB / 0.6806 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.2561, allocations: 125.1 kB / 0.6807 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.2563, allocations: 83.08 kB / 0.6808 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.2563, allocations: 4 kB / 0.6808 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2565, allocations: 354.8 kB / 0.6812 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.2572, allocations: 320.7 kB / 0.6815 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007822/0.258, allocations: 426.5 kB / 0.6819 GB, free: 9.605 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000789/0.2588, allocations: 363.7 kB / 0.6822 GB, free: 9.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.2588, allocations: 0 / 0.6822 GB, free: 9.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001805/0.2606, allocations: 0.8287 MB / 0.683 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.2607, allocations: 4 kB / 0.683 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.2607, allocations: 4 kB / 0.683 GB, free: 8.406 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.2607, allocations: 8.125 kB / 0.683 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.261, allocations: 43.89 kB / 0.6831 GB, free: 8.355 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.2611, allocations: 8.25 kB / 0.6831 GB, free: 8.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.2615, allocations: 31.69 kB / 0.6831 GB, free: 8.316 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005073/0.262, allocations: 272 kB / 0.6834 GB, free: 8.051 MB / 0.5573 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.0003267/0.2624, allocations: 185.7 kB / 0.6836 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.2625, allocations: 31.7 kB / 0.6836 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2626, allocations: 34.19 kB / 0.6836 GB, free: 7.797 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.2626, allocations: 8.219 kB / 0.6836 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.2626, allocations: 7.984 kB / 0.6836 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2627, allocations: 3.938 kB / 0.6836 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/0.266, allocations: 1.714 MB / 0.6853 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.2661, allocations: 4.125 kB / 0.6853 GB, free: 6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.474e-05/0.2662, allocations: 27.91 kB / 0.6854 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.2662, allocations: 8 kB / 0.6854 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/0.2663, allocations: 19.98 kB / 0.6854 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.2663, allocations: 3.984 kB / 0.6854 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.2663, allocations: 4 kB / 0.6854 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.2681, allocations: 1.153 MB / 0.6865 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.2683, allocations: 100.8 kB / 0.6866 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.2684, allocations: 11.95 kB / 0.6866 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.2688, allocations: 11.98 kB / 0.6866 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.269, allocations: 47.94 kB / 0.6867 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000515/0.2695, allocations: 279.4 kB / 0.6869 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002847/0.2698, allocations: 172.5 kB / 0.6871 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2698, allocations: 4 kB / 0.6871 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006644/0.2705, allocations: 64 kB / 0.6872 GB, free: 4.051 MB / 0.5573 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.0002628/0.2708, allocations: 139.1 kB / 0.6873 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.2725, allocations: 0.726 MB / 0.688 GB, free: 3.176 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2726, allocations: 0 / 0.688 GB, free: 3.176 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009247/0.2735, allocations: 409.1 kB / 0.6884 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/0.2763, allocations: 370.9 kB / 0.6888 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.2785, allocations: 1.025 MB / 0.6898 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.2791, allocations: 0.7608 MB / 0.6905 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005651/0.2796, allocations: 98.91 kB / 0.6906 GB, free: 496 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.2799, allocations: 71.38 kB / 0.6907 GB, free: 428 kB / 0.5573 GB Notification: Performance of SimCode: time 1.332e-06/0.2799, allocations: 0 / 0.6907 GB, free: 428 kB / 0.5573 GB Notification: Performance of Templates: time 0.02252/0.3024, allocations: 8.331 MB / 0.6988 GB, free: 8.191 MB / 0.573 GB