Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.285/2.285, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.16e-05, allocations: 4 kB / 304.9 MB, free: 5.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3311, allocations: 54.85 MB / 359.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4562, allocations: 80.59 MB / 440.4 MB, free: 360 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/0.4564, allocations: 59.97 kB / 440.4 MB, free: 300 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02862/0.4851, allocations: 6.324 MB / 446.7 MB, free: 9.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.646e-06/0.4851, allocations: 0 / 446.7 MB, free: 9.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.4851, allocations: 0 / 446.7 MB, free: 9.992 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.000363/0.4855, allocations: 376 kB / 447.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4856, allocations: 8.031 kB / 447.1 MB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.4856, allocations: 3.953 kB / 447.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.4857, allocations: 167.1 kB / 447.3 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.4858, allocations: 0 / 447.3 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.4858, allocations: 4 kB / 447.3 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/0.4859, allocations: 25.7 kB / 447.3 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4859, allocations: 0 / 447.3 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-06/0.4859, allocations: 3.938 kB / 447.3 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-06/0.4859, allocations: 0 / 447.3 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.879e-05/0.486, allocations: 7.953 kB / 447.3 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.4861, allocations: 141.7 kB / 447.5 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.966e-05/0.4862, allocations: 26.59 kB / 447.5 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.4862, allocations: 12.8 kB / 447.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-06/0.4862, allocations: 0 / 447.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.4863, allocations: 57.02 kB / 447.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.936e-06/0.4863, allocations: 0 / 447.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001634/0.4865, allocations: 63.41 kB / 447.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.4866, allocations: 77.11 kB / 447.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.4866, allocations: 91.66 kB / 447.8 MB, free: 8.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.4867, allocations: 29.69 kB / 447.8 MB, free: 8.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.4867, allocations: 80.14 kB / 447.9 MB, free: 8.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.4867, allocations: 4 kB / 447.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.4867, allocations: 0 / 447.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4869, allocations: 318.8 kB / 448.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.4869, allocations: 0 / 448.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-06/0.4869, allocations: 0 / 448.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.487, allocations: 33.77 kB / 448.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.1e-06/0.487, allocations: 0 / 448.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.466e-05/0.4871, allocations: 59.41 kB / 448.3 MB, free: 8.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.4872, allocations: 35.41 kB / 448.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.784e-06/0.4872, allocations: 0 / 448.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.4872, allocations: 0 / 448.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-06/0.4872, allocations: 0 / 448.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6e-06/0.4872, allocations: 3.938 kB / 448.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.4873, allocations: 8 kB / 448.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-06/0.4873, allocations: 0 / 448.3 MB, free: 8.141 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 9.63e-05/0.4874, allocations: 134.7 kB / 448.5 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.4874, allocations: 4 kB / 448.5 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.4874, allocations: 11.08 kB / 448.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.381e-06/0.4874, allocations: 0 / 448.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.054e-06/0.4875, allocations: 0 / 448.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.366e-06/0.4875, allocations: 3.984 kB / 448.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.4876, allocations: 145.6 kB / 448.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-06/0.4876, allocations: 0 / 448.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-06/0.4876, allocations: 4 kB / 448.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.622e-06/0.4876, allocations: 4 kB / 448.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-06/0.4877, allocations: 1.031 kB / 448.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.163e-06/0.4877, allocations: 0 / 448.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.689e-06/0.4877, allocations: 3.938 kB / 448.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.4878, allocations: 98.77 kB / 448.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.4879, allocations: 77.11 kB / 448.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.4879, allocations: 0 / 448.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.4879, allocations: 0 / 448.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.488, allocations: 19.94 kB / 448.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.488, allocations: 0 / 448.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.816e-05/0.488, allocations: 75.28 kB / 448.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.47e-07/0.488, allocations: 0 / 448.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.4883, allocations: 4.656 kB / 448.9 MB, free: 7.461 MB / 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.0002842/0.4886, allocations: 114.5 kB / 449 MB, free: 7.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.75e-05/0.4887, allocations: 59.41 kB / 449.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.679e-06/0.4887, allocations: 0 / 449.1 MB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.411e-05/0.4888, allocations: 63.39 kB / 449.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.838e-05/0.4889, allocations: 7.328 kB / 449.2 MB, free: 7.199 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001447/0.4891, allocations: 41.06 kB / 449.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.4894, allocations: 0.677 MB / 449.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.997e-06/0.4894, allocations: 0 / 449.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.4895, allocations: 7.438 kB / 449.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of SimCode: time 1.6e-06/0.4895, allocations: 4.125 kB / 449.9 MB, free: 6.422 MB / 378.7 MB Notification: Performance of Templates: time 0.002554/0.492, allocations: 292.7 kB / 450.2 MB, free: 6.148 MB / 378.7 MB