Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.521/3.521, allocations: 343.8 MB / 355.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.504e-05/4.508e-05, allocations: 7.938 kB / 436.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2092, allocations: 77.73 MB / 0.5023 GB, free: 4.512 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6756/0.8849, allocations: 105.7 MB / 0.6055 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/0.8853, allocations: 75.95 kB / 0.6056 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009137/0.8945, allocations: 1.516 MB / 0.6071 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8946, allocations: 7.938 kB / 0.6071 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.8946, allocations: 0 / 0.6071 GB, free: 13.67 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.000644/0.8953, allocations: 346.5 kB / 0.6074 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.8953, allocations: 8.031 kB / 0.6074 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/0.8954, allocations: 34.56 kB / 0.6075 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.8955, allocations: 7.922 kB / 0.6075 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.8957, allocations: 171 kB / 0.6077 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.8957, allocations: 8 kB / 0.6077 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.8957, allocations: 0 / 0.6077 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.8959, allocations: 33.7 kB / 0.6077 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.8959, allocations: 0 / 0.6077 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.896, allocations: 0 / 0.6077 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.896, allocations: 0 / 0.6077 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.8961, allocations: 12 kB / 0.6077 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.8968, allocations: 272.8 kB / 0.608 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.185e-05/0.8969, allocations: 26.52 kB / 0.608 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.897, allocations: 12.92 kB / 0.608 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.8981, allocations: 441.5 kB / 0.6084 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.8982, allocations: 34.56 kB / 0.6085 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 3.296e-06/0.8982, allocations: 0 / 0.6085 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000253/0.8984, allocations: 41.69 kB / 0.6085 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.8985, allocations: 55.36 kB / 0.6085 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.8987, allocations: 93 kB / 0.6086 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.8987, allocations: 29.64 kB / 0.6087 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.8988, allocations: 92.11 kB / 0.6088 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.8988, allocations: 7.906 kB / 0.6088 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.8988, allocations: 0 / 0.6088 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.899, allocations: 314.8 kB / 0.6091 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.8991, allocations: 4 kB / 0.6091 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.8991, allocations: 8 kB / 0.6091 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.884e-05/0.8992, allocations: 4 kB / 0.6091 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8992, allocations: 0 / 0.6091 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001473/0.8994, allocations: 41.77 kB / 0.6091 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.8994, allocations: 4 kB / 0.6091 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.8995, allocations: 4 kB / 0.6091 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.8995, allocations: 0 / 0.6091 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.8997, allocations: 11.98 kB / 0.6091 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.8997, allocations: 0 / 0.6091 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.8999, allocations: 11.94 kB / 0.6091 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.8999, allocations: 4 kB / 0.6091 GB, free: 11.27 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 0.0001038/0.9, allocations: 105 kB / 0.6092 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.9001, allocations: 11.88 kB / 0.6093 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.9003, allocations: 56.66 kB / 0.6093 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.9003, allocations: 0 / 0.6093 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9003, allocations: 0 / 0.6093 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.9003, allocations: 0 / 0.6093 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.9007, allocations: 162.5 kB / 0.6095 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9007, allocations: 0 / 0.6095 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.9008, allocations: 12.03 kB / 0.6095 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.9009, allocations: 0 / 0.6095 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.9009, allocations: 7.984 kB / 0.6095 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.9009, allocations: 4 kB / 0.6095 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9009, allocations: 0 / 0.6095 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.9011, allocations: 135.6 kB / 0.6096 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.9012, allocations: 85.09 kB / 0.6097 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.9013, allocations: 12.02 kB / 0.6097 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.9015, allocations: 4 kB / 0.6097 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.9015, allocations: 7.984 kB / 0.6097 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.9016, allocations: 0 / 0.6097 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.356e-05/0.9016, allocations: 79.28 kB / 0.6098 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9017, allocations: 0 / 0.6098 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005966/0.9023, allocations: 23.94 kB / 0.6098 GB, free: 10.47 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.0009024/0.9032, allocations: 0.7046 MB / 0.6105 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.9033, allocations: 19.97 kB / 0.6105 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9034, allocations: 0 / 0.6105 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.976e-05/0.9034, allocations: 8 kB / 0.6105 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.9037, allocations: 6.812 kB / 0.6105 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006118/0.9044, allocations: 104.4 kB / 0.6106 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.9048, allocations: 0.6809 MB / 0.6113 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.852e-05/0.9048, allocations: 7.969 kB / 0.6113 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.9049, allocations: 7.562 kB / 0.6113 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/0.9049, allocations: 4 kB / 0.6113 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.9399, allocations: 1.228 MB / 0.6125 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003457/0.9403, allocations: 150.4 kB / 0.6127 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.331, allocations: 8 kB / 0.6127 GB, free: 7.477 MB / 0.4948 GB