Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 270 MB / 282.7 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.17e-05, allocations: 8 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3146, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.4448, allocations: 85.06 MB / 493.9 MB, free: 5.598 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.445, allocations: 71.94 kB / 494 MB, free: 5.527 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003602/0.4487, allocations: 0.8993 MB / 494.9 MB, free: 4.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.176e-06/0.4487, allocations: 0 / 494.9 MB, free: 4.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.4487, allocations: 0 / 494.9 MB, free: 4.625 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003066/0.449, allocations: 334.4 kB / 495.2 MB, free: 4.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4491, allocations: 8.031 kB / 495.2 MB, free: 4.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.4491, allocations: 4 kB / 495.2 MB, free: 4.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.4493, allocations: 171 kB / 495.4 MB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.612e-06/0.4493, allocations: 0 / 495.4 MB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.4493, allocations: 8 kB / 495.4 MB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.4495, allocations: 53.86 kB / 495.4 MB, free: 3.969 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4495, allocations: 7.938 kB / 495.4 MB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.4495, allocations: 3.938 kB / 495.4 MB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-06/0.4495, allocations: 0 / 495.4 MB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.4497, allocations: 47.95 kB / 495.5 MB, free: 3.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.4499, allocations: 177.5 kB / 495.7 MB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.4501, allocations: 78.56 kB / 495.7 MB, free: 3.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.637e-05/0.4501, allocations: 24.86 kB / 495.8 MB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000371/0.4505, allocations: 251.3 kB / 496 MB, free: 3.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.4506, allocations: 34.52 kB / 496 MB, free: 3.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.367e-06/0.4506, allocations: 4 kB / 496 MB, free: 3.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002216/0.4508, allocations: 81.89 kB / 496.1 MB, free: 3.141 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.4509, allocations: 55.41 kB / 496.2 MB, free: 3.074 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.212e-05/0.451, allocations: 85 kB / 496.3 MB, free: 2.984 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.451, allocations: 25.7 kB / 496.3 MB, free: 2.953 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.4511, allocations: 154.6 kB / 496.4 MB, free: 2.801 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.4512, allocations: 31.55 kB / 496.5 MB, free: 2.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-06/0.4512, allocations: 0 / 496.5 MB, free: 2.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4513, allocations: 319 kB / 496.8 MB, free: 2.449 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.788e-05/0.4514, allocations: 16 kB / 496.8 MB, free: 2.434 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.376e-05/0.4515, allocations: 19.94 kB / 496.8 MB, free: 2.414 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/0.4515, allocations: 19.98 kB / 496.8 MB, free: 2.395 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.51e-06/0.4515, allocations: 0 / 496.8 MB, free: 2.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.4517, allocations: 81.81 kB / 496.9 MB, free: 2.309 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4518, allocations: 4 kB / 496.9 MB, free: 2.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.021e-06/0.4518, allocations: 3.953 kB / 496.9 MB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4518, allocations: 11.92 kB / 496.9 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.4519, allocations: 15.98 kB / 496.9 MB, free: 2.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4519, allocations: 4 kB / 497 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.452, allocations: 0 / 497 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.452, allocations: 4 kB / 497 MB, free: 2.266 MB / 410.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 (10): * Single equations (assignments): 10 * 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 8.919e-05/0.4521, allocations: 105 kB / 497.1 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.4521, allocations: 7.906 kB / 497.1 MB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.4524, allocations: 93.7 kB / 497.2 MB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.248e-06/0.4524, allocations: 7.953 kB / 497.2 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.913e-06/0.4524, allocations: 0 / 497.2 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.171e-06/0.4524, allocations: 4 kB / 497.2 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.4526, allocations: 177.6 kB / 497.3 MB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4526, allocations: 3.938 kB / 497.3 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.4528, allocations: 12 kB / 497.4 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.56e-06/0.4528, allocations: 0 / 497.4 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4528, allocations: 7.922 kB / 497.4 MB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.945e-06/0.4528, allocations: 4 kB / 497.4 MB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.879e-06/0.4528, allocations: 3.953 kB / 497.4 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.453, allocations: 109 kB / 497.5 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.4531, allocations: 81.11 kB / 497.6 MB, free: 1.555 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.4531, allocations: 3.984 kB / 497.6 MB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.845e-05/0.4532, allocations: 4 kB / 497.6 MB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.4532, allocations: 16.17 kB / 497.6 MB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.4532, allocations: 4 kB / 497.6 MB, free: 1.527 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.346e-05/0.4533, allocations: 75.28 kB / 497.7 MB, free: 1.453 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.54e-07/0.4533, allocations: 3.938 kB / 497.7 MB, free: 1.449 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002929/0.4536, allocations: 23.92 kB / 497.7 MB, free: 1.426 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 (10): * Single equations (assignments): 10 * 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.0001742/0.4538, allocations: 111.3 kB / 497.8 MB, free: 1.305 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.454, allocations: 51.94 kB / 497.8 MB, free: 1.254 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.742e-06/0.454, allocations: 0 / 497.8 MB, free: 1.254 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.454, allocations: 31.92 kB / 497.9 MB, free: 1.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.4542, allocations: 4 kB / 497.9 MB, free: 1.219 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.4545, allocations: 112.4 kB / 498 MB, free: 1.082 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.4549, allocations: 0.6887 MB / 498.7 MB, free: 376 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.4549, allocations: 15.44 kB / 498.7 MB, free: 360 kB / 410.7 MB Notification: Performance of SimCode: time 1.431e-06/0.4549, allocations: 4 kB / 498.7 MB, free: 356 kB / 410.7 MB Notification: Performance of Templates: time 0.002686/0.4576, allocations: 0.8171 MB / 499.5 MB, free: 15.53 MB / 426.7 MB