Running command: translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.242/2.242, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.238e-05/3.26e-05, allocations: 4.938 kB / 304.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3242, allocations: 54.85 MB / 359.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.4545, allocations: 83.8 MB / 443.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.4547, allocations: 65.12 kB / 443.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0424/0.4972, allocations: 9.861 MB / 453.5 MB, free: 3.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4972, allocations: 0 / 453.5 MB, free: 3.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.983e-06/0.4972, allocations: 0 / 453.5 MB, free: 3.293 MB / 378.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.0006594/0.4979, allocations: 476.2 kB / 453.9 MB, free: 2.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4979, allocations: 12.03 kB / 453.9 MB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.498, allocations: 3.953 kB / 454 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.4981, allocations: 171.1 kB / 454.1 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4981, allocations: 0 / 454.1 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.4982, allocations: 0 / 454.1 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.3e-05/0.4983, allocations: 29.7 kB / 454.1 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.42e-06/0.4983, allocations: 0 / 454.1 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.229e-06/0.4983, allocations: 1.5 kB / 454.1 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.156e-06/0.4983, allocations: 3.953 kB / 454.2 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.085e-05/0.4983, allocations: 4 kB / 454.2 MB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.4985, allocations: 145.7 kB / 454.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.4986, allocations: 22.52 kB / 454.3 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.4986, allocations: 8.953 kB / 454.3 MB, free: 2.277 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.565e-06/0.4986, allocations: 0 / 454.3 MB, free: 2.277 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/0.4987, allocations: 64.27 kB / 454.4 MB, free: 2.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.999e-06/0.4987, allocations: 0 / 454.4 MB, free: 2.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001634/0.4989, allocations: 63.39 kB / 454.5 MB, free: 2.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.499, allocations: 81.14 kB / 454.5 MB, free: 2.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.205e-05/0.499, allocations: 85.94 kB / 454.6 MB, free: 1.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.4991, allocations: 25.7 kB / 454.6 MB, free: 1.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.4991, allocations: 150.6 kB / 454.8 MB, free: 1.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.4992, allocations: 3.938 kB / 454.8 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-06/0.4992, allocations: 0 / 454.8 MB, free: 1.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4993, allocations: 322.8 kB / 455.1 MB, free: 1.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.4994, allocations: 3.938 kB / 455.1 MB, free: 1.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-06/0.4994, allocations: 0 / 455.1 MB, free: 1.426 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.4994, allocations: 33.77 kB / 455.1 MB, free: 1.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-06/0.4994, allocations: 0 / 455.1 MB, free: 1.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.907e-05/0.4996, allocations: 60.33 kB / 455.2 MB, free: 1.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.4996, allocations: 33.7 kB / 455.2 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4996, allocations: 0 / 455.2 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4997, allocations: 0 / 455.2 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.4997, allocations: 0 / 455.2 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.444e-06/0.4997, allocations: 0 / 455.2 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.4997, allocations: 0 / 455.2 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.4997, allocations: 4 kB / 455.2 MB, free: 1.273 MB / 378.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.0001006/0.4998, allocations: 134.7 kB / 455.4 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.4999, allocations: 3.984 kB / 455.4 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.66e-05/0.4999, allocations: 8.969 kB / 455.4 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.243e-06/0.4999, allocations: 4 kB / 455.4 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4999, allocations: 0 / 455.4 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4999, allocations: 0 / 455.4 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.5001, allocations: 149.6 kB / 455.5 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-06/0.5001, allocations: 0 / 455.5 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.388e-06/0.5001, allocations: 1.594 kB / 455.5 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.891e-06/0.5001, allocations: 7.984 kB / 455.5 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.48e-06/0.5001, allocations: 7.938 kB / 455.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5001, allocations: 0 / 455.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.5001, allocations: 0 / 455.6 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.5003, allocations: 90.8 kB / 455.6 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.5004, allocations: 81.09 kB / 455.7 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.5004, allocations: 2.625 kB / 455.7 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.58e-05/0.5004, allocations: 4.031 kB / 455.7 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.5004, allocations: 0 / 455.7 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-06/0.5004, allocations: 4 kB / 455.7 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.404e-05/0.5005, allocations: 75.28 kB / 455.8 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.924e-06/0.5005, allocations: 0 / 455.8 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007753/0.5013, allocations: 183.7 kB / 456 MB, free: 444 kB / 378.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.001014/0.5023, allocations: 404.2 kB / 456.4 MB, free: 40 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.5025, allocations: 56.34 kB / 456.4 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.779e-06/0.5025, allocations: 0 / 456.4 MB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.169e-05/0.5026, allocations: 59.34 kB / 456.5 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.5027, allocations: 8.062 kB / 456.5 MB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.5029, allocations: 76.08 kB / 456.6 MB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.5032, allocations: 0.677 MB / 457.2 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.5032, allocations: 7.438 kB / 457.3 MB, free: 15.08 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/0.5033, allocations: 4.562 kB / 457.3 MB, free: 15.08 MB / 394.7 MB Notification: Performance of Templates: time 0.008135/0.5114, allocations: 3.852 MB / 461.1 MB, free: 11.23 MB / 394.7 MB