Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.071/4.071, allocations: 403.3 MB / 415.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.907e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.6631, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2252/0.8883, allocations: 120.8 MB / 0.7076 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.8887, allocations: 75.95 kB / 0.7077 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.006045/0.8947, allocations: 1.354 MB / 0.709 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8948, allocations: 0 / 0.709 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.8948, allocations: 0 / 0.709 GB, free: 4.082 MB / 0.5886 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.0004162/0.8952, allocations: 350.4 kB / 0.7094 GB, free: 3.695 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.8953, allocations: 8.031 kB / 0.7094 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.8954, allocations: 38.5 kB / 0.7094 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.8954, allocations: 11.84 kB / 0.7094 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.8955, allocations: 167.1 kB / 0.7096 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.8956, allocations: 0 / 0.7096 GB, free: 3.426 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.8956, allocations: 4 kB / 0.7096 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.8957, allocations: 37.69 kB / 0.7096 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-06/0.8958, allocations: 0 / 0.7096 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.8958, allocations: 0 / 0.7096 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8958, allocations: 0 / 0.7096 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/0.8959, allocations: 27.7 kB / 0.7096 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.8963, allocations: 253 kB / 0.7099 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.8964, allocations: 26.58 kB / 0.7099 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.8964, allocations: 12.92 kB / 0.7099 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.8975, allocations: 469.4 kB / 0.7104 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.8975, allocations: 30.56 kB / 0.7104 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.8975, allocations: 4 kB / 0.7104 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002021/0.8977, allocations: 53.48 kB / 0.7105 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.8978, allocations: 51.41 kB / 0.7105 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.8979, allocations: 109 kB / 0.7106 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.8979, allocations: 25.7 kB / 0.7106 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.898, allocations: 88.12 kB / 0.7107 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.898, allocations: 7.844 kB / 0.7107 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.8981, allocations: 0 / 0.7107 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.8982, allocations: 318.8 kB / 0.711 GB, free: 1.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.76e-05/0.8983, allocations: 4 kB / 0.711 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.8983, allocations: 4 kB / 0.711 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.8983, allocations: 8.062 kB / 0.711 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8984, allocations: 0 / 0.711 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001234/0.8985, allocations: 45.69 kB / 0.7111 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.8985, allocations: 8 kB / 0.7111 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.8985, allocations: 0 / 0.7111 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.8986, allocations: 3.938 kB / 0.7111 GB, free: 1.652 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.8987, allocations: 15.94 kB / 0.7111 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.8987, allocations: 0 / 0.7111 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.8988, allocations: 4 kB / 0.7111 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.8988, allocations: 4.031 kB / 0.7111 GB, free: 1.629 MB / 0.5886 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.065e-05/0.8989, allocations: 104.5 kB / 0.7112 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.8989, allocations: 4 kB / 0.7112 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.8991, allocations: 57.25 kB / 0.7113 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.8991, allocations: 0 / 0.7113 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.8991, allocations: 3.953 kB / 0.7113 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8991, allocations: 3.984 kB / 0.7113 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.8994, allocations: 161.6 kB / 0.7114 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8994, allocations: 32 / 0.7114 GB, free: 1.242 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.8995, allocations: 15.92 kB / 0.7115 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8995, allocations: 0 / 0.7115 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.8995, allocations: 0 / 0.7115 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8995, allocations: 3.938 kB / 0.7115 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8995, allocations: 4 kB / 0.7115 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.8998, allocations: 143.5 kB / 0.7116 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.8998, allocations: 77.11 kB / 0.7117 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.8998, allocations: 4.031 kB / 0.7117 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.9, allocations: 4 kB / 0.7117 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.9001, allocations: 3.984 kB / 0.7117 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.9001, allocations: 0 / 0.7117 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.864e-05/0.9001, allocations: 87.28 kB / 0.7118 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9001, allocations: 0 / 0.7118 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003402/0.9005, allocations: 23.89 kB / 0.7118 GB, free: 0.8477 MB / 0.5886 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.000549/0.9011, allocations: 0.7016 MB / 0.7125 GB, free: 120 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.9012, allocations: 16 kB / 0.7125 GB, free: 104 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9012, allocations: 0 / 0.7125 GB, free: 104 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.9012, allocations: 8 kB / 0.7125 GB, free: 96 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.9014, allocations: 0 / 0.7125 GB, free: 96 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.9019, allocations: 118.6 kB / 0.7126 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.9022, allocations: 0.6809 MB / 0.7133 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.824e-05/0.9022, allocations: 4 kB / 0.7133 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.9023, allocations: 15.42 kB / 0.7133 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of SimCode: time 2.996e-06/0.9023, allocations: 0 / 0.7133 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.9246, allocations: 1.327 MB / 0.7146 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000343/0.925, allocations: 159.3 kB / 0.7147 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.163, allocations: 4 kB / 0.7148 GB, free: 13.71 MB / 0.6042 GB