Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.612/3.612, allocations: 343.8 MB / 355.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.704e-05/4.707e-05, allocations: 8 kB / 436.7 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.177, allocations: 77.72 MB / 0.5023 GB, free: 4.508 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7237/0.9007, allocations: 106 MB / 0.6059 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.901, allocations: 71.95 kB / 0.6059 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004548/0.9056, allocations: 1.022 MB / 0.6069 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9057, allocations: 0 / 0.6069 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.9057, allocations: 0 / 0.6069 GB, free: 13.82 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.0004658/0.9062, allocations: 335.1 kB / 0.6072 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.9062, allocations: 16.03 kB / 0.6073 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.9063, allocations: 34.55 kB / 0.6073 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.9063, allocations: 4.562 kB / 0.6073 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.9065, allocations: 170.9 kB / 0.6075 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.9065, allocations: 3.062 kB / 0.6075 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.9065, allocations: 0 / 0.6075 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.9067, allocations: 41.62 kB / 0.6075 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.9067, allocations: 4 kB / 0.6075 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.9067, allocations: 0 / 0.6075 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.9067, allocations: 0.5469 kB / 0.6075 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.995e-05/0.9068, allocations: 12 kB / 0.6075 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.9074, allocations: 268.9 kB / 0.6078 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.043e-05/0.9075, allocations: 22.58 kB / 0.6078 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.9075, allocations: 12.92 kB / 0.6078 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.9077, allocations: 85.77 kB / 0.6079 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.9078, allocations: 34.5 kB / 0.6079 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.634e-06/0.9078, allocations: 0 / 0.6079 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001844/0.908, allocations: 45.69 kB / 0.608 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.908, allocations: 55.36 kB / 0.608 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.9081, allocations: 95.3 kB / 0.6081 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.9081, allocations: 25.7 kB / 0.6081 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.9082, allocations: 84.14 kB / 0.6082 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.9082, allocations: 7.938 kB / 0.6082 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.9083, allocations: 0 / 0.6082 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.9084, allocations: 318.8 kB / 0.6085 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.861e-05/0.9085, allocations: 4 kB / 0.6085 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/0.9085, allocations: 8 kB / 0.6085 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/0.9085, allocations: 4 kB / 0.6085 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9085, allocations: 0 / 0.6085 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000106/0.9087, allocations: 41.64 kB / 0.6086 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.9087, allocations: 12.72 kB / 0.6086 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.9087, allocations: 3.984 kB / 0.6086 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.9087, allocations: 0 / 0.6086 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.9089, allocations: 8 kB / 0.6086 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.9089, allocations: 0 / 0.6086 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.909, allocations: 19.88 kB / 0.6086 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.909, allocations: 0 / 0.6086 GB, free: 11.85 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 7.786e-05/0.9091, allocations: 105 kB / 0.6087 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.9092, allocations: 15.84 kB / 0.6087 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.9093, allocations: 48.8 kB / 0.6088 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.9093, allocations: 3.938 kB / 0.6088 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.9094, allocations: 0 / 0.6088 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9094, allocations: 0 / 0.6088 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.9096, allocations: 173.5 kB / 0.609 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.9096, allocations: 0.5625 kB / 0.609 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.9097, allocations: 16.02 kB / 0.609 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.9097, allocations: 0 / 0.609 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.9098, allocations: 256 / 0.609 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.9098, allocations: 0 / 0.609 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.9098, allocations: 4 kB / 0.609 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.91, allocations: 139.5 kB / 0.6091 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.91, allocations: 85.08 kB / 0.6092 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.91, allocations: 4 kB / 0.6092 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.9102, allocations: 8.031 kB / 0.6092 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.9102, allocations: 3.984 kB / 0.6092 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.9103, allocations: 4 kB / 0.6092 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.9103, allocations: 83.28 kB / 0.6093 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.6e-07/0.9103, allocations: 0 / 0.6093 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003123/0.9107, allocations: 8 kB / 0.6093 GB, free: 11.06 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 (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.0005934/0.9113, allocations: 0.685 MB / 0.61 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.9114, allocations: 12 kB / 0.61 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.9114, allocations: 4 kB / 0.61 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.9114, allocations: 8 kB / 0.61 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.9117, allocations: 3.984 kB / 0.61 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.9121, allocations: 98.67 kB / 0.6101 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.9125, allocations: 0.6809 MB / 0.6107 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.9125, allocations: 3.938 kB / 0.6108 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.9126, allocations: 11.44 kB / 0.6108 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.9126, allocations: 0 / 0.6108 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.9354, allocations: 1.15 MB / 0.6119 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003488/0.9358, allocations: 162.3 kB / 0.612 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/3.294, allocations: 0 / 0.612 GB, free: 8.176 MB / 0.4948 GB