Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadModel(ModelicaTest): time 2.354/2.354, allocations: 270 MB / 282.7 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.937e-05, allocations: 0 / 347 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3204, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.4508, allocations: 84.98 MB / 493.8 MB, free: 5.676 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.451, allocations: 67.95 kB / 493.9 MB, free: 5.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001747/0.4528, allocations: 0.5609 MB / 494.4 MB, free: 5.047 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.203e-06/0.4528, allocations: 3.938 kB / 494.5 MB, free: 5.043 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.821e-06/0.4528, allocations: 0 / 494.5 MB, free: 5.043 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.000316/0.4532, allocations: 322.4 kB / 494.8 MB, free: 4.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4532, allocations: 12.03 kB / 494.8 MB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.4533, allocations: 0 / 494.8 MB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.4534, allocations: 163.1 kB / 494.9 MB, free: 4.473 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.4534, allocations: 8 kB / 494.9 MB, free: 4.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.4535, allocations: 0 / 494.9 MB, free: 4.465 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.4536, allocations: 67.28 kB / 495 MB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.52e-06/0.4536, allocations: 0 / 495 MB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-06/0.4536, allocations: 0 / 495 MB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.4537, allocations: 0 / 495 MB, free: 4.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.995e-05/0.4537, allocations: 12 kB / 495 MB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.4541, allocations: 329.1 kB / 495.3 MB, free: 4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.748e-05/0.4542, allocations: 22.52 kB / 495.4 MB, free: 3.969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.4542, allocations: 16.86 kB / 495.4 MB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.4543, allocations: 0 / 495.4 MB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.4543, allocations: 30.56 kB / 495.4 MB, free: 3.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.081e-06/0.4543, allocations: 8 kB / 495.4 MB, free: 3.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001712/0.4545, allocations: 45.78 kB / 495.5 MB, free: 3.852 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.4545, allocations: 51.41 kB / 495.5 MB, free: 3.789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.4547, allocations: 89 kB / 495.6 MB, free: 3.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.4548, allocations: 29.7 kB / 495.6 MB, free: 3.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.4549, allocations: 154.5 kB / 495.8 MB, free: 3.508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.455, allocations: 11.8 kB / 495.8 MB, free: 3.496 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.455, allocations: 4 kB / 495.8 MB, free: 3.492 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002775/0.4553, allocations: 322.9 kB / 496.1 MB, free: 3.168 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.4554, allocations: 4 kB / 496.1 MB, free: 3.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.892e-05/0.4555, allocations: 21.66 kB / 496.1 MB, free: 3.137 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7e-05/0.4556, allocations: 7.984 kB / 496.1 MB, free: 3.129 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.03e-06/0.4556, allocations: 0 / 496.1 MB, free: 3.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002788/0.4559, allocations: 57.64 kB / 496.2 MB, free: 3.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.456, allocations: 4 kB / 496.2 MB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.456, allocations: 0 / 496.2 MB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.456, allocations: 4.031 kB / 496.2 MB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.4562, allocations: 19.88 kB / 496.2 MB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.4563, allocations: 0 / 496.2 MB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.4564, allocations: 3.938 kB / 496.2 MB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.4564, allocations: 4 kB / 496.2 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 0.0001466/0.4566, allocations: 101 kB / 496.3 MB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.4567, allocations: 7.953 kB / 496.3 MB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.457, allocations: 61.17 kB / 496.4 MB, free: 2.844 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.4571, allocations: 8 kB / 496.4 MB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.059e-06/0.4571, allocations: 0 / 496.4 MB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.726e-06/0.4571, allocations: 0 / 496.4 MB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.4576, allocations: 157.6 kB / 496.6 MB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.625e-06/0.4576, allocations: 0 / 496.6 MB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.4578, allocations: 11.94 kB / 496.6 MB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.4578, allocations: 3.953 kB / 496.6 MB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4578, allocations: 0 / 496.6 MB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4578, allocations: 0 / 496.6 MB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.309e-06/0.4579, allocations: 192 / 496.6 MB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.4582, allocations: 155.5 kB / 496.7 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.139e-05/0.4583, allocations: 77.11 kB / 496.8 MB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.4584, allocations: 3.953 kB / 496.8 MB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.4586, allocations: 3.984 kB / 496.8 MB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.4587, allocations: 8.094 kB / 496.8 MB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.389e-06/0.4587, allocations: 0 / 496.8 MB, free: 2.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.066e-05/0.4588, allocations: 79.28 kB / 496.9 MB, free: 2.262 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.194e-06/0.4588, allocations: 0 / 496.9 MB, free: 2.262 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006924/0.4595, allocations: 8.094 kB / 496.9 MB, free: 2.254 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.0002365/0.4598, allocations: 109.3 kB / 497 MB, free: 2.141 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.46, allocations: 31.92 kB / 497 MB, free: 2.109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.389e-06/0.46, allocations: 0 / 497 MB, free: 2.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/0.4601, allocations: 8 kB / 497.1 MB, free: 2.102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.4605, allocations: 13.5 kB / 497.1 MB, free: 2.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.4609, allocations: 94.81 kB / 497.2 MB, free: 1.969 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.4615, allocations: 0.6888 MB / 497.8 MB, free: 1.254 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.4616, allocations: 7.438 kB / 497.9 MB, free: 1.246 MB / 410.7 MB Notification: Performance of SimCode: time 2.092e-06/0.4616, allocations: 4 kB / 497.9 MB, free: 1.242 MB / 410.7 MB Notification: Performance of Templates: time 0.003613/0.4652, allocations: 0.5623 MB / 498.4 MB, free: 0.6797 MB / 410.7 MB