Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 2.331/2.331, allocations: 270 MB / 282.7 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.652e-05/2.661e-05, allocations: 3.938 kB / 347 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.323, allocations: 61.88 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/0.5026, allocations: 85.55 MB / 494.4 MB, free: 5.109 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.5029, allocations: 71.95 kB / 494.5 MB, free: 5.039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01386/0.5168, allocations: 3.026 MB / 497.5 MB, free: 2.004 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.408e-06/0.5168, allocations: 0 / 497.5 MB, free: 2.004 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.5168, allocations: 4 kB / 497.5 MB, free: 2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004037/0.5173, allocations: 366.3 kB / 497.8 MB, free: 1.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5173, allocations: 8.031 kB / 497.9 MB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.5173, allocations: 4 kB / 497.9 MB, free: 1.586 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.5175, allocations: 170.9 kB / 498 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.5175, allocations: 7.953 kB / 498 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.5176, allocations: 12 kB / 498 MB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.5177, allocations: 45.69 kB / 498.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5177, allocations: 3.938 kB / 498.1 MB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.5178, allocations: 4 kB / 498.1 MB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-06/0.5178, allocations: 4 kB / 498.1 MB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.013e-05/0.5179, allocations: 23.98 kB / 498.1 MB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.5181, allocations: 165.6 kB / 498.3 MB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.5184, allocations: 54.56 kB / 498.3 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.774e-05/0.5184, allocations: 32.81 kB / 498.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.5187, allocations: 113.1 kB / 498.5 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.5188, allocations: 30.56 kB / 498.5 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 4.523e-06/0.5188, allocations: 3.984 kB / 498.5 MB, free: 0.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.1231/0.6419, allocations: 5.388 MB / 0.4921 GB, free: 11.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.642, allocations: 51.41 kB / 0.4921 GB, free: 11.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.6421, allocations: 97 kB / 0.4922 GB, free: 11.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/0.6422, allocations: 25.7 kB / 0.4923 GB, free: 11.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.6423, allocations: 154.6 kB / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.6424, allocations: 71 kB / 0.4925 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.6425, allocations: 3.938 kB / 0.4925 GB, free: 10.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6427, allocations: 318.8 kB / 0.4928 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.6431, allocations: 187.9 kB / 0.493 GB, free: 10.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.6436, allocations: 187.9 kB / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.6449, allocations: 238.4 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.6449, allocations: 0 / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002031/0.6469, allocations: 0.5286 MB / 0.4939 GB, free: 9.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.647, allocations: 4 kB / 0.4939 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.338e-06/0.647, allocations: 4 kB / 0.4939 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.647, allocations: 0 / 0.4939 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/0.6479, allocations: 115.8 kB / 0.494 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.55e-06/0.6479, allocations: 0 / 0.494 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005463/0.6485, allocations: 35.97 kB / 0.494 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.389e-05/0.6486, allocations: 31.94 kB / 0.4941 GB, free: 9.301 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 (19): * Single equations (assignments): 19 * 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.0001735/0.6488, allocations: 116.9 kB / 0.4942 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.6489, allocations: 11.86 kB / 0.4942 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.6513, allocations: 0.642 MB / 0.4948 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.02e-06/0.6514, allocations: 4 kB / 0.4948 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.165e-06/0.6514, allocations: 256 / 0.4948 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.162e-06/0.6514, allocations: 7.984 kB / 0.4948 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004791/0.6562, allocations: 1.124 MB / 0.4959 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.6562, allocations: 0 / 0.4959 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/0.657, allocations: 108 kB / 0.496 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.97e-06/0.657, allocations: 4 kB / 0.496 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.079e-05/0.6571, allocations: 31.95 kB / 0.4961 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.137e-06/0.6571, allocations: 3.938 kB / 0.4961 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.346e-06/0.6571, allocations: 7.953 kB / 0.4961 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.6589, allocations: 0.5746 MB / 0.4966 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.659, allocations: 85.02 kB / 0.4967 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/0.6591, allocations: 8 kB / 0.4967 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/0.6597, allocations: 35.89 kB / 0.4968 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.6597, allocations: 19.94 kB / 0.4968 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-05/0.6598, allocations: 31.95 kB / 0.4968 GB, free: 6.312 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.996e-05/0.6599, allocations: 79.28 kB / 0.4969 GB, free: 6.234 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.6599, allocations: 0 / 0.4969 GB, free: 6.234 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001987/0.6619, allocations: 0.6286 MB / 0.4975 GB, free: 5.605 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.003577/0.6655, allocations: 344.7 kB / 0.4978 GB, free: 5.262 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009855/0.6665, allocations: 363.8 kB / 0.4982 GB, free: 4.906 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.559e-06/0.6665, allocations: 0 / 0.4982 GB, free: 4.906 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.6669, allocations: 164.1 kB / 0.4983 GB, free: 4.746 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.6672, allocations: 12.67 kB / 0.4983 GB, free: 4.734 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.67, allocations: 495.8 kB / 0.4988 GB, free: 4.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.6704, allocations: 0.6968 MB / 0.4995 GB, free: 3.477 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.6708, allocations: 91.28 kB / 0.4996 GB, free: 3.387 MB / 426.7 MB Notification: Performance of SimCode: time 1.521e-06/0.6708, allocations: 0 / 0.4996 GB, free: 3.387 MB / 426.7 MB Notification: Performance of Templates: time 0.03328/0.7041, allocations: 17.3 MB / 0.5165 GB, free: 2.547 MB / 442.7 MB