Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 270 MB / 282.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.797e-05, allocations: 4 kB / 347.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4317, allocations: 61.87 MB / 408.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.5839, allocations: 84.98 MB / 493.9 MB, free: 5.715 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.5842, allocations: 63.97 kB / 494 MB, free: 5.652 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001975/0.5862, allocations: 0.5611 MB / 494.5 MB, free: 5.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5863, allocations: 0 / 494.5 MB, free: 5.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.5863, allocations: 4 kB / 494.5 MB, free: 5.086 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003247/0.5866, allocations: 326.3 kB / 494.9 MB, free: 4.723 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.5867, allocations: 12.02 kB / 494.9 MB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.5867, allocations: 38.56 kB / 494.9 MB, free: 4.664 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.5868, allocations: 4 kB / 494.9 MB, free: 4.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.5869, allocations: 163 kB / 495.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5869, allocations: 0 / 495.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.587, allocations: 11.95 kB / 495.1 MB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.5871, allocations: 51.41 kB / 495.1 MB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5871, allocations: 3.938 kB / 495.1 MB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5872, allocations: 0 / 495.1 MB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5872, allocations: 0 / 495.1 MB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.868e-05/0.5872, allocations: 12 kB / 495.1 MB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.5876, allocations: 337 kB / 495.5 MB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.95e-05/0.5877, allocations: 18.58 kB / 495.5 MB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.5877, allocations: 16.86 kB / 495.5 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.5878, allocations: 0 / 495.5 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.5878, allocations: 30.56 kB / 495.5 MB, free: 3.902 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.5878, allocations: 0 / 495.5 MB, free: 3.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001802/0.588, allocations: 49.72 kB / 495.6 MB, free: 3.848 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.5881, allocations: 55.41 kB / 495.6 MB, free: 3.781 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.5882, allocations: 93 kB / 495.7 MB, free: 3.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.5882, allocations: 25.7 kB / 495.8 MB, free: 3.652 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.5883, allocations: 154.5 kB / 495.9 MB, free: 3.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.5883, allocations: 15.81 kB / 495.9 MB, free: 3.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.5883, allocations: 0 / 495.9 MB, free: 3.484 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5884, allocations: 314.8 kB / 496.2 MB, free: 3.168 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.5885, allocations: 4.125 kB / 496.2 MB, free: 3.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.951e-05/0.5885, allocations: 25.72 kB / 496.3 MB, free: 3.133 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.5886, allocations: 12.03 kB / 496.3 MB, free: 3.121 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5886, allocations: 0 / 496.3 MB, free: 3.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001251/0.5887, allocations: 57.58 kB / 496.3 MB, free: 3.059 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.5887, allocations: 4 kB / 496.3 MB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.5888, allocations: 4 kB / 496.3 MB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.5888, allocations: 0 / 496.3 MB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.5889, allocations: 11.98 kB / 496.3 MB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5889, allocations: 4.031 kB / 496.3 MB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.589, allocations: 3.938 kB / 496.4 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.589, allocations: 0 / 496.4 MB, free: 3.031 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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 7.368e-05/0.5891, allocations: 108.1 kB / 496.5 MB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.5891, allocations: 3.953 kB / 496.5 MB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.5893, allocations: 65.12 kB / 496.5 MB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5893, allocations: 0 / 496.5 MB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5893, allocations: 3.938 kB / 496.5 MB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5893, allocations: 11.92 kB / 496.5 MB, free: 2.824 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.5895, allocations: 157.6 kB / 496.7 MB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.5896, allocations: 4.172 kB / 496.7 MB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.5896, allocations: 8 kB / 496.7 MB, free: 2.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.5896, allocations: 7.953 kB / 496.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.5897, allocations: 0 / 496.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5897, allocations: 0 / 496.7 MB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5897, allocations: 3.984 kB / 496.7 MB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.5899, allocations: 147.5 kB / 496.9 MB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.5899, allocations: 85.05 kB / 496.9 MB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.5899, allocations: 7.953 kB / 497 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.59, allocations: 0 / 497 MB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.5901, allocations: 7.984 kB / 497 MB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.5901, allocations: 0 / 497 MB, free: 2.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.196e-05/0.5901, allocations: 75.28 kB / 497 MB, free: 2.246 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5901, allocations: 0 / 497 MB, free: 2.246 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003061/0.5905, allocations: 12 kB / 497 MB, free: 2.234 MB / 410.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 (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 Backend phase and start with SimCode phase: time 0.0004752/0.5909, allocations: 0.6814 MB / 497.7 MB, free: 1.527 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.5911, allocations: 23.94 kB / 497.7 MB, free: 1.504 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.5911, allocations: 0 / 497.7 MB, free: 1.504 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.5912, allocations: 12 kB / 497.8 MB, free: 1.492 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.5914, allocations: 7.953 kB / 497.8 MB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.5918, allocations: 138 kB / 497.9 MB, free: 1.309 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.5921, allocations: 0.6809 MB / 498.6 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.5921, allocations: 7.438 kB / 498.6 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5921, allocations: 3.938 kB / 498.6 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.378/2.97, allocations: 0.7563 MB / 499.4 MB, free: 15.83 MB / 426.7 MB