Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.5/3.5, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.822e-05/4.858e-05, allocations: 4 kB / 436.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.174, allocations: 77.72 MB / 0.5023 GB, free: 4.496 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.67/0.8441, allocations: 107.4 MB / 0.6072 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.8444, allocations: 71.91 kB / 0.6073 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02694/0.8714, allocations: 5.032 MB / 0.6122 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8715, allocations: 0 / 0.6122 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.8715, allocations: 4 kB / 0.6122 GB, free: 8.5 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007329/0.8722, allocations: 412.2 kB / 0.6126 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.8723, allocations: 11.97 kB / 0.6126 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.733e-05/0.8724, allocations: 38.56 kB / 0.6126 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.8736, allocations: 127.6 kB / 0.6128 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.8738, allocations: 178.9 kB / 0.6129 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.874, allocations: 67.39 kB / 0.613 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.874, allocations: 4 kB / 0.613 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.8744, allocations: 121.6 kB / 0.6131 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.8745, allocations: 0 / 0.6131 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.8745, allocations: 7.953 kB / 0.6131 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.8745, allocations: 4 kB / 0.6131 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.8748, allocations: 75.98 kB / 0.6132 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.8767, allocations: 0.4978 MB / 0.6137 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.8778, allocations: 162.5 kB / 0.6138 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.878, allocations: 48.97 kB / 0.6139 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.878, allocations: 4 kB / 0.6139 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.8781, allocations: 30.56 kB / 0.6139 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 7.805e-06/0.8781, allocations: 0 / 0.6139 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004254/0.8785, allocations: 113.6 kB / 0.614 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.8786, allocations: 51.41 kB / 0.6141 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.8788, allocations: 126.5 kB / 0.6142 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.302e-05/0.8789, allocations: 25.7 kB / 0.6142 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.879, allocations: 120.1 kB / 0.6143 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.879, allocations: 15.75 kB / 0.6144 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.8791, allocations: 0 / 0.6144 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.8792, allocations: 322.8 kB / 0.6147 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.8793, allocations: 35.98 kB / 0.6147 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.8795, allocations: 50.58 kB / 0.6148 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.8796, allocations: 36.05 kB / 0.6148 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8797, allocations: 0 / 0.6148 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003604/0.88, allocations: 121.5 kB / 0.6149 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.8801, allocations: 6.969 kB / 0.6149 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.8801, allocations: 4 kB / 0.6149 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.8801, allocations: 0 / 0.6149 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.8806, allocations: 51.95 kB / 0.615 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.8807, allocations: 3.953 kB / 0.615 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.881, allocations: 39.86 kB / 0.615 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.8811, allocations: 4 kB / 0.615 GB, free: 5.387 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001296/0.8812, allocations: 108.9 kB / 0.6151 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.8813, allocations: 11.91 kB / 0.6151 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/0.8818, allocations: 126.2 kB / 0.6152 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.8818, allocations: 0 / 0.6152 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8818, allocations: 3.938 kB / 0.6152 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.8818, allocations: 3.953 kB / 0.6153 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.8822, allocations: 234.2 kB / 0.6155 GB, free: 4.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.8822, allocations: 3.984 kB / 0.6155 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.8827, allocations: 43.95 kB / 0.6155 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.8827, allocations: 0 / 0.6155 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.8828, allocations: 4 kB / 0.6155 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.8828, allocations: 4 kB / 0.6155 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.8828, allocations: 0 / 0.6155 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.8832, allocations: 203.4 kB / 0.6157 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.8833, allocations: 88.95 kB / 0.6158 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.8834, allocations: 3.984 kB / 0.6158 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005856/0.8839, allocations: 40.14 kB / 0.6158 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.884, allocations: 8 kB / 0.6159 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.8841, allocations: 15.98 kB / 0.6159 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001212/0.8842, allocations: 110.3 kB / 0.616 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8842, allocations: 3.938 kB / 0.616 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003716/0.8846, allocations: 23.91 kB / 0.616 GB, free: 4.273 MB / 0.4948 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 (6): * Single equations (assignments): 6 * 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.0008876/0.8855, allocations: 0.7359 MB / 0.6167 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.8859, allocations: 83.92 kB / 0.6168 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.8859, allocations: 0 / 0.6168 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.886, allocations: 39.98 kB / 0.6168 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.8864, allocations: 8 kB / 0.6168 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008005/0.8872, allocations: 179.1 kB / 0.617 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.8876, allocations: 0.7084 MB / 0.6177 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001802/0.8877, allocations: 16.17 kB / 0.6177 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.8879, allocations: 39.41 kB / 0.6178 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of SimCode: time 1.473e-06/0.8879, allocations: 0 / 0.6178 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.9171, allocations: 2.412 MB / 0.6201 GB, free: 48 kB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000439/0.9176, allocations: 159.2 kB / 0.6203 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.48, allocations: 0 / 0.6203 GB, free: 15.82 MB / 0.5105 GB