Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.119/3.119, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.047e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5194, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1814/0.7009, allocations: 79.75 MB / 434.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.7012, allocations: 67.91 kB / 434.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06364/0.7649, allocations: 8.133 MB / 442.4 MB, free: 7.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.765, allocations: 0 / 442.4 MB, free: 7.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.765, allocations: 4 kB / 442.4 MB, free: 7.098 MB / 378.7 MB 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.0004522/0.7654, allocations: 339 kB / 442.7 MB, free: 6.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.7655, allocations: 8.031 kB / 442.7 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.7656, allocations: 34.56 kB / 442.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.7656, allocations: 7.859 kB / 442.7 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.7658, allocations: 167 kB / 442.9 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.7658, allocations: 0 / 442.9 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.7659, allocations: 4 kB / 442.9 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.53e-05/0.7659, allocations: 4 kB / 442.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.683e-05/0.766, allocations: 33.69 kB / 442.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.7661, allocations: 0 / 442.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.7661, allocations: 0 / 442.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.7661, allocations: 3.953 kB / 442.9 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.7663, allocations: 126.2 kB / 443.1 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.7664, allocations: 22.52 kB / 443.1 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.7664, allocations: 16.89 kB / 443.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.7664, allocations: 3.984 kB / 443.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.7665, allocations: 30.56 kB / 443.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.094e-06/0.7665, allocations: 0 / 443.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002105/0.7667, allocations: 33.7 kB / 443.2 MB, free: 6.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.7668, allocations: 51.41 kB / 443.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.7669, allocations: 89 kB / 443.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.7669, allocations: 29.86 kB / 443.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.767, allocations: 84.14 kB / 443.4 MB, free: 5.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.767, allocations: 3.938 kB / 443.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.767, allocations: 0 / 443.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7672, allocations: 318.8 kB / 443.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.7672, allocations: 4 kB / 443.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.7672, allocations: 0 / 443.7 MB, free: 5.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.544e-05/0.7673, allocations: 7.938 kB / 443.8 MB, free: 5.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.7673, allocations: 4.062 kB / 443.8 MB, free: 5.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001251/0.7674, allocations: 37.69 kB / 443.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.7675, allocations: 4 kB / 443.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.7675, allocations: 0 / 443.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.7675, allocations: 0 / 443.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-06/0.7675, allocations: 0 / 443.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.7676, allocations: 11.97 kB / 443.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.7676, allocations: 0 / 443.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.7676, allocations: 0 / 443.8 MB, free: 5.441 MB / 378.7 MB 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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.396e-05/0.7677, allocations: 112.9 kB / 443.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.7678, allocations: 3.906 kB / 443.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.768, allocations: 57.33 kB / 444 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7681, allocations: 0 / 444 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7681, allocations: 0 / 444 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7681, allocations: 0 / 444 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.7682, allocations: 130.2 kB / 444.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.7682, allocations: 4 kB / 444.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-06/0.7683, allocations: 4.031 kB / 444.1 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.7683, allocations: 0 / 444.1 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.7683, allocations: 3.984 kB / 444.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.7683, allocations: 3.938 kB / 444.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7683, allocations: 0 / 444.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.7685, allocations: 57.14 kB / 444.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.7685, allocations: 85.06 kB / 444.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.7686, allocations: 0 / 444.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.7687, allocations: 8.016 kB / 444.3 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.7687, allocations: 4 kB / 444.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.7687, allocations: 4 kB / 444.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.492e-05/0.7688, allocations: 75.28 kB / 444.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7688, allocations: 0 / 444.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004919/0.7693, allocations: 43.94 kB / 444.4 MB, free: 4.773 MB / 378.7 MB 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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008622/0.7702, allocations: 0.6554 MB / 445 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.7703, allocations: 29.7 kB / 445.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7703, allocations: 0 / 445.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.7704, allocations: 29.7 kB / 445.1 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.7705, allocations: 2.062 kB / 445.1 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.7711, allocations: 105.9 kB / 445.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.7714, allocations: 0.6768 MB / 445.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.156e-05/0.7714, allocations: 0 / 445.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.7715, allocations: 7.438 kB / 445.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7715, allocations: 0 / 445.9 MB, free: 3.164 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08573/0.8572, allocations: 1.151 MB / 447 MB, free: 2.023 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0005801/0.8579, allocations: 155 kB / 447.2 MB, free: 1.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.259/4.117, allocations: 3.938 kB / 447.2 MB, free: 1.816 MB / 378.7 MB