Running command: translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 270 MB / 282.7 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.642e-05, allocations: 4 kB / 347 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3318, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4675, allocations: 89.64 MB / 498.5 MB, free: 1.031 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4678, allocations: 63.97 kB / 498.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04297/0.5107, allocations: 9.979 MB / 0.4966 GB, free: 6.973 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.125e-06/0.5108, allocations: 0 / 0.4966 GB, free: 6.973 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.5108, allocations: 4 kB / 0.4966 GB, free: 6.969 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.0006211/0.5114, allocations: 467.9 kB / 0.497 GB, free: 6.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5115, allocations: 15.97 kB / 0.4971 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.5115, allocations: 0 / 0.4971 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.5117, allocations: 159.1 kB / 0.4972 GB, free: 6.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.5117, allocations: 3.984 kB / 0.4972 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.5117, allocations: 11.89 kB / 0.4972 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.955e-05/0.5118, allocations: 29.69 kB / 0.4973 GB, free: 6.199 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.67e-06/0.5118, allocations: 3.938 kB / 0.4973 GB, free: 6.195 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-06/0.5118, allocations: 0 / 0.4973 GB, free: 6.195 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-06/0.5119, allocations: 0 / 0.4973 GB, free: 6.195 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.5119, allocations: 4 kB / 0.4973 GB, free: 6.191 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.5121, allocations: 149.7 kB / 0.4974 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.5121, allocations: 18.61 kB / 0.4974 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.5121, allocations: 4.859 kB / 0.4974 GB, free: 5.961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-06/0.5122, allocations: 0 / 0.4974 GB, free: 5.961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.833e-05/0.5122, allocations: 68.14 kB / 0.4975 GB, free: 5.879 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.965e-06/0.5122, allocations: 0 / 0.4975 GB, free: 5.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001641/0.5124, allocations: 67.47 kB / 0.4976 GB, free: 5.801 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.5125, allocations: 77.11 kB / 0.4976 GB, free: 5.707 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.877e-05/0.5125, allocations: 85 kB / 0.4977 GB, free: 5.617 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.5126, allocations: 25.7 kB / 0.4977 GB, free: 5.586 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.5126, allocations: 150.6 kB / 0.4979 GB, free: 5.438 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.5127, allocations: 7.906 kB / 0.4979 GB, free: 5.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-06/0.5127, allocations: 0 / 0.4979 GB, free: 5.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5129, allocations: 310.8 kB / 0.4982 GB, free: 5.117 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.665e-06/0.5129, allocations: 0 / 0.4982 GB, free: 5.117 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-06/0.5129, allocations: 4.031 kB / 0.4982 GB, free: 5.113 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/0.5129, allocations: 33.69 kB / 0.4982 GB, free: 5.074 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.513, allocations: 0 / 0.4982 GB, free: 5.074 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001032/0.5131, allocations: 67.34 kB / 0.4983 GB, free: 4.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.5131, allocations: 29.7 kB / 0.4983 GB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.124e-06/0.5131, allocations: 0 / 0.4983 GB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5132, allocations: 3.953 kB / 0.4983 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.859e-06/0.5132, allocations: 0 / 0.4983 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.5132, allocations: 3.984 kB / 0.4983 GB, free: 4.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.5132, allocations: 8.094 kB / 0.4983 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-06/0.5132, allocations: 0 / 0.4983 GB, free: 4.945 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 9.691e-05/0.5133, allocations: 130.6 kB / 0.4985 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.5134, allocations: 4 kB / 0.4985 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.543e-05/0.5134, allocations: 3.125 kB / 0.4985 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.75e-06/0.5134, allocations: 3.953 kB / 0.4985 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.771e-06/0.5134, allocations: 0 / 0.4985 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.024e-06/0.5134, allocations: 0 / 0.4985 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.5136, allocations: 149.7 kB / 0.4986 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-06/0.5136, allocations: 4 kB / 0.4986 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-06/0.5136, allocations: 4 kB / 0.4986 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.5136, allocations: 0 / 0.4986 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.817e-06/0.5136, allocations: 0 / 0.4986 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5136, allocations: 0 / 0.4986 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.5136, allocations: 7.891 kB / 0.4986 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.5138, allocations: 94.77 kB / 0.4987 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.5138, allocations: 77.11 kB / 0.4988 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.5139, allocations: 4.031 kB / 0.4988 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.268e-05/0.5139, allocations: 0 / 0.4988 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.5139, allocations: 4 kB / 0.4988 GB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-06/0.5139, allocations: 3.953 kB / 0.4988 GB, free: 4.355 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.152e-05/0.514, allocations: 79.28 kB / 0.4989 GB, free: 4.277 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.514, allocations: 0 / 0.4989 GB, free: 4.277 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006702/0.5147, allocations: 179.8 kB / 0.499 GB, free: 4.102 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.0009636/0.5156, allocations: 412.4 kB / 0.4994 GB, free: 3.703 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.879e-05/0.5158, allocations: 59.39 kB / 0.4995 GB, free: 3.633 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.5158, allocations: 64 / 0.4995 GB, free: 3.633 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.5158, allocations: 59.41 kB / 0.4995 GB, free: 3.562 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.5159, allocations: 4 kB / 0.4996 GB, free: 3.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.5161, allocations: 82.83 kB / 0.4996 GB, free: 3.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.5165, allocations: 0.6731 MB / 0.5003 GB, free: 2.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.5165, allocations: 11.44 kB / 0.5003 GB, free: 2.738 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5165, allocations: 0 / 0.5003 GB, free: 2.738 MB / 426.7 MB Notification: Performance of Templates: time 0.007861/0.5244, allocations: 3.842 MB / 0.5041 GB, free: 14.89 MB / 442.7 MB