Running command: translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.502e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4109/0.5227, allocations: 89.64 MB / 499.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.5229, allocations: 64.72 kB / 500 MB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04392/0.5668, allocations: 9.986 MB / 0.498 GB, free: 4.441 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.238e-06/0.5669, allocations: 0 / 0.498 GB, free: 4.441 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.677e-06/0.5669, allocations: 0 / 0.498 GB, free: 4.441 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006872/0.5676, allocations: 463.9 kB / 0.4985 GB, free: 3.938 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.5677, allocations: 11.97 kB / 0.4985 GB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.5677, allocations: 4 kB / 0.4985 GB, free: 3.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.5678, allocations: 167.1 kB / 0.4986 GB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.5679, allocations: 0 / 0.4986 GB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.5679, allocations: 7.938 kB / 0.4986 GB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.611e-05/0.568, allocations: 33.7 kB / 0.4987 GB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.568, allocations: 0 / 0.4987 GB, free: 3.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-06/0.568, allocations: 3.938 kB / 0.4987 GB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-06/0.568, allocations: 0 / 0.4987 GB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.5681, allocations: 0 / 0.4987 GB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.5682, allocations: 145.7 kB / 0.4988 GB, free: 3.477 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.503e-05/0.5683, allocations: 22.56 kB / 0.4988 GB, free: 3.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.834e-05/0.5683, allocations: 4.859 kB / 0.4988 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.5684, allocations: 4.094 kB / 0.4988 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.292e-05/0.5684, allocations: 60.22 kB / 0.4989 GB, free: 3.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.067e-06/0.5684, allocations: 0 / 0.4989 GB, free: 3.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001854/0.5686, allocations: 63.34 kB / 0.499 GB, free: 3.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.5687, allocations: 81.14 kB / 0.499 GB, free: 3.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5e-05/0.5688, allocations: 92.94 kB / 0.4991 GB, free: 3.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.5688, allocations: 29.69 kB / 0.4992 GB, free: 3.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.5689, allocations: 80.14 kB / 0.4992 GB, free: 2.973 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.5689, allocations: 7.891 kB / 0.4992 GB, free: 2.965 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-06/0.5689, allocations: 0 / 0.4992 GB, free: 2.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5691, allocations: 310.8 kB / 0.4995 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.5691, allocations: 4 kB / 0.4995 GB, free: 2.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-06/0.5691, allocations: 0 / 0.4995 GB, free: 2.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.616e-05/0.5692, allocations: 33.77 kB / 0.4996 GB, free: 2.609 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.461e-06/0.5692, allocations: 0 / 0.4996 GB, free: 2.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001086/0.5693, allocations: 59.41 kB / 0.4996 GB, free: 2.539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.5694, allocations: 33.69 kB / 0.4997 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.666e-06/0.5694, allocations: 4 kB / 0.4997 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5694, allocations: 3.953 kB / 0.4997 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.997e-06/0.5694, allocations: 0 / 0.4997 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.769e-06/0.5694, allocations: 3.938 kB / 0.4997 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.5695, allocations: 0 / 0.4997 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5695, allocations: 0 / 0.4997 GB, free: 2.488 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: 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.000109/0.5696, allocations: 138.7 kB / 0.4998 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.5696, allocations: 0 / 0.4998 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.5697, allocations: 7.078 kB / 0.4998 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.805e-06/0.5697, allocations: 3.953 kB / 0.4998 GB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.577e-06/0.5697, allocations: 4 kB / 0.4998 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.567e-06/0.5697, allocations: 3.984 kB / 0.4998 GB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.5698, allocations: 149.7 kB / 0.5 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-06/0.5698, allocations: 0 / 0.5 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-06/0.5699, allocations: 0 / 0.5 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.91e-06/0.5699, allocations: 4 kB / 0.5 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-06/0.5699, allocations: 0 / 0.5 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5699, allocations: 0 / 0.5 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.164e-06/0.5699, allocations: 7.953 kB / 0.5 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.5701, allocations: 82.83 kB / 0.5001 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.5701, allocations: 77.11 kB / 0.5001 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.5701, allocations: 4 kB / 0.5001 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/0.5702, allocations: 8.031 kB / 0.5001 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.5702, allocations: 7.922 kB / 0.5001 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.5702, allocations: 3.953 kB / 0.5002 GB, free: 1.887 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.001e-05/0.5703, allocations: 75.28 kB / 0.5002 GB, free: 1.812 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5703, allocations: 0 / 0.5002 GB, free: 1.812 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008026/0.5711, allocations: 175.8 kB / 0.5004 GB, free: 1.641 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: 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.001094/0.5722, allocations: 422.2 kB / 0.5008 GB, free: 1.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.5723, allocations: 55.41 kB / 0.5008 GB, free: 1.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.374e-06/0.5724, allocations: 0 / 0.5008 GB, free: 1.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.5724, allocations: 55.41 kB / 0.5009 GB, free: 1.094 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.5725, allocations: 8.062 kB / 0.5009 GB, free: 1.086 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001609/0.5727, allocations: 56.98 kB / 0.501 GB, free: 1.008 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.5731, allocations: 0.6731 MB / 0.5016 GB, free: 316 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.787e-06/0.5731, allocations: 0 / 0.5016 GB, free: 316 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.308e-05/0.5731, allocations: 7.438 kB / 0.5016 GB, free: 308 kB / 410.7 MB Notification: Performance of SimCode: time 1.532e-06/0.5731, allocations: 0 / 0.5016 GB, free: 308 kB / 410.7 MB Notification: Performance of Templates: time 0.01041/0.5835, allocations: 3.934 MB / 0.5055 GB, free: 12.37 MB / 426.7 MB