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 3.883/3.883, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.628e-05/3.642e-05, allocations: 4 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5901/0.5901, allocations: 92.68 MB / 0.5896 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.8184, allocations: 120.8 MB / 0.7076 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.8187, allocations: 75.95 kB / 0.7077 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.006919/0.8257, allocations: 1.354 MB / 0.709 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8257, allocations: 0 / 0.709 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.8258, allocations: 3.938 kB / 0.709 GB, free: 3.992 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.0005525/0.8263, allocations: 350.4 kB / 0.7093 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.612e-05/0.8264, allocations: 8.031 kB / 0.7093 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.8265, allocations: 30.56 kB / 0.7094 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.8266, allocations: 15.8 kB / 0.7094 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.8268, allocations: 167.1 kB / 0.7096 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.8268, allocations: 4 kB / 0.7096 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.8268, allocations: 4 kB / 0.7096 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.827, allocations: 37.69 kB / 0.7096 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.827, allocations: 0 / 0.7096 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.8271, allocations: 0 / 0.7096 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.8271, allocations: 7.938 kB / 0.7096 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.594e-05/0.8272, allocations: 11.95 kB / 0.7096 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008189/0.828, allocations: 260.9 kB / 0.7099 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.8282, allocations: 26.58 kB / 0.7099 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.8284, allocations: 12.92 kB / 0.7099 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/0.8299, allocations: 465.5 kB / 0.7103 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.83, allocations: 30.56 kB / 0.7104 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.896e-06/0.83, allocations: 0 / 0.7104 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003026/0.8303, allocations: 57.48 kB / 0.7104 GB, free: 2.266 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.8304, allocations: 51.41 kB / 0.7105 GB, free: 2.203 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.8306, allocations: 105 kB / 0.7106 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.8306, allocations: 29.7 kB / 0.7106 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.8307, allocations: 84.14 kB / 0.7107 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.8307, allocations: 11.83 kB / 0.7107 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.8308, allocations: 0 / 0.7107 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.831, allocations: 314.8 kB / 0.711 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.831, allocations: 4 kB / 0.711 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.8311, allocations: 8 kB / 0.711 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.396e-05/0.8312, allocations: 8.062 kB / 0.711 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8312, allocations: 0 / 0.711 GB, free: 1.625 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004386/0.8317, allocations: 45.69 kB / 0.7111 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.8317, allocations: 4 kB / 0.7111 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.8318, allocations: 0 / 0.7111 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/0.8318, allocations: 7.938 kB / 0.7111 GB, free: 1.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.8321, allocations: 11.94 kB / 0.7111 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.8321, allocations: 320 / 0.7111 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.8323, allocations: 8 kB / 0.7111 GB, free: 1.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.8323, allocations: 4.031 kB / 0.7111 GB, free: 1.539 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 0.0001044/0.8324, allocations: 101.8 kB / 0.7112 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.8325, allocations: 4 kB / 0.7112 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.8327, allocations: 53.25 kB / 0.7112 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.8327, allocations: 3.938 kB / 0.7113 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.8328, allocations: 3.953 kB / 0.7113 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.8328, allocations: 0 / 0.7113 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.8331, allocations: 161.7 kB / 0.7114 GB, free: 1.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.8332, allocations: 8.031 kB / 0.7114 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.8333, allocations: 15.86 kB / 0.7114 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.8333, allocations: 0 / 0.7114 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.8333, allocations: 0 / 0.7114 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.8333, allocations: 0 / 0.7114 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.8334, allocations: 7.984 kB / 0.7114 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.8336, allocations: 143.5 kB / 0.7116 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.8337, allocations: 81.14 kB / 0.7117 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.8337, allocations: 4 kB / 0.7117 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.8339, allocations: 4 kB / 0.7117 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.834, allocations: 0 / 0.7117 GB, free: 0.8633 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.834, allocations: 3.984 kB / 0.7117 GB, free: 0.8594 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.657e-05/0.8341, allocations: 87.28 kB / 0.7117 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8341, allocations: 0 / 0.7117 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001378/0.8355, allocations: 23.89 kB / 0.7118 GB, free: 0.75 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.0008326/0.8363, allocations: 0.7004 MB / 0.7125 GB, free: 20 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.8365, allocations: 16 kB / 0.7125 GB, free: 4 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.8365, allocations: 0 / 0.7125 GB, free: 4 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.76e-05/0.8366, allocations: 8.047 kB / 0.7125 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.8369, allocations: 4 kB / 0.7125 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.8385, allocations: 114.7 kB / 0.7126 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.8389, allocations: 0.6809 MB / 0.7133 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.158e-05/0.839, allocations: 4 kB / 0.7133 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.8391, allocations: 11.44 kB / 0.7133 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.124e-06/0.8391, allocations: 0 / 0.7133 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.8631, allocations: 1.338 MB / 0.7146 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/0.8635, allocations: 163.6 kB / 0.7147 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.088, allocations: 4 kB / 0.7147 GB, free: 13.61 MB / 0.6042 GB