Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.578/3.578, allocations: 343.8 MB / 355.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.338e-05/4.342e-05, allocations: 8 kB / 436.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.1999, allocations: 77.72 MB / 0.5023 GB, free: 4.496 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.753/0.9529, allocations: 105 MB / 0.6049 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.9533, allocations: 71.89 kB / 0.605 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005782/0.9591, allocations: 1.271 MB / 0.6062 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9592, allocations: 0 / 0.6062 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9592, allocations: 0 / 0.6062 GB, free: 14.66 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003553/0.9595, allocations: 334.4 kB / 0.6065 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.9596, allocations: 8.031 kB / 0.6065 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.9597, allocations: 30.56 kB / 0.6066 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.9597, allocations: 4.688 kB / 0.6066 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.9598, allocations: 167 kB / 0.6067 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.9599, allocations: 4 kB / 0.6067 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.9599, allocations: 3.984 kB / 0.6067 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.754e-05/0.96, allocations: 25.7 kB / 0.6068 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.96, allocations: 0 / 0.6068 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.96, allocations: 8 kB / 0.6068 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.96, allocations: 0 / 0.6068 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.091e-05/0.9601, allocations: 0 / 0.6068 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.9603, allocations: 148.8 kB / 0.6069 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.417e-05/0.9603, allocations: 30.53 kB / 0.607 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.9604, allocations: 4.859 kB / 0.607 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009771/0.9614, allocations: 445.5 kB / 0.6074 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.9614, allocations: 34.56 kB / 0.6074 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 2.404e-06/0.9614, allocations: 0 / 0.6074 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001563/0.9616, allocations: 29.7 kB / 0.6074 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.9617, allocations: 51.41 kB / 0.6075 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.874e-05/0.9617, allocations: 89 kB / 0.6076 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.9617, allocations: 25.7 kB / 0.6076 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.9618, allocations: 84.12 kB / 0.6077 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.9618, allocations: 4 kB / 0.6077 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.9619, allocations: 0 / 0.6077 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.962, allocations: 318.8 kB / 0.608 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.962, allocations: 3.938 kB / 0.608 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/0.9621, allocations: 3.938 kB / 0.608 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.456e-05/0.9621, allocations: 4 kB / 0.608 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9621, allocations: 0 / 0.608 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.909e-05/0.9622, allocations: 29.7 kB / 0.608 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.9622, allocations: 6.812 kB / 0.608 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.9623, allocations: 0 / 0.608 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.9623, allocations: 4.094 kB / 0.608 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.9624, allocations: 7.984 kB / 0.608 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.9624, allocations: 3.938 kB / 0.6081 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.9624, allocations: 0 / 0.6081 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.9624, allocations: 3.984 kB / 0.6081 GB, free: 12.47 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 (1): * Single equations (assignments): 1 * 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.876e-05/0.9625, allocations: 108.9 kB / 0.6082 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.9625, allocations: 4 kB / 0.6082 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.9627, allocations: 40.67 kB / 0.6082 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.9627, allocations: 0 / 0.6082 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.9627, allocations: 8.016 kB / 0.6082 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.9627, allocations: 0 / 0.6082 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.9629, allocations: 145.6 kB / 0.6083 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.9629, allocations: 4 kB / 0.6084 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.9629, allocations: 0 / 0.6084 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.9629, allocations: 0 / 0.6084 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.9629, allocations: 0 / 0.6084 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.9629, allocations: 0 / 0.6084 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.9629, allocations: 0 / 0.6084 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.862e-05/0.9631, allocations: 65.12 kB / 0.6084 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.9631, allocations: 81.06 kB / 0.6085 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.9631, allocations: 0 / 0.6085 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.158e-05/0.9632, allocations: 4.625 kB / 0.6085 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.9632, allocations: 0 / 0.6085 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.9632, allocations: 4 kB / 0.6085 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.575e-05/0.9632, allocations: 75.28 kB / 0.6086 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9633, allocations: 0 / 0.6086 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003211/0.9636, allocations: 23.92 kB / 0.6086 GB, free: 11.82 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 (1): * Single equations (assignments): 1 * 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.0006927/0.9643, allocations: 0.6434 MB / 0.6092 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.918e-05/0.9644, allocations: 8 kB / 0.6092 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9644, allocations: 3.938 kB / 0.6092 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.9644, allocations: 4 kB / 0.6092 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.9646, allocations: 2.234 kB / 0.6092 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.9649, allocations: 86.53 kB / 0.6093 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.9652, allocations: 0.6809 MB / 0.61 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.764e-05/0.9653, allocations: 128 / 0.61 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.9653, allocations: 11.98 kB / 0.61 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of SimCode: time 1.041e-06/0.9653, allocations: 0 / 0.61 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.9891, allocations: 0.9404 MB / 0.6109 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003457/0.9895, allocations: 169.8 kB / 0.6111 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.467, allocations: 0 / 0.6111 GB, free: 9.195 MB / 0.4948 GB