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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.615/4.615, allocations: 404.2 MB / 411.3 MB, free: 376 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.406e-05, allocations: 4 kB / 0.4945 GB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7149/0.715, allocations: 92.69 MB / 0.5851 GB, free: 2.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.251/0.966, allocations: 120.4 MB / 0.7027 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.9664, allocations: 83.94 kB / 0.7028 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.1301/1.097, allocations: 22.14 MB / 0.7244 GB, free: 3.535 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/1.097, allocations: 0 / 0.7244 GB, free: 3.535 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.011e-05/1.097, allocations: 4 kB / 0.7244 GB, free: 3.531 MB / 0.6042 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.001929/1.099, allocations: 0.6036 MB / 0.725 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.731e-05/1.099, allocations: 16.03 kB / 0.725 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/1.099, allocations: 27.62 kB / 0.725 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/1.1, allocations: 253.7 kB / 0.7253 GB, free: 2.523 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/1.1, allocations: 12 kB / 0.7253 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.815e-05/1.1, allocations: 12 kB / 0.7253 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001042/1.101, allocations: 308.4 kB / 0.7256 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/1.102, allocations: 442.5 kB / 0.726 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/1.102, allocations: 0 / 0.726 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/1.102, allocations: 7.953 kB / 0.726 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/1.102, allocations: 4 kB / 0.726 GB, free: 1.738 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/1.104, allocations: 0.5007 MB / 0.7265 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/1.107, allocations: 1.008 MB / 0.7275 GB, free: 152 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002049/1.109, allocations: 0.6438 MB / 0.7281 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.03e-05/1.109, allocations: 8.469 kB / 0.7281 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001412/1.111, allocations: 466 kB / 0.7286 GB, free: 15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=37): time 4.348e-06/1.111, allocations: 0 / 0.7286 GB, free: 15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37): time 0.00276/1.113, allocations: 0.761 MB / 0.7293 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/1.114, allocations: 148.5 kB / 0.7294 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/1.114, allocations: 216.3 kB / 0.7297 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/1.114, allocations: 25.7 kB / 0.7297 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/1.114, allocations: 124.9 kB / 0.7298 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/1.115, allocations: 75 kB / 0.7299 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/1.115, allocations: 3.938 kB / 0.7299 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002411/1.115, allocations: 350.8 kB / 0.7302 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/1.116, allocations: 316.7 kB / 0.7305 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/1.117, allocations: 401.6 kB / 0.7309 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/1.118, allocations: 367.8 kB / 0.7312 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/1.118, allocations: 0 / 0.7312 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002336/1.121, allocations: 0.7794 MB / 0.732 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/1.121, allocations: 8 kB / 0.732 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.121, allocations: 8.125 kB / 0.732 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/1.121, allocations: 4 kB / 0.732 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/1.121, allocations: 39.84 kB / 0.7321 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/1.121, allocations: 8 kB / 0.7321 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/1.122, allocations: 15.83 kB / 0.7321 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005397/1.122, allocations: 212 kB / 0.7323 GB, free: 11.09 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.000253/1.123, allocations: 146 kB / 0.7324 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002008/1.125, allocations: 0.7625 MB / 0.7332 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/1.125, allocations: 27.62 kB / 0.7332 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/1.125, allocations: 33.95 kB / 0.7332 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/1.125, allocations: 8 kB / 0.7332 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.125, allocations: 0 / 0.7332 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/1.125, allocations: 3.953 kB / 0.7332 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/1.129, allocations: 1.651 MB / 0.7349 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.129, allocations: 0 / 0.7349 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/1.129, allocations: 19.91 kB / 0.7349 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/1.129, allocations: 4 kB / 0.7349 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.068e-05/1.129, allocations: 23.92 kB / 0.7349 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/1.129, allocations: 4 kB / 0.7349 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.129, allocations: 4 kB / 0.7349 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/1.131, allocations: 1.123 MB / 0.736 GB, free: 7.191 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/1.132, allocations: 100.7 kB / 0.7361 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/1.132, allocations: 4 kB / 0.7361 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/1.132, allocations: 7.984 kB / 0.7361 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/1.132, allocations: 47.94 kB / 0.7362 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005456/1.133, allocations: 227.7 kB / 0.7364 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002688/1.133, allocations: 160.5 kB / 0.7365 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.81e-07/1.133, allocations: 0 / 0.7365 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009548/1.134, allocations: 56 kB / 0.7366 GB, free: 6.578 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.002821/1.137, allocations: 1.925 MB / 0.7385 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002457/1.14, allocations: 0.7026 MB / 0.7391 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.14, allocations: 4.25 kB / 0.7392 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/1.141, allocations: 395.7 kB / 0.7395 GB, free: 3.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003413/1.144, allocations: 367.3 kB / 0.7399 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/1.147, allocations: 0.8966 MB / 0.7408 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/1.148, allocations: 0.7608 MB / 0.7415 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006149/1.148, allocations: 95.22 kB / 0.7416 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/1.149, allocations: 115.4 kB / 0.7417 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.132e-06/1.149, allocations: 0 / 0.7417 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06741/1.216, allocations: 9.989 MB / 0.7515 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003417/1.216, allocations: 150.6 kB / 0.7516 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.884/4.101, allocations: 0 / 0.7516 GB, free: 7.164 MB / 0.6355 GB