Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.398/2.398, allocations: 270 MB / 283.6 MB, free: 1.734 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.605e-05/3.614e-05, allocations: 8 kB / 348.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3709, allocations: 61.88 MB / 410.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.5065, allocations: 86.41 MB / 496.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.5067, allocations: 59.97 kB / 496.7 MB, free: 4.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02956/0.5363, allocations: 6.466 MB / 0.4914 GB, free: 13.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.529e-06/0.5363, allocations: 0 / 0.4914 GB, free: 13.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.418e-06/0.5364, allocations: 0 / 0.4914 GB, free: 13.61 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003602/0.5367, allocations: 364.2 kB / 0.4918 GB, free: 13.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.5368, allocations: 8.031 kB / 0.4918 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.5368, allocations: 8 kB / 0.4918 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.537, allocations: 159.1 kB / 0.4919 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.537, allocations: 0 / 0.4919 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.537, allocations: 0 / 0.4919 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.789e-05/0.5371, allocations: 41.58 kB / 0.492 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.5371, allocations: 0 / 0.492 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-06/0.5371, allocations: 0 / 0.492 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.5372, allocations: 0 / 0.492 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.741e-05/0.5372, allocations: 4 kB / 0.492 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.5374, allocations: 153.7 kB / 0.4921 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.87e-05/0.5374, allocations: 14.58 kB / 0.4921 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.5375, allocations: 8.797 kB / 0.4921 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.5375, allocations: 4.094 kB / 0.4921 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/0.5375, allocations: 64.2 kB / 0.4922 GB, free: 12.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.383e-06/0.5376, allocations: 0 / 0.4922 GB, free: 12.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001668/0.5377, allocations: 63.34 kB / 0.4923 GB, free: 12.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.5378, allocations: 81.11 kB / 0.4923 GB, free: 12.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.063e-05/0.5379, allocations: 89 kB / 0.4924 GB, free: 12.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.5379, allocations: 25.7 kB / 0.4925 GB, free: 12.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.538, allocations: 80.14 kB / 0.4925 GB, free: 12.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.538, allocations: 3.906 kB / 0.4925 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-06/0.538, allocations: 0 / 0.4925 GB, free: 12.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5382, allocations: 314.8 kB / 0.4928 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.5382, allocations: 8.031 kB / 0.4928 GB, free: 11.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-06/0.5382, allocations: 0 / 0.4928 GB, free: 11.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.5383, allocations: 25.7 kB / 0.4929 GB, free: 11.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-06/0.5383, allocations: 3.938 kB / 0.4929 GB, free: 11.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.916e-05/0.5384, allocations: 59.41 kB / 0.4929 GB, free: 11.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.5384, allocations: 37.64 kB / 0.493 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.027e-06/0.5385, allocations: 0 / 0.493 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.5385, allocations: 3.953 kB / 0.493 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.139e-06/0.5385, allocations: 3.984 kB / 0.493 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.278e-06/0.5385, allocations: 4.094 kB / 0.493 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.5385, allocations: 0 / 0.493 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-06/0.5386, allocations: 0 / 0.493 GB, free: 11.76 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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001044/0.5387, allocations: 134.7 kB / 0.4931 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.5387, allocations: 3.984 kB / 0.4931 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.702e-05/0.5387, allocations: 3.125 kB / 0.4931 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-06/0.5387, allocations: 0 / 0.4931 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.88e-06/0.5387, allocations: 3.953 kB / 0.4931 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.131e-06/0.5388, allocations: 4 kB / 0.4931 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.5389, allocations: 149.7 kB / 0.4933 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-06/0.5389, allocations: 0 / 0.4933 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-06/0.5389, allocations: 0 / 0.4933 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.65e-06/0.5389, allocations: 0 / 0.4933 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-06/0.539, allocations: 0 / 0.4933 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.657e-06/0.539, allocations: 4 kB / 0.4933 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.005e-06/0.539, allocations: 0 / 0.4933 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.5391, allocations: 90.78 kB / 0.4934 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.5392, allocations: 85.08 kB / 0.4934 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.5392, allocations: 4 kB / 0.4934 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.308e-05/0.5392, allocations: 0 / 0.4934 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.5393, allocations: 0 / 0.4934 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-06/0.5393, allocations: 7.938 kB / 0.4934 GB, free: 11.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.243e-05/0.5393, allocations: 79.23 kB / 0.4935 GB, free: 11.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.54e-07/0.5393, allocations: 0 / 0.4935 GB, free: 11.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.5396, allocations: 12 kB / 0.4935 GB, free: 11.08 MB / 426.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000334/0.54, allocations: 119.3 kB / 0.4936 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.5401, allocations: 63.41 kB / 0.4937 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5401, allocations: 0 / 0.4937 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.164e-05/0.5402, allocations: 55.41 kB / 0.4938 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.861e-05/0.5403, allocations: 1.719 kB / 0.4938 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001432/0.5404, allocations: 49.36 kB / 0.4938 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.5408, allocations: 0.677 MB / 0.4945 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.571e-06/0.5408, allocations: 3.938 kB / 0.4945 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.096e-05/0.5408, allocations: 7.438 kB / 0.4945 GB, free: 10.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.347e-06/0.5408, allocations: 0 / 0.4945 GB, free: 10.04 MB / 426.7 MB Notification: Performance of Templates: time 0.002549/0.5434, allocations: 296.1 kB / 0.4948 GB, free: 9.754 MB / 426.7 MB