Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.546/3.546, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.537e-05/4.542e-05, allocations: 11.98 kB / 436.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1763, allocations: 77.73 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7586/0.935, allocations: 105.5 MB / 0.6053 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.9353, allocations: 79.94 kB / 0.6054 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003051/0.9384, allocations: 0.7875 MB / 0.6062 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9384, allocations: 0 / 0.6062 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.9385, allocations: 0 / 0.6062 GB, free: 14.6 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.0002991/0.9388, allocations: 323.4 kB / 0.6065 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.9388, allocations: 12.03 kB / 0.6065 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.9389, allocations: 30.56 kB / 0.6065 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.9389, allocations: 7.984 kB / 0.6065 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.939, allocations: 163 kB / 0.6067 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.9391, allocations: 0 / 0.6067 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.9391, allocations: 4 kB / 0.6067 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.9392, allocations: 41.62 kB / 0.6067 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.9392, allocations: 0 / 0.6067 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.9392, allocations: 0 / 0.6067 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.9393, allocations: 0.5469 kB / 0.6067 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.9393, allocations: 4 kB / 0.6067 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.9395, allocations: 161.7 kB / 0.6069 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.9397, allocations: 26.58 kB / 0.6069 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.9398, allocations: 12.86 kB / 0.6069 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.94, allocations: 81.95 kB / 0.607 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.94, allocations: 38.5 kB / 0.607 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.94, allocations: 3.938 kB / 0.6071 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.004462/0.9445, allocations: 349.3 kB / 0.6074 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.9446, allocations: 51.41 kB / 0.6074 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.508e-05/0.9446, allocations: 85 kB / 0.6075 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.9447, allocations: 25.7 kB / 0.6075 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.9447, allocations: 82.33 kB / 0.6076 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.9448, allocations: 19.8 kB / 0.6076 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.9448, allocations: 3.938 kB / 0.6076 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.945, allocations: 318.8 kB / 0.6079 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.9451, allocations: 12 kB / 0.608 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.9452, allocations: 26.56 kB / 0.608 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.717e-05/0.9453, allocations: 8 kB / 0.608 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.9453, allocations: 4 kB / 0.608 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002707/0.9456, allocations: 61.62 kB / 0.6081 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.9456, allocations: 4.625 kB / 0.6081 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.9456, allocations: 4 kB / 0.6081 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.9456, allocations: 0 / 0.6081 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/0.9464, allocations: 48.06 kB / 0.6081 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.9464, allocations: 4 kB / 0.6081 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.947, allocations: 39.97 kB / 0.6081 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.9471, allocations: 4.875 kB / 0.6082 GB, free: 12.34 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 (5): * Single equations (assignments): 5 * 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.000108/0.9472, allocations: 108.9 kB / 0.6083 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.9472, allocations: 4 kB / 0.6083 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.9477, allocations: 89.83 kB / 0.6083 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.9477, allocations: 4 kB / 0.6084 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9477, allocations: 3.938 kB / 0.6084 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.9477, allocations: 256 / 0.6084 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.9483, allocations: 314.4 kB / 0.6087 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9483, allocations: 0 / 0.6087 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/0.9491, allocations: 51.97 kB / 0.6087 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.9491, allocations: 288 / 0.6087 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.9491, allocations: 0 / 0.6087 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.9491, allocations: 0 / 0.6087 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.9491, allocations: 0 / 0.6087 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.9495, allocations: 159.5 kB / 0.6089 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.9495, allocations: 81.11 kB / 0.6089 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.9496, allocations: 3.984 kB / 0.6089 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/0.9502, allocations: 35.98 kB / 0.609 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.9503, allocations: 4 kB / 0.609 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.9503, allocations: 0 / 0.609 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.9503, allocations: 79.27 kB / 0.6091 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9503, allocations: 3.938 kB / 0.6091 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003394/0.9507, allocations: 19.94 kB / 0.6091 GB, free: 11.29 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 (5): * Single equations (assignments): 5 * 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.0006813/0.9514, allocations: 0.6929 MB / 0.6098 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.9516, allocations: 31.92 kB / 0.6098 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.9517, allocations: 0 / 0.6098 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.9518, allocations: 16 kB / 0.6098 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.952, allocations: 2.812 kB / 0.6098 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.9531, allocations: 134.9 kB / 0.6099 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.9535, allocations: 0.677 MB / 0.6106 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003871/0.9539, allocations: 31.98 kB / 0.6106 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.954, allocations: 19.38 kB / 0.6106 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/0.954, allocations: 0 / 0.6106 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.9746, allocations: 1.443 MB / 0.612 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003712/0.975, allocations: 188.6 kB / 0.6122 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/3.243, allocations: 0 / 0.6122 GB, free: 8.023 MB / 0.4948 GB