Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadModel(Buildings): time 3.836/3.836, allocations: 402 MB / 416.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.337e-05/3.354e-05, allocations: 4 kB / 0.5009 GB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2002, allocations: 92.69 MB / 0.5915 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002167/0.2024, allocations: 1.13 MB / 0.5926 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0003703/0.2028, allocations: 107.7 kB / 0.5927 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.2029, allocations: 4 kB / 0.5927 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.2029, allocations: 3.984 kB / 0.5927 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.23e-05/0.203, allocations: 4 kB / 0.5927 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.2031, allocations: 15.97 kB / 0.5927 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.2032, allocations: 11.92 kB / 0.5927 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.2033, allocations: 8 kB / 0.5927 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.2034, allocations: 0 / 0.5927 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.2034, allocations: 11.98 kB / 0.5927 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.2035, allocations: 27.91 kB / 0.5927 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.2036, allocations: 8 kB / 0.5928 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.2036, allocations: 3.938 kB / 0.5928 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.336e-05/0.2036, allocations: 0 / 0.5928 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.2037, allocations: 28.23 kB / 0.5928 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2038, allocations: 0 / 0.5928 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2038, allocations: 0 / 0.5928 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.2038, allocations: 0 / 0.5928 GB, free: 10.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000558/0.2044, allocations: 353.1 kB / 0.5931 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.2044, allocations: 8.031 kB / 0.5931 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.2045, allocations: 7.953 kB / 0.5931 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.2047, allocations: 167 kB / 0.5933 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.2047, allocations: 0 / 0.5933 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.2047, allocations: 4 kB / 0.5933 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.205, allocations: 53.67 kB / 0.5934 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.205, allocations: 0 / 0.5934 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.205, allocations: 4 kB / 0.5934 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.205, allocations: 0 / 0.5934 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.2054, allocations: 47.89 kB / 0.5934 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.2058, allocations: 256.9 kB / 0.5936 GB, free: 9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.206, allocations: 38.56 kB / 0.5937 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006797/0.2067, allocations: 222.2 kB / 0.5939 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.2067, allocations: 30.56 kB / 0.5939 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/0.2067, allocations: 0 / 0.5939 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0005752/0.2073, allocations: 101.6 kB / 0.594 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.2074, allocations: 59.36 kB / 0.5941 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.2075, allocations: 92.98 kB / 0.5942 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.2075, allocations: 25.7 kB / 0.5942 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.2076, allocations: 84.27 kB / 0.5943 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.2076, allocations: 15.84 kB / 0.5943 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.2076, allocations: 3.938 kB / 0.5943 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2078, allocations: 314.8 kB / 0.5946 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.2079, allocations: 15.98 kB / 0.5946 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.2081, allocations: 31.97 kB / 0.5946 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.2083, allocations: 19.98 kB / 0.5947 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2083, allocations: 0 / 0.5947 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003679/0.2086, allocations: 81.66 kB / 0.5947 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2087, allocations: 4 kB / 0.5947 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2087, allocations: 0 / 0.5947 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2087, allocations: 0 / 0.5947 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.2089, allocations: 15.98 kB / 0.5948 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2089, allocations: 0 / 0.5948 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.209, allocations: 12.2 kB / 0.5948 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-06/0.209, allocations: 4.031 kB / 0.5948 GB, free: 7.746 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.256e-05/0.2091, allocations: 109.8 kB / 0.5949 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.2091, allocations: 3.906 kB / 0.5949 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.2095, allocations: 96.7 kB / 0.595 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2096, allocations: 0 / 0.595 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2096, allocations: 0 / 0.595 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.2096, allocations: 81.11 kB / 0.595 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.2097, allocations: 7.891 kB / 0.5951 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.2098, allocations: 7.984 kB / 0.5951 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.2098, allocations: 4 kB / 0.5951 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004279/0.2103, allocations: 161 kB / 0.5952 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004257/0.2107, allocations: 247 kB / 0.5955 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001651/0.2109, allocations: 27.97 kB / 0.5955 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.211, allocations: 83.28 kB / 0.5956 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of Backend: time 7.72e-07/0.211, allocations: 0 / 0.5956 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004896/0.2115, allocations: 110.4 kB / 0.5957 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of SimCode: time 0.000541/0.212, allocations: 0.5643 MB / 0.5962 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of Templates: time 0.003602/0.2156, allocations: 0.6167 MB / 0.5968 GB, free: 5.535 MB / 0.4948 GB