Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.44/3.44, allocations: 343.8 MB / 355.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.789e-05/7.834e-05, allocations: 11.98 kB / 436.7 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1783, allocations: 77.73 MB / 0.5023 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6888/0.8671, allocations: 106.4 MB / 0.6062 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.8675, allocations: 75.95 kB / 0.6063 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.007929/0.8754, allocations: 1.697 MB / 0.6079 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8755, allocations: 0 / 0.6079 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.8755, allocations: 0 / 0.6079 GB, free: 12.89 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006326/0.8762, allocations: 388.5 kB / 0.6083 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.8762, allocations: 8.031 kB / 0.6083 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.972e-05/0.8763, allocations: 46.55 kB / 0.6083 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.8763, allocations: 15.84 kB / 0.6084 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.8766, allocations: 195.6 kB / 0.6085 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.8766, allocations: 4 kB / 0.6085 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.8767, allocations: 4 kB / 0.6085 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.877, allocations: 97.58 kB / 0.6086 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.877, allocations: 3.938 kB / 0.6086 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.877, allocations: 4 kB / 0.6086 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.877, allocations: 4 kB / 0.6087 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.8773, allocations: 75.86 kB / 0.6087 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009021/0.8782, allocations: 376.5 kB / 0.6091 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.8783, allocations: 54.45 kB / 0.6091 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.8785, allocations: 36.97 kB / 0.6092 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-05/0.8785, allocations: 4 kB / 0.6092 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.8786, allocations: 30.56 kB / 0.6092 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 3.146e-06/0.8786, allocations: 0 / 0.6092 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.000354/0.8789, allocations: 93.58 kB / 0.6093 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.879, allocations: 51.41 kB / 0.6093 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.8792, allocations: 127.6 kB / 0.6095 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.8792, allocations: 25.7 kB / 0.6095 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.8793, allocations: 108.3 kB / 0.6096 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.8793, allocations: 23.7 kB / 0.6096 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-06/0.8794, allocations: 0 / 0.6096 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8795, allocations: 318.8 kB / 0.6099 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-05/0.8796, allocations: 23.98 kB / 0.6099 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.8797, allocations: 31.92 kB / 0.61 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.55e-05/0.8798, allocations: 23.98 kB / 0.61 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8798, allocations: 4 kB / 0.61 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002786/0.8801, allocations: 93.53 kB / 0.6101 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.8801, allocations: 11.94 kB / 0.6101 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8802, allocations: 0 / 0.6101 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.8802, allocations: 0 / 0.6101 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.8805, allocations: 27.97 kB / 0.6101 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.8805, allocations: 3.984 kB / 0.6101 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.8806, allocations: 12.25 kB / 0.6101 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.8807, allocations: 7.984 kB / 0.6101 GB, free: 10.39 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 (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 prepare postOptimizeDAE: time 9.001e-05/0.8808, allocations: 101 kB / 0.6102 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.8808, allocations: 19.8 kB / 0.6103 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.8812, allocations: 122.2 kB / 0.6104 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.8813, allocations: 0 / 0.6104 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8813, allocations: 0 / 0.6104 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.8813, allocations: 0 / 0.6104 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.8816, allocations: 209.5 kB / 0.6106 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.8816, allocations: 4 kB / 0.6106 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.8818, allocations: 19.98 kB / 0.6106 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.8819, allocations: 0 / 0.6106 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.8819, allocations: 7.953 kB / 0.6106 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.8819, allocations: 0 / 0.6106 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8819, allocations: 0 / 0.6106 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.8822, allocations: 195.4 kB / 0.6108 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.8823, allocations: 89.02 kB / 0.6109 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.8823, allocations: 0 / 0.6109 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.8825, allocations: 15.94 kB / 0.6109 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.8826, allocations: 7.984 kB / 0.6109 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.8826, allocations: 8 kB / 0.6109 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.957e-05/0.8827, allocations: 102.7 kB / 0.611 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.81e-07/0.8827, allocations: 0 / 0.611 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003489/0.8831, allocations: 19.91 kB / 0.611 GB, free: 9.391 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.0006726/0.8838, allocations: 0.7397 MB / 0.6118 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.8841, allocations: 76.16 kB / 0.6118 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8841, allocations: 0 / 0.6118 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.8842, allocations: 35.98 kB / 0.6119 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.8844, allocations: 11.89 kB / 0.6119 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.8852, allocations: 179.1 kB / 0.612 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.8855, allocations: 0.716 MB / 0.6127 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.8857, allocations: 11.98 kB / 0.6127 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.8857, allocations: 27.42 kB / 0.6128 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of SimCode: time 1.232e-06/0.8858, allocations: 0 / 0.6128 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.9086, allocations: 1.675 MB / 0.6144 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003174/0.909, allocations: 162.1 kB / 0.6146 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.475, allocations: 4 kB / 0.6146 GB, free: 5.684 MB / 0.4948 GB