Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.622/2.622, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.695e-05/3.697e-05, allocations: 4 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4159, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.5761, allocations: 86.31 MB / 495.2 MB, free: 4.215 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.5764, allocations: 67.97 kB / 495.3 MB, free: 4.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04695/0.6234, allocations: 8.274 MB / 0.4918 GB, free: 11.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6235, allocations: 0 / 0.4918 GB, free: 11.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.6235, allocations: 4 kB / 0.4918 GB, free: 11.86 MB / 426.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.0003851/0.6239, allocations: 342.4 kB / 0.4921 GB, free: 11.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.6239, allocations: 8.031 kB / 0.4921 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.624, allocations: 34.56 kB / 0.4921 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.624, allocations: 3.906 kB / 0.4921 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.6242, allocations: 163.1 kB / 0.4923 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.6242, allocations: 3.938 kB / 0.4923 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.6242, allocations: 3.953 kB / 0.4923 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.524e-05/0.6243, allocations: 33.7 kB / 0.4923 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.6243, allocations: 0 / 0.4923 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.6244, allocations: 4 kB / 0.4923 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.6244, allocations: 0 / 0.4923 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.6244, allocations: 4 kB / 0.4923 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.6246, allocations: 149.7 kB / 0.4925 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.789e-05/0.6246, allocations: 14.58 kB / 0.4925 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.6247, allocations: 8.922 kB / 0.4925 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.6247, allocations: 11.89 kB / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.6248, allocations: 34.56 kB / 0.4926 GB, free: 10.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 3.647e-06/0.6248, allocations: 0 / 0.4926 GB, free: 10.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001352/0.6249, allocations: 37.64 kB / 0.4926 GB, free: 10.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.625, allocations: 51.41 kB / 0.4926 GB, free: 10.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/0.6251, allocations: 88.98 kB / 0.4927 GB, free: 10.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.6251, allocations: 25.7 kB / 0.4928 GB, free: 10.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.6251, allocations: 158.7 kB / 0.4929 GB, free: 10.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.6252, allocations: 3.938 kB / 0.4929 GB, free: 10.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.6252, allocations: 0 / 0.4929 GB, free: 10.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.6253, allocations: 314.8 kB / 0.4932 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.6253, allocations: 0 / 0.4932 GB, free: 10.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.6254, allocations: 4 kB / 0.4932 GB, free: 10.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.889e-05/0.6254, allocations: 0 / 0.4932 GB, free: 10.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6254, allocations: 0 / 0.4932 GB, free: 10.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.875e-05/0.6255, allocations: 41.7 kB / 0.4933 GB, free: 10.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.6255, allocations: 11.94 kB / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.6256, allocations: 0 / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.6256, allocations: 4 kB / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-06/0.6256, allocations: 0 / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6256, allocations: 0 / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.6256, allocations: 0 / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.6257, allocations: 0 / 0.4933 GB, free: 10.11 MB / 426.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 7.487e-05/0.6257, allocations: 101 kB / 0.4934 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.6258, allocations: 8.031 kB / 0.4934 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.6259, allocations: 52.67 kB / 0.4934 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.626, allocations: 0 / 0.4934 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.626, allocations: 3.938 kB / 0.4934 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.626, allocations: 0 / 0.4934 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.6261, allocations: 149.7 kB / 0.4936 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.6261, allocations: 0 / 0.4936 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-06/0.6261, allocations: 4 kB / 0.4936 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.6262, allocations: 4.031 kB / 0.4936 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.6262, allocations: 0 / 0.4936 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.6262, allocations: 3.953 kB / 0.4936 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6262, allocations: 0 / 0.4936 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.481e-05/0.6263, allocations: 57.14 kB / 0.4936 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.6264, allocations: 85.09 kB / 0.4937 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.6264, allocations: 0 / 0.4937 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.594e-05/0.6265, allocations: 7.969 kB / 0.4937 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.6265, allocations: 11.94 kB / 0.4937 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.6265, allocations: 0 / 0.4937 GB, free: 9.527 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.02e-05/0.6265, allocations: 75.28 kB / 0.4938 GB, free: 9.453 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6266, allocations: 0 / 0.4938 GB, free: 9.453 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000423/0.627, allocations: 55.92 kB / 0.4939 GB, free: 9.398 MB / 426.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.0006969/0.6277, allocations: 0.6497 MB / 0.4945 GB, free: 8.723 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.967e-05/0.6278, allocations: 29.7 kB / 0.4945 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6278, allocations: 0 / 0.4945 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-05/0.6279, allocations: 29.7 kB / 0.4946 GB, free: 8.652 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.628, allocations: 7.891 kB / 0.4946 GB, free: 8.645 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.6285, allocations: 130.1 kB / 0.4947 GB, free: 8.477 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.6288, allocations: 0.6849 MB / 0.4954 GB, free: 7.766 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.6288, allocations: 11.44 kB / 0.4954 GB, free: 7.754 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/0.6288, allocations: 0 / 0.4954 GB, free: 7.754 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.415/3.044, allocations: 1.123 MB / 0.4965 GB, free: 6.629 MB / 426.7 MB