Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Ground.Boreholes.BaseClasses.Examples.Factorial,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Ground_Boreholes_BaseClasses_Examples_Factorial",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.605/4.605, allocations: 404.1 MB / 411.3 MB, free: 440 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.43e-05/4.444e-05, allocations: 4 kB / 0.4946 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7167/0.7168, allocations: 92.69 MB / 0.5851 GB, free: 2.328 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/0.9819, allocations: 118.9 MB / 0.7012 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003854/0.9823, allocations: 87.94 kB / 0.7013 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004966/0.9873, allocations: 1.065 MB / 0.7023 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.31e-06/0.9874, allocations: 3.984 kB / 0.7023 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.9874, allocations: 0 / 0.7023 GB, free: 10.11 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003556/0.9878, allocations: 330.4 kB / 0.7026 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.9878, allocations: 12.02 kB / 0.7027 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.9879, allocations: 11.95 kB / 0.7027 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.9881, allocations: 163 kB / 0.7028 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.9881, allocations: 0 / 0.7028 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.9881, allocations: 7.938 kB / 0.7028 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.438e-05/0.9882, allocations: 11.98 kB / 0.7028 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.9884, allocations: 77.91 kB / 0.7029 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9884, allocations: 0 / 0.7029 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.9884, allocations: 4 kB / 0.7029 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.9885, allocations: 7.953 kB / 0.7029 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.9895, allocations: 1.088 MB / 0.704 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.9897, allocations: 173.1 kB / 0.7042 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.9897, allocations: 80.14 kB / 0.7042 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.9898, allocations: 75.28 kB / 0.7043 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.643e-05/0.9898, allocations: 117.8 kB / 0.7044 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 2.034e-06/0.9899, allocations: 0 / 0.7044 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001064/0.99, allocations: 41.55 kB / 0.7045 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.99, allocations: 85.05 kB / 0.7045 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.9902, allocations: 113.2 kB / 0.7046 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.9902, allocations: 25.7 kB / 0.7047 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.9903, allocations: 88.05 kB / 0.7048 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/0.9903, allocations: 4 kB / 0.7048 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.9904, allocations: 0 / 0.7048 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9905, allocations: 318.8 kB / 0.7051 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.242e-05/0.9906, allocations: 8 kB / 0.7051 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.952e-05/0.9907, allocations: 40.28 kB / 0.7051 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.9909, allocations: 19.97 kB / 0.7051 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.9909, allocations: 0 / 0.7051 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003534/0.9912, allocations: 81.48 kB / 0.7052 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.9913, allocations: 4 kB / 0.7052 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.9913, allocations: 4 kB / 0.7052 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.9913, allocations: 7.922 kB / 0.7052 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.9915, allocations: 11.95 kB / 0.7052 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.9915, allocations: 0 / 0.7052 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.9916, allocations: 7.984 kB / 0.7052 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.9916, allocations: 4 kB / 0.7052 GB, free: 6.77 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (y[5],y[4],y[3],y[2],y[1]) * 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.000147/0.9918, allocations: 192.7 kB / 0.7054 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001049/0.9919, allocations: 134.6 kB / 0.7056 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.992, allocations: 108.9 kB / 0.7057 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/0.9921, allocations: 116.8 kB / 0.7058 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.572e-05/0.9922, allocations: 180.2 kB / 0.7059 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.391e-05/0.9923, allocations: 176.8 kB / 0.7061 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.459e-05/0.9924, allocations: 192.2 kB / 0.7063 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.9927, allocations: 382.2 kB / 0.7067 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-05/0.9928, allocations: 109 kB / 0.7068 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.9928, allocations: 108.9 kB / 0.7069 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.077e-05/0.9929, allocations: 180.3 kB / 0.707 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.967e-05/0.993, allocations: 180.3 kB / 0.7072 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.971e-05/0.9931, allocations: 180.2 kB / 0.7074 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-05/0.9932, allocations: 184.2 kB / 0.7076 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.9934, allocations: 303.8 kB / 0.7079 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.9935, allocations: 194 kB / 0.708 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.9936, allocations: 176.3 kB / 0.7082 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.9938, allocations: 108.9 kB / 0.7083 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.9939, allocations: 181.3 kB / 0.7085 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.994, allocations: 109 kB / 0.7086 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001246/0.9941, allocations: 99.2 kB / 0.7087 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.01e-07/0.9941, allocations: 3.938 kB / 0.7087 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004517/0.9946, allocations: 12 kB / 0.7087 GB, free: 3.012 MB / 0.5886 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 (0): * Single equations (assignments): 0 * 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.0005807/0.9952, allocations: 0.8125 MB / 0.7095 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.9953, allocations: 20.17 kB / 0.7095 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9953, allocations: 4.062 kB / 0.7095 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.9954, allocations: 4 kB / 0.7095 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.9958, allocations: 0.5185 MB / 0.71 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.9963, allocations: 172 kB / 0.7102 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.9966, allocations: 0.6807 MB / 0.7108 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.854e-05/0.9967, allocations: 16.2 kB / 0.7109 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.9968, allocations: 15.44 kB / 0.7109 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of SimCode: time 9.01e-07/0.9968, allocations: 0 / 0.7109 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04273/1.04, allocations: 0.8971 MB / 0.7118 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003861/1.04, allocations: 187.3 kB / 0.7119 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.709/3.749, allocations: 0 / 0.7119 GB, free: 15.59 MB / 0.6042 GB