Running command: translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.559/2.559, allocations: 270 MB / 283.6 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.337e-05, allocations: 4 kB / 348.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3761, allocations: 61.87 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.515, allocations: 89.65 MB / 499.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.5152, allocations: 71.91 kB / 500 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04357/0.5588, allocations: 9.976 MB / 0.498 GB, free: 6.887 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.125e-06/0.5589, allocations: 0 / 0.498 GB, free: 6.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.5589, allocations: 0 / 0.498 GB, free: 6.887 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.0006511/0.5596, allocations: 467.9 kB / 0.4984 GB, free: 6.379 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5596, allocations: 12.03 kB / 0.4985 GB, free: 6.367 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.5596, allocations: 0 / 0.4985 GB, free: 6.367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.5598, allocations: 163.1 kB / 0.4986 GB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.5598, allocations: 4 kB / 0.4986 GB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.5598, allocations: 3.953 kB / 0.4986 GB, free: 6.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.5599, allocations: 33.62 kB / 0.4986 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.447e-06/0.5599, allocations: 0 / 0.4986 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.564e-06/0.56, allocations: 4 kB / 0.4987 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-06/0.56, allocations: 0 / 0.4987 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.56, allocations: 3.938 kB / 0.4987 GB, free: 6.113 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.5602, allocations: 149.7 kB / 0.4988 GB, free: 5.918 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.742e-05/0.5602, allocations: 18.61 kB / 0.4988 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.5603, allocations: 4.859 kB / 0.4988 GB, free: 5.883 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.951e-06/0.5603, allocations: 0 / 0.4988 GB, free: 5.883 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/0.5604, allocations: 72.2 kB / 0.4989 GB, free: 5.797 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.17e-06/0.5604, allocations: 0 / 0.4989 GB, free: 5.797 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.00017/0.5606, allocations: 63.41 kB / 0.499 GB, free: 5.723 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.5606, allocations: 77.11 kB / 0.499 GB, free: 5.629 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.5607, allocations: 92.91 kB / 0.4991 GB, free: 5.531 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.5607, allocations: 25.7 kB / 0.4991 GB, free: 5.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.5608, allocations: 84.08 kB / 0.4992 GB, free: 5.414 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.5608, allocations: 0 / 0.4992 GB, free: 5.414 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-06/0.5608, allocations: 0 / 0.4992 GB, free: 5.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.561, allocations: 310.8 kB / 0.4995 GB, free: 5.102 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.561, allocations: 4.031 kB / 0.4995 GB, free: 5.098 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.183e-05/0.561, allocations: 7.984 kB / 0.4995 GB, free: 5.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.5611, allocations: 25.7 kB / 0.4996 GB, free: 5.059 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-06/0.5611, allocations: 0 / 0.4996 GB, free: 5.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000105/0.5612, allocations: 67.34 kB / 0.4996 GB, free: 4.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.5612, allocations: 29.7 kB / 0.4996 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5613, allocations: 0 / 0.4996 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5613, allocations: 3.953 kB / 0.4996 GB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.853e-06/0.5613, allocations: 4 kB / 0.4997 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.5613, allocations: 4.078 kB / 0.4997 GB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.5613, allocations: 4 kB / 0.4997 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-06/0.5614, allocations: 0 / 0.4997 GB, free: 4.93 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.000103/0.5615, allocations: 130.7 kB / 0.4998 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.5615, allocations: 0 / 0.4998 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.832e-05/0.5615, allocations: 3.125 kB / 0.4998 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.692e-06/0.5615, allocations: 3.953 kB / 0.4998 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.5616, allocations: 0 / 0.4998 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.127e-06/0.5616, allocations: 3.984 kB / 0.4998 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.5617, allocations: 149.7 kB / 0.4999 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-06/0.5617, allocations: 4 kB / 0.4999 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-06/0.5617, allocations: 4 kB / 0.4999 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.582e-06/0.5617, allocations: 0 / 0.4999 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.5618, allocations: 0 / 0.4999 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.012e-06/0.5618, allocations: 0 / 0.4999 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.307e-06/0.5618, allocations: 3.953 kB / 0.4999 GB, free: 4.566 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.5619, allocations: 94.77 kB / 0.5 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.562, allocations: 81.14 kB / 0.5001 GB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.562, allocations: 3.938 kB / 0.5001 GB, free: 4.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.315e-05/0.5621, allocations: 4 kB / 0.5001 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.5621, allocations: 0 / 0.5001 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.763e-06/0.5621, allocations: 7.953 kB / 0.5001 GB, free: 4.336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.283e-05/0.5621, allocations: 75.28 kB / 0.5002 GB, free: 4.262 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.5622, allocations: 3.938 kB / 0.5002 GB, free: 4.258 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000778/0.5629, allocations: 179.8 kB / 0.5004 GB, free: 4.082 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.0009583/0.5639, allocations: 406.8 kB / 0.5008 GB, free: 3.688 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.564, allocations: 63.39 kB / 0.5008 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.751e-06/0.5641, allocations: 4.062 kB / 0.5008 GB, free: 3.609 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.833e-05/0.5641, allocations: 51.41 kB / 0.5009 GB, free: 3.547 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.367e-05/0.5642, allocations: 4 kB / 0.5009 GB, free: 3.543 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001632/0.5644, allocations: 49.25 kB / 0.5009 GB, free: 3.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.5648, allocations: 0.677 MB / 0.5016 GB, free: 2.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.041e-05/0.5648, allocations: 0 / 0.5016 GB, free: 2.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.159e-05/0.5648, allocations: 11.38 kB / 0.5016 GB, free: 2.758 MB / 426.7 MB Notification: Performance of SimCode: time 1.466e-06/0.5648, allocations: 0 / 0.5016 GB, free: 2.758 MB / 426.7 MB Notification: Performance of Templates: time 0.01014/0.575, allocations: 3.941 MB / 0.5054 GB, free: 14.82 MB / 442.7 MB