Running command: translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.988e-05/6.008e-05, allocations: 10.64 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.333, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.467, allocations: 85.47 MB / 467.7 MB, free: 7.066 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4672, allocations: 67.97 kB / 467.7 MB, free: 7 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02854/0.4958, allocations: 6.349 MB / 474.1 MB, free: 0.6406 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.497e-06/0.4958, allocations: 0 / 474.1 MB, free: 0.6406 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.4959, allocations: 4 kB / 474.1 MB, free: 0.6367 MB / 394.8 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.0003612/0.4962, allocations: 360.1 kB / 474.4 MB, free: 240 kB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4963, allocations: 8.031 kB / 474.4 MB, free: 232 kB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.4963, allocations: 11.84 kB / 474.5 MB, free: 220 kB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.4965, allocations: 163 kB / 474.6 MB, free: 16 kB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.4965, allocations: 11.98 kB / 474.6 MB, free: 4 kB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.4965, allocations: 0 / 474.6 MB, free: 4 kB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.983e-05/0.4966, allocations: 25.7 kB / 474.7 MB, free: 15.97 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.4966, allocations: 0 / 474.7 MB, free: 15.97 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.4967, allocations: 7.984 kB / 474.7 MB, free: 15.96 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.253e-06/0.4967, allocations: 0 / 474.7 MB, free: 15.96 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.728e-05/0.4967, allocations: 0 / 474.7 MB, free: 15.96 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.4969, allocations: 149.6 kB / 474.8 MB, free: 15.77 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.672e-05/0.4969, allocations: 22.55 kB / 474.8 MB, free: 15.74 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.014e-05/0.497, allocations: 8.844 kB / 474.8 MB, free: 15.73 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.601e-06/0.497, allocations: 0 / 474.8 MB, free: 15.73 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.497, allocations: 60.27 kB / 474.9 MB, free: 15.65 MB / 410.8 MB Notification: Performance of pre-optimization done (n=1): time 1.85e-06/0.4971, allocations: 4.062 kB / 474.9 MB, free: 15.65 MB / 410.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.4972, allocations: 55.41 kB / 475 MB, free: 15.58 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.4973, allocations: 81.14 kB / 475 MB, free: 15.48 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.863e-05/0.4974, allocations: 85 kB / 475.1 MB, free: 15.39 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.4974, allocations: 29.7 kB / 475.1 MB, free: 15.36 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.4974, allocations: 80.14 kB / 475.2 MB, free: 15.28 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.4975, allocations: 3.938 kB / 475.2 MB, free: 15.27 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-06/0.4975, allocations: 0 / 475.2 MB, free: 15.27 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4977, allocations: 318.8 kB / 475.5 MB, free: 14.95 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.4977, allocations: 0 / 475.5 MB, free: 14.95 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.4977, allocations: 4 kB / 475.5 MB, free: 14.95 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.396e-05/0.4978, allocations: 29.77 kB / 475.6 MB, free: 14.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.112e-06/0.4978, allocations: 0 / 475.6 MB, free: 14.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.82e-05/0.4979, allocations: 63.36 kB / 475.6 MB, free: 14.84 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.4979, allocations: 33.69 kB / 475.7 MB, free: 14.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.842e-06/0.4979, allocations: 0 / 475.7 MB, free: 14.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.498, allocations: 0 / 475.7 MB, free: 14.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-06/0.498, allocations: 0 / 475.7 MB, free: 14.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.498, allocations: 4 kB / 475.7 MB, free: 14.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.498, allocations: 3.938 kB / 475.7 MB, free: 14.79 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-06/0.498, allocations: 4.031 kB / 475.7 MB, free: 14.79 MB / 410.8 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.0001012/0.4982, allocations: 129.4 kB / 475.8 MB, free: 14.65 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.4982, allocations: 11.89 kB / 475.8 MB, free: 14.64 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.457e-05/0.4982, allocations: 3.125 kB / 475.8 MB, free: 14.63 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.4982, allocations: 0 / 475.8 MB, free: 14.63 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.701e-06/0.4982, allocations: 0 / 475.8 MB, free: 14.63 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.213e-06/0.4982, allocations: 0 / 475.8 MB, free: 14.63 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.4984, allocations: 157.6 kB / 476 MB, free: 14.43 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-06/0.4984, allocations: 0 / 476 MB, free: 14.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-06/0.4984, allocations: 4 kB / 476 MB, free: 14.43 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.636e-06/0.4984, allocations: 3.953 kB / 476 MB, free: 14.42 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.552e-06/0.4984, allocations: 4 kB / 476 MB, free: 14.42 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4985, allocations: 0 / 476 MB, free: 14.42 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.751e-06/0.4985, allocations: 0 / 476 MB, free: 14.42 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.4986, allocations: 90.83 kB / 476.1 MB, free: 14.3 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.4987, allocations: 77.11 kB / 476.2 MB, free: 14.21 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.4987, allocations: 3.953 kB / 476.2 MB, free: 14.21 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.4987, allocations: 8.031 kB / 476.2 MB, free: 14.2 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.4987, allocations: 0 / 476.2 MB, free: 14.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-06/0.4988, allocations: 0 / 476.2 MB, free: 14.2 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.188e-05/0.4988, allocations: 79.27 kB / 476.2 MB, free: 14.12 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.72e-07/0.4988, allocations: 0 / 476.2 MB, free: 14.12 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002579/0.4991, allocations: 8 kB / 476.2 MB, free: 14.11 MB / 410.8 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.0002916/0.4994, allocations: 117.5 kB / 476.4 MB, free: 14 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.4995, allocations: 59.34 kB / 476.4 MB, free: 13.93 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.39e-06/0.4995, allocations: 0 / 476.4 MB, free: 13.93 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.4996, allocations: 59.39 kB / 476.5 MB, free: 13.86 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.4997, allocations: 8 kB / 476.5 MB, free: 13.85 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001434/0.4999, allocations: 45 kB / 476.5 MB, free: 13.78 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.5002, allocations: 0.6731 MB / 477.2 MB, free: 13.08 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.83e-06/0.5002, allocations: 0 / 477.2 MB, free: 13.08 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/0.5003, allocations: 11.56 kB / 477.2 MB, free: 13.07 MB / 410.8 MB Notification: Performance of SimCode: time 1.485e-06/0.5003, allocations: 4 kB / 477.2 MB, free: 13.07 MB / 410.8 MB Notification: Performance of Templates: time 0.002597/0.5029, allocations: 297.7 kB / 477.5 MB, free: 12.78 MB / 410.8 MB