Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Discrete_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.827/3.827, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.419e-05, allocations: 4 kB / 0.4991 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6581/0.6582, allocations: 92.68 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2512/0.9095, allocations: 121.1 MB / 0.7079 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/0.9099, allocations: 83.94 kB / 0.708 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1041/1.014, allocations: 22.26 MB / 0.7297 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.366e-06/1.014, allocations: 4 kB / 0.7297 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.171e-05/1.014, allocations: 7.938 kB / 0.7297 GB, free: 14.86 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.001319/1.015, allocations: 0.6097 MB / 0.7303 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/1.015, allocations: 8.031 kB / 0.7303 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/1.016, allocations: 54.5 kB / 0.7304 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.615e-05/1.016, allocations: 27.62 kB / 0.7304 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/1.016, allocations: 253.8 kB / 0.7306 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/1.016, allocations: 12.28 kB / 0.7307 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/1.016, allocations: 16 kB / 0.7307 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/1.017, allocations: 450.7 kB / 0.7311 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/1.017, allocations: 4 kB / 0.7311 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/1.017, allocations: 4 kB / 0.7311 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/1.017, allocations: 11.89 kB / 0.7311 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006802/1.018, allocations: 315.8 kB / 0.7314 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009937/1.019, allocations: 0.5586 MB / 0.732 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/1.021, allocations: 1.029 MB / 0.733 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/1.022, allocations: 0.6531 MB / 0.7336 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.645e-05/1.023, allocations: 4 kB / 0.7336 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009323/1.023, allocations: 482.2 kB / 0.7341 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 3.687e-06/1.023, allocations: 0 / 0.7341 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.002057/1.026, allocations: 0.7824 MB / 0.7348 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/1.026, allocations: 144.5 kB / 0.735 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004823/1.026, allocations: 229 kB / 0.7352 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/1.026, allocations: 33.7 kB / 0.7352 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/1.026, allocations: 124.9 kB / 0.7353 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/1.027, allocations: 79.05 kB / 0.7354 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/1.027, allocations: 8 kB / 0.7354 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.027, allocations: 338.8 kB / 0.7358 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/1.027, allocations: 328.7 kB / 0.7361 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/1.028, allocations: 422.4 kB / 0.7365 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/1.029, allocations: 355.8 kB / 0.7368 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.029, allocations: 0 / 0.7368 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001903/1.031, allocations: 0.8248 MB / 0.7376 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/1.031, allocations: 8 kB / 0.7376 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.031, allocations: 4 kB / 0.7376 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/1.031, allocations: 8.094 kB / 0.7376 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/1.031, allocations: 43.84 kB / 0.7377 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/1.031, allocations: 4 kB / 0.7377 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/1.032, allocations: 27.81 kB / 0.7377 GB, free: 6.309 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004112/1.032, allocations: 211.6 kB / 0.7379 GB, free: 6.102 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.0002112/1.032, allocations: 153 kB / 0.7381 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.492e-05/1.033, allocations: 27.62 kB / 0.7381 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/1.033, allocations: 38.23 kB / 0.7381 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/1.033, allocations: 8 kB / 0.7381 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.033, allocations: 7.984 kB / 0.7381 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/1.033, allocations: 0 / 0.7381 GB, free: 5.863 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/1.036, allocations: 1.692 MB / 0.7398 GB, free: 4.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.036, allocations: 4 kB / 0.7398 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/1.036, allocations: 27.91 kB / 0.7398 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/1.036, allocations: 0 / 0.7398 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/1.036, allocations: 23.92 kB / 0.7398 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/1.036, allocations: 4 kB / 0.7398 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.036, allocations: 0 / 0.7398 GB, free: 4.055 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/1.038, allocations: 1.144 MB / 0.741 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.038, allocations: 104.7 kB / 0.7411 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/1.038, allocations: 12 kB / 0.7411 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/1.039, allocations: 7.938 kB / 0.7411 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.039, allocations: 51.94 kB / 0.7411 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004249/1.039, allocations: 231.6 kB / 0.7413 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002601/1.039, allocations: 169.4 kB / 0.7415 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/1.04, allocations: 0 / 0.7415 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006987/1.04, allocations: 68 kB / 0.7416 GB, free: 2.223 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.00247/1.043, allocations: 1.943 MB / 0.7435 GB, free: 248 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001624/1.044, allocations: 0.73 MB / 0.7442 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/1.044, allocations: 0 / 0.7442 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008657/1.045, allocations: 399.8 kB / 0.7446 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.048, allocations: 374.2 kB / 0.7449 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/1.05, allocations: 0.9282 MB / 0.7458 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/1.051, allocations: 0.7569 MB / 0.7466 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005017/1.051, allocations: 106.9 kB / 0.7467 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/1.052, allocations: 115.4 kB / 0.7468 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/1.052, allocations: 0 / 0.7468 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04457/1.096, allocations: 10.61 MB / 0.7571 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002965/1.097, allocations: 170.9 kB / 0.7573 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.757, allocations: 0 / 0.7573 GB, free: 2.129 MB / 0.6355 GB