Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold") Notification: Performance of loadModel(Buildings): time 3.888/3.888, allocations: 402 MB / 416.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.16e-05, allocations: 4 kB / 0.501 GB, free: 8.223 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2054, allocations: 92.68 MB / 0.5915 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold): time 0.001892/0.2073, allocations: 1.113 MB / 0.5926 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0005892/0.208, allocations: 220.5 kB / 0.5928 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.208, allocations: 4 kB / 0.5928 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.2081, allocations: 3.938 kB / 0.5928 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.384e-05/0.2081, allocations: 3.984 kB / 0.5928 GB, free: 10 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.2083, allocations: 31.91 kB / 0.5928 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.2084, allocations: 31.91 kB / 0.5928 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.2085, allocations: 3.984 kB / 0.5929 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.707e-05/0.2086, allocations: 23.97 kB / 0.5929 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.2087, allocations: 27.91 kB / 0.5929 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.004e-05/0.2087, allocations: 0 / 0.5929 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.2087, allocations: 4 kB / 0.5929 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.2088, allocations: 11.98 kB / 0.5929 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.2088, allocations: 11.88 kB / 0.5929 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.762e-05/0.2089, allocations: 35.91 kB / 0.593 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2089, allocations: 4 kB / 0.593 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2089, allocations: 0 / 0.593 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.209, allocations: 0 / 0.593 GB, free: 9.82 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007444/0.2097, allocations: 375.5 kB / 0.5933 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.2098, allocations: 12.03 kB / 0.5933 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.2098, allocations: 15.84 kB / 0.5933 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.21, allocations: 167 kB / 0.5935 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.21, allocations: 4 kB / 0.5935 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.21, allocations: 8 kB / 0.5935 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.2104, allocations: 85.58 kB / 0.5936 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2104, allocations: 0 / 0.5936 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.2104, allocations: 4 kB / 0.5936 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.2105, allocations: 4 kB / 0.5936 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.2108, allocations: 71.84 kB / 0.5937 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.2115, allocations: 300.8 kB / 0.594 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.2118, allocations: 86.53 kB / 0.594 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.2118, allocations: 4.188 kB / 0.5941 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/0.2122, allocations: 99.3 kB / 0.5941 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/0.2122, allocations: 0 / 0.5941 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0008022/0.213, allocations: 193.4 kB / 0.5943 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.2131, allocations: 55.41 kB / 0.5944 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/0.2132, allocations: 101 kB / 0.5945 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.2132, allocations: 29.7 kB / 0.5945 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.2133, allocations: 88.38 kB / 0.5946 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.2133, allocations: 31.62 kB / 0.5946 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/0.2134, allocations: 384 / 0.5946 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2135, allocations: 318.8 kB / 0.5949 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.2137, allocations: 39.97 kB / 0.595 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.214, allocations: 79.33 kB / 0.595 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.2142, allocations: 47.92 kB / 0.5951 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.2142, allocations: 4 kB / 0.5951 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005465/0.2148, allocations: 157.6 kB / 0.5952 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.2148, allocations: 4 kB / 0.5952 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2148, allocations: 0 / 0.5952 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2149, allocations: 4 kB / 0.5952 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.2151, allocations: 27.92 kB / 0.5953 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.2151, allocations: 7.953 kB / 0.5953 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.2153, allocations: 23.83 kB / 0.5953 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.2153, allocations: 4 kB / 0.5953 GB, free: 7.188 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.firOrdHol.firstTrigger,firOrdHol.firstTrigger,$whenCondition1,firOrdHol.sampleTrigger,$PRE.firOrdHol.tSample,firOrdHol.tSample,$PRE.firOrdHol.uSample,firOrdHol.uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.pre_uSample,$PRE.firOrdHol.c,firOrdHol.c) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001337/0.2155, allocations: 124.2 kB / 0.5954 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.2155, allocations: 4 kB / 0.5954 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005886/0.2161, allocations: 157.9 kB / 0.5956 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2161, allocations: 0 / 0.5956 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2161, allocations: 0 / 0.5956 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.229e-05/0.2162, allocations: 84.97 kB / 0.5957 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.2162, allocations: 7.984 kB / 0.5957 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.2164, allocations: 12.23 kB / 0.5957 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.2164, allocations: 4 kB / 0.5957 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006229/0.2171, allocations: 236.8 kB / 0.5959 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006408/0.2177, allocations: 330.5 kB / 0.5962 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002225/0.218, allocations: 48.19 kB / 0.5963 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.549e-05/0.218, allocations: 95.2 kB / 0.5964 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of Backend: time 7.41e-07/0.218, allocations: 0 / 0.5964 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005478/0.2186, allocations: 138.4 kB / 0.5965 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0006334/0.2193, allocations: 0.6035 MB / 0.5971 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of Templates: time 0.004301/0.2236, allocations: 0.8314 MB / 0.5979 GB, free: 4.426 MB / 0.4948 GB