Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 270 MB / 282.7 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.965e-05, allocations: 4 kB / 347 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3179, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.4494, allocations: 85.65 MB / 494.5 MB, free: 5.012 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.4496, allocations: 67.97 kB / 494.6 MB, free: 4.945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01476/0.4644, allocations: 3.162 MB / 497.7 MB, free: 1.773 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4645, allocations: 0 / 497.7 MB, free: 1.773 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.4645, allocations: 0 / 497.7 MB, free: 1.773 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.0004253/0.4649, allocations: 369.4 kB / 498.1 MB, free: 1.371 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.465, allocations: 8.031 kB / 498.1 MB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.465, allocations: 11.88 kB / 498.1 MB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.4652, allocations: 163 kB / 498.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.4652, allocations: 11.95 kB / 498.3 MB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.4652, allocations: 11.91 kB / 498.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.4654, allocations: 65.67 kB / 498.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4654, allocations: 0 / 498.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4654, allocations: 0 / 498.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.251e-06/0.4655, allocations: 0 / 498.3 MB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.4656, allocations: 43.91 kB / 498.4 MB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.4658, allocations: 185.5 kB / 498.6 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.466, allocations: 86.55 kB / 498.7 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.858e-05/0.4661, allocations: 32.81 kB / 498.7 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/0.4664, allocations: 109.1 kB / 498.8 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.4664, allocations: 38.55 kB / 498.8 MB, free: 496 kB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.335e-06/0.4665, allocations: 0 / 498.8 MB, free: 496 kB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.1178/0.5843, allocations: 4.968 MB / 0.492 GB, free: 11.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.5844, allocations: 55.41 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.5845, allocations: 85 kB / 0.4921 GB, free: 11.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.5845, allocations: 33.7 kB / 0.4922 GB, free: 11.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.5846, allocations: 150.9 kB / 0.4923 GB, free: 11.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.5847, allocations: 82.95 kB / 0.4924 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.5848, allocations: 4 kB / 0.4924 GB, free: 11.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5849, allocations: 326.8 kB / 0.4927 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.5851, allocations: 63.98 kB / 0.4928 GB, free: 10.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.5854, allocations: 74.62 kB / 0.4928 GB, free: 10.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.5861, allocations: 103.9 kB / 0.4929 GB, free: 10.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.281e-06/0.5861, allocations: 0 / 0.4929 GB, free: 10.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001113/0.5872, allocations: 271.5 kB / 0.4932 GB, free: 10.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5873, allocations: 4 kB / 0.4932 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.562e-06/0.5873, allocations: 3.984 kB / 0.4932 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5873, allocations: 8 kB / 0.4932 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.5879, allocations: 87.91 kB / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.577e-06/0.5879, allocations: 0 / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.5882, allocations: 39.97 kB / 0.4933 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.5882, allocations: 15.98 kB / 0.4933 GB, free: 10.05 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.0001343/0.5884, allocations: 120.8 kB / 0.4934 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.5884, allocations: 11.89 kB / 0.4935 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.5899, allocations: 337.7 kB / 0.4938 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.855e-06/0.5899, allocations: 4 kB / 0.4938 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.022e-06/0.5899, allocations: 0 / 0.4938 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.312e-06/0.5899, allocations: 0 / 0.4938 GB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.5924, allocations: 0.7316 MB / 0.4945 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.113e-06/0.5925, allocations: 3.938 kB / 0.4945 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.5929, allocations: 84 kB / 0.4946 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.5929, allocations: 7.953 kB / 0.4946 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.593, allocations: 15.98 kB / 0.4946 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.606e-06/0.593, allocations: 0 / 0.4946 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.593, allocations: 0 / 0.4946 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.5941, allocations: 371 kB / 0.495 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.5942, allocations: 85.02 kB / 0.495 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.5942, allocations: 15.88 kB / 0.4951 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.5945, allocations: 39.97 kB / 0.4951 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.5946, allocations: 11.98 kB / 0.4951 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.5946, allocations: 19.98 kB / 0.4951 GB, free: 8.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.012e-05/0.5947, allocations: 75.28 kB / 0.4952 GB, free: 8.016 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.5947, allocations: 0 / 0.4952 GB, free: 8.016 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001879/0.5966, allocations: 0.6168 MB / 0.4958 GB, free: 7.398 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.003533/0.6001, allocations: 338.6 kB / 0.4961 GB, free: 7.059 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004727/0.6006, allocations: 168 kB / 0.4963 GB, free: 6.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.315e-06/0.6006, allocations: 0 / 0.4963 GB, free: 6.895 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.6008, allocations: 87.91 kB / 0.4964 GB, free: 6.809 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.601, allocations: 11.95 kB / 0.4964 GB, free: 6.797 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009238/0.602, allocations: 281 kB / 0.4966 GB, free: 6.484 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.6024, allocations: 0.7017 MB / 0.4973 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.6026, allocations: 51.39 kB / 0.4974 GB, free: 5.707 MB / 426.7 MB Notification: Performance of SimCode: time 1.424e-06/0.6026, allocations: 0 / 0.4974 GB, free: 5.707 MB / 426.7 MB Notification: Performance of Templates: time 0.02959/0.6322, allocations: 14.93 MB / 0.512 GB, free: 7.258 MB / 442.7 MB