Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.495/2.495, allocations: 270 MB / 282.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.438e-05, allocations: 4 kB / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.394, allocations: 61.87 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.5784, allocations: 85.66 MB / 494.6 MB, free: 4.902 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5787, allocations: 67.89 kB / 494.6 MB, free: 4.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01594/0.5947, allocations: 3.166 MB / 497.8 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5947, allocations: 0 / 497.8 MB, free: 1.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.5947, allocations: 0 / 497.8 MB, free: 1.66 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004285/0.5952, allocations: 370.2 kB / 498.2 MB, free: 1.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.5952, allocations: 8.031 kB / 498.2 MB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.588e-05/0.5953, allocations: 46.48 kB / 498.2 MB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.5953, allocations: 4 kB / 498.2 MB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.5955, allocations: 166.9 kB / 498.4 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.5955, allocations: 7.953 kB / 498.4 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.5955, allocations: 12 kB / 498.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.5957, allocations: 61.67 kB / 498.5 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.5957, allocations: 4 kB / 498.5 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.5958, allocations: 4 kB / 498.5 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.5958, allocations: 0 / 498.5 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.5959, allocations: 39.97 kB / 498.5 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.5962, allocations: 177.5 kB / 498.7 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.5964, allocations: 86.45 kB / 498.8 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.517e-05/0.5965, allocations: 36.84 kB / 498.8 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003629/0.5968, allocations: 105.1 kB / 498.9 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.5969, allocations: 39.14 kB / 499 MB, free: 336 kB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.5969, allocations: 0 / 499 MB, free: 336 kB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.2432/0.8401, allocations: 4.972 MB / 0.4921 GB, free: 11.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.8402, allocations: 55.41 kB / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.8403, allocations: 85 kB / 0.4922 GB, free: 11.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.8403, allocations: 29.7 kB / 0.4923 GB, free: 11.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.8404, allocations: 158.9 kB / 0.4924 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.8405, allocations: 74.97 kB / 0.4925 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.8406, allocations: 8 kB / 0.4925 GB, free: 10.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8407, allocations: 326.8 kB / 0.4928 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.8409, allocations: 67.98 kB / 0.4929 GB, free: 10.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.8412, allocations: 67.98 kB / 0.4929 GB, free: 10.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008902/0.8421, allocations: 110.5 kB / 0.4931 GB, free: 10.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.8421, allocations: 0 / 0.4931 GB, free: 10.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001321/0.8434, allocations: 269.2 kB / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.8435, allocations: 4 kB / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8435, allocations: 0 / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.8435, allocations: 4 kB / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/0.8443, allocations: 95.91 kB / 0.4934 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.8443, allocations: 0 / 0.4934 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.8447, allocations: 35.97 kB / 0.4934 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.8448, allocations: 19.98 kB / 0.4935 GB, free: 9.887 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 (23): * Single equations (assignments): 23 * 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.0001302/0.8449, allocations: 116.8 kB / 0.4936 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.845, allocations: 7.906 kB / 0.4936 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.8467, allocations: 344 kB / 0.4939 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.8467, allocations: 4 kB / 0.4939 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.8467, allocations: 0 / 0.4939 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8467, allocations: 0 / 0.4939 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.8498, allocations: 0.7364 MB / 0.4946 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.8499, allocations: 0 / 0.4946 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.8505, allocations: 95.89 kB / 0.4947 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.8505, allocations: 0 / 0.4947 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.8505, allocations: 11.98 kB / 0.4947 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.8505, allocations: 4 kB / 0.4947 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8506, allocations: 0 / 0.4947 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.8518, allocations: 371 kB / 0.4951 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.8519, allocations: 92.94 kB / 0.4952 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.852, allocations: 4 kB / 0.4952 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.8523, allocations: 43.97 kB / 0.4952 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.8524, allocations: 11.98 kB / 0.4952 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.8524, allocations: 15.98 kB / 0.4953 GB, free: 7.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.695e-05/0.8525, allocations: 75.28 kB / 0.4953 GB, free: 7.855 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8525, allocations: 0 / 0.4953 GB, free: 7.855 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002413/0.8549, allocations: 0.609 MB / 0.4959 GB, free: 7.246 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (23): * Single equations (assignments): 23 * 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.005873/0.8608, allocations: 1.257 MB / 0.4971 GB, free: 5.949 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006022/0.8614, allocations: 171.9 kB / 0.4973 GB, free: 5.781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8615, allocations: 0 / 0.4973 GB, free: 5.781 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.8617, allocations: 91.91 kB / 0.4974 GB, free: 5.691 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.8619, allocations: 14.98 kB / 0.4974 GB, free: 5.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.8644, allocations: 418.3 kB / 0.4978 GB, free: 5.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.8647, allocations: 0.7017 MB / 0.4985 GB, free: 4.492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.865, allocations: 59.39 kB / 0.4986 GB, free: 4.434 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.865, allocations: 4 kB / 0.4986 GB, free: 4.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.931/3.796, allocations: 15.23 MB / 0.5134 GB, free: 5.676 MB / 442.7 MB