Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.583/2.583, allocations: 270 MB / 282.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.345e-05, allocations: 0 / 347.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4101, allocations: 61.86 MB / 408.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.5734, allocations: 86.32 MB / 495.2 MB, free: 4.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.5738, allocations: 67.97 kB / 495.3 MB, free: 4.309 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04751/0.6213, allocations: 8.261 MB / 0.4918 GB, free: 12.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6213, allocations: 0 / 0.4918 GB, free: 12.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.6213, allocations: 0 / 0.4918 GB, free: 12.03 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003875/0.6217, allocations: 354.4 kB / 0.4921 GB, free: 11.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.6218, allocations: 8.031 kB / 0.4921 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.6219, allocations: 34.56 kB / 0.4921 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.6219, allocations: 3.906 kB / 0.4921 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.622, allocations: 159.1 kB / 0.4923 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.622, allocations: 0 / 0.4923 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.6221, allocations: 3.953 kB / 0.4923 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.6222, allocations: 41.69 kB / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.6222, allocations: 0 / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.6222, allocations: 4 kB / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.6223, allocations: 0 / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.775e-05/0.6223, allocations: 7.938 kB / 0.4924 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.6227, allocations: 244.9 kB / 0.4926 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.6228, allocations: 18.58 kB / 0.4926 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.6228, allocations: 4.859 kB / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.6228, allocations: 0 / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.6229, allocations: 38.62 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.674e-06/0.6229, allocations: 0 / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.6231, allocations: 37.58 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.6231, allocations: 51.41 kB / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.6232, allocations: 96.98 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.6232, allocations: 25.7 kB / 0.4928 GB, free: 10.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.6233, allocations: 154.6 kB / 0.493 GB, free: 10.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.6233, allocations: 4 kB / 0.493 GB, free: 10.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.6233, allocations: 0 / 0.493 GB, free: 10.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6235, allocations: 318.8 kB / 0.4933 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.6235, allocations: 4 kB / 0.4933 GB, free: 10.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/0.6235, allocations: 22.56 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/0.6236, allocations: 11.94 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.6236, allocations: 0 / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001015/0.6237, allocations: 49.62 kB / 0.4934 GB, free: 10.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.6237, allocations: 8 kB / 0.4934 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.6238, allocations: 0 / 0.4934 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6238, allocations: 0 / 0.4934 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.6238, allocations: 11.98 kB / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6239, allocations: 0 / 0.4934 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/0.6239, allocations: 7.906 kB / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.6239, allocations: 4.094 kB / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * 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 8.03e-05/0.624, allocations: 112.9 kB / 0.4935 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.624, allocations: 0 / 0.4935 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.6242, allocations: 48.75 kB / 0.4936 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.6242, allocations: 0 / 0.4936 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.6242, allocations: 0 / 0.4936 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6242, allocations: 0 / 0.4936 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.6244, allocations: 149.7 kB / 0.4937 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6244, allocations: 4 kB / 0.4937 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-06/0.6244, allocations: 0 / 0.4937 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6245, allocations: 0 / 0.4937 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.6245, allocations: 3.984 kB / 0.4937 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6245, allocations: 0 / 0.4937 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6245, allocations: 4 kB / 0.4937 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.6246, allocations: 127.5 kB / 0.4938 GB, free: 9.586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.6247, allocations: 89.09 kB / 0.4939 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.6247, allocations: 0 / 0.4939 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.6248, allocations: 3.984 kB / 0.4939 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.6248, allocations: 0 / 0.4939 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.6248, allocations: 4 kB / 0.4939 GB, free: 9.473 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.988e-05/0.6249, allocations: 75.28 kB / 0.494 GB, free: 9.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6249, allocations: 0 / 0.494 GB, free: 9.398 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000468/0.6254, allocations: 47.94 kB / 0.4941 GB, free: 9.352 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.000703/0.6261, allocations: 0.7241 MB / 0.4948 GB, free: 8.602 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.6262, allocations: 41.62 kB / 0.4948 GB, free: 8.555 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.6262, allocations: 3.938 kB / 0.4948 GB, free: 8.551 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.63e-05/0.6263, allocations: 25.7 kB / 0.4948 GB, free: 8.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.6264, allocations: 4.281 kB / 0.4948 GB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.6269, allocations: 132.5 kB / 0.495 GB, free: 8.344 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.6272, allocations: 0.6809 MB / 0.4956 GB, free: 7.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.6273, allocations: 7.438 kB / 0.4956 GB, free: 7.629 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6273, allocations: 0 / 0.4956 GB, free: 7.629 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.372/2.999, allocations: 1.128 MB / 0.4967 GB, free: 6.5 MB / 426.7 MB