Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadModel(ModelicaTest): time 2.609/2.609, allocations: 270.1 MB / 283.6 MB, free: 3.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.146e-05, allocations: 7.234 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1338, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4158/0.5497, allocations: 89.64 MB / 499.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/0.55, allocations: 63.97 kB / 500 MB, free: 14.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04399/0.594, allocations: 9.989 MB / 0.498 GB, free: 4.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.168e-06/0.594, allocations: 0 / 0.498 GB, free: 4.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.634e-06/0.594, allocations: 4 kB / 0.498 GB, free: 4.496 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.0006679/0.5947, allocations: 463.9 kB / 0.4985 GB, free: 3.992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.5948, allocations: 15.97 kB / 0.4985 GB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.5948, allocations: 3.984 kB / 0.4985 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.5949, allocations: 167.1 kB / 0.4986 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.595, allocations: 0 / 0.4986 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.595, allocations: 7.953 kB / 0.4986 GB, free: 3.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.314e-05/0.5951, allocations: 25.7 kB / 0.4987 GB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.797e-06/0.5951, allocations: 0 / 0.4987 GB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.781e-06/0.5951, allocations: 0 / 0.4987 GB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5951, allocations: 0 / 0.4987 GB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.5952, allocations: 7.938 kB / 0.4987 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.5953, allocations: 149.7 kB / 0.4988 GB, free: 3.527 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.5954, allocations: 18.61 kB / 0.4988 GB, free: 3.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.5954, allocations: 4.859 kB / 0.4988 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.987e-06/0.5954, allocations: 0 / 0.4988 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/0.5955, allocations: 64.22 kB / 0.4989 GB, free: 3.414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.35e-06/0.5955, allocations: 0 / 0.4989 GB, free: 3.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001651/0.5957, allocations: 67.41 kB / 0.499 GB, free: 3.336 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.5958, allocations: 81.09 kB / 0.499 GB, free: 3.238 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.22e-05/0.5958, allocations: 85 kB / 0.4991 GB, free: 3.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.5959, allocations: 25.7 kB / 0.4992 GB, free: 3.117 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.5959, allocations: 80.14 kB / 0.4992 GB, free: 3.035 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.596, allocations: 7.906 kB / 0.4992 GB, free: 3.027 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-06/0.596, allocations: 0 / 0.4992 GB, free: 3.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5961, allocations: 314.8 kB / 0.4995 GB, free: 2.711 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.5962, allocations: 0 / 0.4995 GB, free: 2.711 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.859e-06/0.5962, allocations: 4.031 kB / 0.4995 GB, free: 2.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.558e-05/0.5962, allocations: 33.64 kB / 0.4996 GB, free: 2.668 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.076e-06/0.5962, allocations: 0 / 0.4996 GB, free: 2.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001034/0.5964, allocations: 63.39 kB / 0.4996 GB, free: 2.594 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.5964, allocations: 29.7 kB / 0.4997 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5964, allocations: 0 / 0.4997 GB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5965, allocations: 3.953 kB / 0.4997 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-06/0.5965, allocations: 0 / 0.4997 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.193e-06/0.5965, allocations: 3.984 kB / 0.4997 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.5965, allocations: 8.094 kB / 0.4997 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.5965, allocations: 7.922 kB / 0.4997 GB, free: 2.535 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 9.935e-05/0.5966, allocations: 130.6 kB / 0.4998 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.5967, allocations: 4 kB / 0.4998 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.5967, allocations: 11.06 kB / 0.4998 GB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.672e-06/0.5967, allocations: 3.953 kB / 0.4998 GB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.969e-06/0.5967, allocations: 0 / 0.4998 GB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.5967, allocations: 0 / 0.4998 GB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.5969, allocations: 145.7 kB / 0.5 GB, free: 2.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-06/0.5969, allocations: 4 kB / 0.5 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-06/0.5969, allocations: 8 kB / 0.5 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.813e-06/0.5969, allocations: 0 / 0.5 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-06/0.5969, allocations: 0 / 0.5 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.5969, allocations: 3.984 kB / 0.5 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.056e-06/0.597, allocations: 3.953 kB / 0.5 GB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.5971, allocations: 86.84 kB / 0.5001 GB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.5972, allocations: 77.11 kB / 0.5001 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.5972, allocations: 8.016 kB / 0.5001 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.351e-05/0.5972, allocations: 0 / 0.5001 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.5972, allocations: 4 kB / 0.5002 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-06/0.5973, allocations: 3.953 kB / 0.5002 GB, free: 1.941 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.406e-05/0.5973, allocations: 79.22 kB / 0.5002 GB, free: 1.863 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.6e-07/0.5973, allocations: 0 / 0.5002 GB, free: 1.863 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007693/0.5981, allocations: 171.8 kB / 0.5004 GB, free: 1.695 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.001061/0.5992, allocations: 417.8 kB / 0.5008 GB, free: 1.285 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.5993, allocations: 55.41 kB / 0.5008 GB, free: 1.219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.012e-06/0.5993, allocations: 64 / 0.5008 GB, free: 1.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.04e-05/0.5994, allocations: 59.41 kB / 0.5009 GB, free: 1.148 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.5995, allocations: 10.5 kB / 0.5009 GB, free: 1.141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000159/0.5997, allocations: 56.92 kB / 0.501 GB, free: 1.062 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.6, allocations: 0.6692 MB / 0.5016 GB, free: 376 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.73e-06/0.6001, allocations: 0 / 0.5016 GB, free: 376 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.6001, allocations: 11.44 kB / 0.5016 GB, free: 364 kB / 410.7 MB Notification: Performance of SimCode: time 1.539e-06/0.6001, allocations: 0 / 0.5016 GB, free: 364 kB / 410.7 MB Notification: Performance of Templates: time 0.01001/0.6101, allocations: 3.936 MB / 0.5055 GB, free: 12.42 MB / 426.7 MB