Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.392/2.392, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.438e-05, allocations: 3.234 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4392/0.549, allocations: 85.05 MB / 495.3 MB, free: 3.129 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.5493, allocations: 60.75 kB / 495.4 MB, free: 3.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003659/0.5529, allocations: 0.9078 MB / 496.3 MB, free: 2.168 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.438e-06/0.553, allocations: 4 kB / 496.3 MB, free: 2.164 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.865e-06/0.553, allocations: 0 / 496.3 MB, free: 2.164 MB / 394.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.0003054/0.5533, allocations: 330.4 kB / 496.6 MB, free: 1.797 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.5534, allocations: 8.031 kB / 496.6 MB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.5534, allocations: 4 kB / 496.6 MB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.5536, allocations: 167 kB / 496.8 MB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.5536, allocations: 0 / 496.8 MB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.5536, allocations: 6.562 kB / 496.8 MB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.5538, allocations: 65.58 kB / 496.9 MB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.638e-06/0.5538, allocations: 0 / 496.9 MB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.5538, allocations: 4 kB / 496.9 MB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.773e-06/0.5538, allocations: 0 / 496.9 MB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.554, allocations: 55.89 kB / 496.9 MB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.5542, allocations: 165.6 kB / 497.1 MB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.5544, allocations: 70.84 kB / 497.2 MB, free: 1.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/0.5545, allocations: 36.8 kB / 497.2 MB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/0.5549, allocations: 251.3 kB / 497.4 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.5549, allocations: 45.36 kB / 497.5 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.528e-06/0.5549, allocations: 0 / 497.5 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002266/0.5552, allocations: 73.62 kB / 497.6 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.5552, allocations: 55.39 kB / 497.6 MB, free: 0.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.5553, allocations: 93 kB / 497.7 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.5554, allocations: 25.7 kB / 497.7 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.5554, allocations: 84.14 kB / 497.8 MB, free: 420 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.5555, allocations: 27.56 kB / 497.8 MB, free: 392 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.139e-06/0.5555, allocations: 4 kB / 497.8 MB, free: 388 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5557, allocations: 314.8 kB / 498.1 MB, free: 64 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.5557, allocations: 16 kB / 498.2 MB, free: 48 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.5558, allocations: 12 kB / 498.2 MB, free: 36 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.844e-05/0.5558, allocations: 19.98 kB / 498.2 MB, free: 16 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-06/0.5559, allocations: 4.125 kB / 498.2 MB, free: 12 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002149/0.5561, allocations: 85.75 kB / 498.3 MB, free: 15.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5561, allocations: 8 kB / 498.3 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.193e-06/0.5561, allocations: 3.953 kB / 498.3 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5561, allocations: 0 / 498.3 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.5563, allocations: 15.98 kB / 498.3 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.5563, allocations: 0 / 498.3 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.5563, allocations: 8 kB / 498.3 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.5564, allocations: 3.984 kB / 498.3 MB, free: 15.88 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 9.935e-05/0.5565, allocations: 116.9 kB / 498.4 MB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.5565, allocations: 3.906 kB / 498.4 MB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.5568, allocations: 94.58 kB / 498.5 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.5568, allocations: 3.953 kB / 498.5 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.943e-06/0.5568, allocations: 224 / 498.5 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.47e-06/0.5568, allocations: 0 / 498.5 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.557, allocations: 181.5 kB / 498.7 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.383e-06/0.557, allocations: 4 kB / 498.7 MB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.363e-05/0.5571, allocations: 12 kB / 498.7 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.81e-06/0.5572, allocations: 4 kB / 498.7 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.5572, allocations: 11.98 kB / 498.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5572, allocations: 0 / 498.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.111e-06/0.5572, allocations: 3.953 kB / 498.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.5574, allocations: 109 kB / 498.9 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.5575, allocations: 77.11 kB / 498.9 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.5575, allocations: 4 kB / 498.9 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.5576, allocations: 7.984 kB / 498.9 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.5576, allocations: 7.953 kB / 498.9 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.5576, allocations: 4 kB / 499 MB, free: 15.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.767e-05/0.5577, allocations: 79.28 kB / 499 MB, free: 15.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.5577, allocations: 288 / 499 MB, free: 15.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.558, allocations: 15.94 kB / 499 MB, free: 15.05 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.0001858/0.5582, allocations: 119.2 kB / 499.2 MB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.5584, allocations: 47.94 kB / 499.2 MB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.703e-06/0.5584, allocations: 4.094 kB / 499.2 MB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.978e-05/0.5585, allocations: 35.92 kB / 499.2 MB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.5586, allocations: 3.938 kB / 499.3 MB, free: 14.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.5589, allocations: 95.42 kB / 499.3 MB, free: 14.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.5593, allocations: 0.6887 MB / 0.4883 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.28e-05/0.5593, allocations: 11.77 kB / 0.4883 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.5594, allocations: 15.44 kB / 0.4883 GB, free: 13.98 MB / 410.7 MB Notification: Performance of SimCode: time 3.67e-06/0.5594, allocations: 3.938 kB / 0.4883 GB, free: 13.97 MB / 410.7 MB Notification: Performance of Templates: time 0.003166/0.5626, allocations: 0.608 MB / 0.4889 GB, free: 13.37 MB / 410.7 MB