Running command: translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 235 MB / 247.2 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.962e-05/5.976e-05, allocations: 4.938 kB / 304.9 MB, free: 5.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4064, allocations: 54.86 MB / 359.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.547, allocations: 83.8 MB / 443.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.5472, allocations: 63.97 kB / 443.6 MB, free: 13.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04223/0.5895, allocations: 9.851 MB / 453.5 MB, free: 3.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.577e-06/0.5895, allocations: 0 / 453.5 MB, free: 3.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.824e-06/0.5895, allocations: 4 kB / 453.5 MB, free: 3.254 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.0006312/0.5902, allocations: 479.8 kB / 454 MB, free: 2.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.5902, allocations: 8.031 kB / 454 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.5903, allocations: 7.859 kB / 454 MB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.5904, allocations: 164.9 kB / 454.1 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.5904, allocations: 0 / 454.1 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.5904, allocations: 4 kB / 454.1 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.75e-05/0.5905, allocations: 25.7 kB / 454.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5906, allocations: 7.984 kB / 454.2 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-06/0.5906, allocations: 0 / 454.2 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-06/0.5906, allocations: 0 / 454.2 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.5906, allocations: 7.953 kB / 454.2 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.5908, allocations: 141.7 kB / 454.3 MB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.604e-05/0.5909, allocations: 18.58 kB / 454.3 MB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.5909, allocations: 16.89 kB / 454.4 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.032e-06/0.5909, allocations: 0 / 454.4 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/0.591, allocations: 60.27 kB / 454.4 MB, free: 2.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.644e-06/0.591, allocations: 0 / 454.4 MB, free: 2.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001498/0.5911, allocations: 63.39 kB / 454.5 MB, free: 2.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.5912, allocations: 77.11 kB / 454.6 MB, free: 1.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/0.5913, allocations: 85 kB / 454.6 MB, free: 1.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.5913, allocations: 25.7 kB / 454.7 MB, free: 1.871 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.5914, allocations: 80.14 kB / 454.7 MB, free: 1.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.5914, allocations: 15.92 kB / 454.8 MB, free: 1.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-06/0.5914, allocations: 4.031 kB / 454.8 MB, free: 1.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5916, allocations: 314.8 kB / 455.1 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.5916, allocations: 0 / 455.1 MB, free: 1.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.359e-06/0.5916, allocations: 0 / 455.1 MB, free: 1.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/0.5917, allocations: 33.69 kB / 455.1 MB, free: 1.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.589e-06/0.5917, allocations: 3.938 kB / 455.1 MB, free: 1.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.744e-05/0.5918, allocations: 59.41 kB / 455.2 MB, free: 1.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.5918, allocations: 29.7 kB / 455.2 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.904e-06/0.5918, allocations: 4.938 kB / 455.2 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.5919, allocations: 0 / 455.2 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.641e-06/0.5919, allocations: 0 / 455.2 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.076e-06/0.5919, allocations: 0 / 455.2 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.5919, allocations: 0 / 455.2 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.5919, allocations: 7.984 kB / 455.2 MB, free: 1.293 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.0001014/0.592, allocations: 134.6 kB / 455.3 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-06/0.5921, allocations: 0 / 455.3 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.497e-05/0.5921, allocations: 12.2 kB / 455.3 MB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-06/0.5921, allocations: 4.562 kB / 455.3 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.462e-06/0.5921, allocations: 0 / 455.3 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-06/0.5921, allocations: 0 / 455.3 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.5923, allocations: 153.6 kB / 455.5 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-06/0.5923, allocations: 0 / 455.5 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.261e-06/0.5923, allocations: 0 / 455.5 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.704e-06/0.5923, allocations: 5.031 kB / 455.5 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.833e-06/0.5923, allocations: 0.5625 kB / 455.5 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.898e-06/0.5923, allocations: 0 / 455.5 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.514e-06/0.5923, allocations: 0 / 455.5 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.5925, allocations: 102.7 kB / 455.6 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.5925, allocations: 77.11 kB / 455.7 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.5926, allocations: 0.5 kB / 455.7 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.239e-05/0.5926, allocations: 0 / 455.7 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.5926, allocations: 4 kB / 455.7 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-06/0.5926, allocations: 0.875 kB / 455.7 MB, free: 0.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.179e-05/0.5927, allocations: 75.28 kB / 455.8 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.936e-06/0.5927, allocations: 1.5 kB / 455.8 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006312/0.5933, allocations: 183.7 kB / 455.9 MB, free: 464 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.000938/0.5943, allocations: 407.2 kB / 456.3 MB, free: 60 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.5944, allocations: 59.39 kB / 456.4 MB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.871e-06/0.5944, allocations: 0 / 456.4 MB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.716e-05/0.5945, allocations: 59.41 kB / 456.5 MB, free: 15.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.563e-05/0.5946, allocations: 7.891 kB / 456.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001495/0.5948, allocations: 46.38 kB / 456.5 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.5951, allocations: 0.6731 MB / 457.2 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.511e-06/0.5952, allocations: 0 / 457.2 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.411e-05/0.5952, allocations: 11.44 kB / 457.2 MB, free: 15.13 MB / 394.7 MB Notification: Performance of SimCode: time 1.465e-06/0.5952, allocations: 5.062 kB / 457.2 MB, free: 15.13 MB / 394.7 MB Notification: Performance of Templates: time 0.009509/0.6047, allocations: 3.941 MB / 461.1 MB, free: 11.2 MB / 394.7 MB