Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadModel(Buildings): time 3.909/3.909, allocations: 432.7 MB / 444.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.509e-05, allocations: 7.109 kB / 0.5337 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1998, allocations: 98.72 MB / 0.6301 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2085/0.4083, allocations: 124.5 MB / 0.7517 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.4086, allocations: 79.95 kB / 0.7517 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003364/0.412, allocations: 0.9183 MB / 0.7526 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.402e-06/0.412, allocations: 0 / 0.7526 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.4121, allocations: 4 kB / 0.7526 GB, free: 8.609 MB / 0.6355 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.0004138/0.4125, allocations: 334.4 kB / 0.753 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4125, allocations: 12.03 kB / 0.753 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.4126, allocations: 0 / 0.753 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.4127, allocations: 163 kB / 0.7531 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.4128, allocations: 4 kB / 0.7531 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.4128, allocations: 0 / 0.7531 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.4129, allocations: 41.69 kB / 0.7532 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.67e-06/0.4129, allocations: 0 / 0.7532 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-06/0.4129, allocations: 0 / 0.7532 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.539e-06/0.413, allocations: 7.984 kB / 0.7532 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.271e-05/0.413, allocations: 11.94 kB / 0.7532 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.4135, allocations: 272.9 kB / 0.7535 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.236e-05/0.4136, allocations: 26.58 kB / 0.7535 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.4137, allocations: 8.922 kB / 0.7535 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004147/0.4141, allocations: 198.2 kB / 0.7537 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4141, allocations: 46.55 kB / 0.7537 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.266e-06/0.4141, allocations: 0 / 0.7537 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001734/0.4143, allocations: 45.55 kB / 0.7538 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.4144, allocations: 51.41 kB / 0.7538 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.524e-05/0.4145, allocations: 96.95 kB / 0.7539 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4145, allocations: 25.7 kB / 0.7539 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.136e-05/0.4146, allocations: 88.12 kB / 0.754 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.4146, allocations: 11.88 kB / 0.754 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-06/0.4146, allocations: 0 / 0.754 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4148, allocations: 318.8 kB / 0.7543 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.4148, allocations: 3.938 kB / 0.7543 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.4149, allocations: 4 kB / 0.7543 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.4149, allocations: 8 kB / 0.7543 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-06/0.4149, allocations: 0 / 0.7543 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001151/0.415, allocations: 45.69 kB / 0.7544 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4151, allocations: 9.969 kB / 0.7544 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.902e-06/0.4151, allocations: 0 / 0.7544 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4151, allocations: 0 / 0.7544 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.4152, allocations: 11.94 kB / 0.7544 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.4153, allocations: 8.234 kB / 0.7544 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.4153, allocations: 7.938 kB / 0.7544 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.4154, allocations: 7.953 kB / 0.7544 GB, free: 6.531 MB / 0.6355 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 8.888e-05/0.4155, allocations: 109.8 kB / 0.7545 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.4155, allocations: 0 / 0.7545 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.4156, allocations: 48.81 kB / 0.7546 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.358e-06/0.4157, allocations: 4 kB / 0.7546 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4157, allocations: 0 / 0.7546 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.798e-06/0.4157, allocations: 3.984 kB / 0.7546 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.4159, allocations: 161.5 kB / 0.7547 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-06/0.4159, allocations: 0 / 0.7547 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.735e-05/0.416, allocations: 11.98 kB / 0.7548 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.172e-06/0.4161, allocations: 4.031 kB / 0.7548 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-06/0.4161, allocations: 0 / 0.7548 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.27e-06/0.4161, allocations: 4 kB / 0.7548 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.431e-06/0.4161, allocations: 3.938 kB / 0.7548 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.4163, allocations: 139.5 kB / 0.7549 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.4163, allocations: 77.11 kB / 0.755 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4164, allocations: 4 kB / 0.755 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4165, allocations: 16.02 kB / 0.755 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.4165, allocations: 0 / 0.755 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-06/0.4166, allocations: 0 / 0.755 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.4166, allocations: 79.28 kB / 0.7551 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.51e-07/0.4166, allocations: 0 / 0.7551 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003138/0.4169, allocations: 12 kB / 0.7551 GB, free: 5.773 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000213/0.4172, allocations: 115.2 kB / 0.7552 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.4173, allocations: 19.94 kB / 0.7552 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.629e-06/0.4173, allocations: 3.938 kB / 0.7552 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.4173, allocations: 4 kB / 0.7552 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.4176, allocations: 7.953 kB / 0.7552 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.4178, allocations: 56.98 kB / 0.7553 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.4182, allocations: 0.6809 MB / 0.7559 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.4182, allocations: 128 / 0.7559 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.4183, allocations: 11.44 kB / 0.756 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.368e-06/0.4183, allocations: 0 / 0.756 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.003072/0.4214, allocations: 0.5227 MB / 0.7565 GB, free: 4.301 MB / 0.6355 GB