Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadModel(Buildings): time 3.775/3.775, allocations: 402.1 MB / 416.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.074e-05, allocations: 4 kB / 0.501 GB, free: 8.215 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1958, allocations: 92.69 MB / 0.5915 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002223/0.1981, allocations: 1.19 MB / 0.5926 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0004889/0.1986, allocations: 160.6 kB / 0.5928 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.1986, allocations: 4 kB / 0.5928 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.1987, allocations: 7.938 kB / 0.5928 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.87e-05/0.1988, allocations: 7.984 kB / 0.5928 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.1989, allocations: 31.89 kB / 0.5928 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.1991, allocations: 35.89 kB / 0.5929 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.1992, allocations: 19.98 kB / 0.5929 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.1992, allocations: 23.92 kB / 0.5929 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1994, allocations: 39.88 kB / 0.593 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.1994, allocations: 8 kB / 0.593 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.1994, allocations: 4 kB / 0.593 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.1995, allocations: 15.98 kB / 0.593 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.1995, allocations: 0 / 0.593 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1996, allocations: 60.08 kB / 0.593 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1997, allocations: 3.938 kB / 0.593 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.234e-06/0.1997, allocations: 4 kB / 0.5931 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.1997, allocations: 0 / 0.5931 GB, free: 9.723 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008301/0.2005, allocations: 383.1 kB / 0.5934 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2006, allocations: 12.03 kB / 0.5934 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.2006, allocations: 11.86 kB / 0.5934 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.2009, allocations: 167.1 kB / 0.5936 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.2009, allocations: 3.984 kB / 0.5936 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.2009, allocations: 8 kB / 0.5936 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.2014, allocations: 117.6 kB / 0.5937 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2015, allocations: 3.938 kB / 0.5937 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.2015, allocations: 4 kB / 0.5937 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2015, allocations: 0 / 0.5937 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.2022, allocations: 123.8 kB / 0.5938 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.2029, allocations: 344.6 kB / 0.5942 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.2041, allocations: 138.5 kB / 0.5943 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.2041, allocations: 4.141 kB / 0.5943 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.2042, allocations: 30.56 kB / 0.5943 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2042, allocations: 0 / 0.5943 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.001175/0.2054, allocations: 221.4 kB / 0.5946 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2054, allocations: 55.34 kB / 0.5946 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.2055, allocations: 113 kB / 0.5947 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.2056, allocations: 25.7 kB / 0.5947 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.2056, allocations: 100 kB / 0.5948 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.2057, allocations: 11.75 kB / 0.5948 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.2057, allocations: 0 / 0.5948 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2058, allocations: 322.8 kB / 0.5952 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.2062, allocations: 55.95 kB / 0.5952 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.2065, allocations: 59.95 kB / 0.5953 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.2069, allocations: 52.44 kB / 0.5953 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2069, allocations: 0 / 0.5953 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007767/0.2077, allocations: 169.5 kB / 0.5955 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2077, allocations: 4 kB / 0.5955 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.2078, allocations: 4 kB / 0.5955 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2078, allocations: 3.953 kB / 0.5955 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.2081, allocations: 31.91 kB / 0.5955 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.2081, allocations: 4 kB / 0.5955 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.2083, allocations: 19.97 kB / 0.5955 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.2084, allocations: 0 / 0.5955 GB, free: 6.961 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001113/0.2085, allocations: 121.8 kB / 0.5957 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.2085, allocations: 7.906 kB / 0.5957 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008249/0.2094, allocations: 169.9 kB / 0.5958 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2094, allocations: 0 / 0.5958 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.85e-06/0.2094, allocations: 3.953 kB / 0.5958 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.2095, allocations: 92.95 kB / 0.5959 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.2095, allocations: 3.938 kB / 0.5959 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.2098, allocations: 23.98 kB / 0.5959 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2099, allocations: 23.97 kB / 0.596 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009928/0.2109, allocations: 252.8 kB / 0.5962 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008864/0.2118, allocations: 334.6 kB / 0.5965 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003805/0.2122, allocations: 75.88 kB / 0.5966 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.557e-05/0.2123, allocations: 95.7 kB / 0.5967 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of Backend: time 6.42e-07/0.2123, allocations: 0 / 0.5967 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000662/0.213, allocations: 142.4 kB / 0.5968 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0006535/0.2136, allocations: 0.6189 MB / 0.5974 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.005321/0.219, allocations: 1.463 MB / 0.5989 GB, free: 3.453 MB / 0.4948 GB