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.36/2.36, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.727e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3894, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.0006524/0.3901, allocations: 217.4 kB / 363.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.3928, allocations: 1.321 MB / 364.4 MB, free: 11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.3928, allocations: 4.906 kB / 364.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.3928, allocations: 0 / 364.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.26e-06/0.3929, allocations: 4 kB / 364.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.3934, allocations: 73.25 kB / 364.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.154e-05/0.3934, allocations: 5.156 kB / 364.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.3935, allocations: 0 / 364.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.18e-05/0.3935, allocations: 1.188 kB / 364.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004367/0.3939, allocations: 53.38 kB / 364.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.394, allocations: 0 / 364.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.394, allocations: 5.438 kB / 364.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.394, allocations: 3.984 kB / 364.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.451e-05/0.394, allocations: 0 / 364.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 2.858e-05/0.3941, allocations: 1.438 kB / 364.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3941, allocations: 0 / 364.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3941, allocations: 0 / 364.6 MB, free: 10.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3941, allocations: 3.938 kB / 364.6 MB, free: 10.89 MB / 298.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.0003136/0.3944, allocations: 332 kB / 364.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3945, allocations: 8.594 kB / 364.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.3945, allocations: 1 kB / 364.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3947, allocations: 171 kB / 365.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3947, allocations: 1.125 kB / 365.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.3947, allocations: 0 / 365.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.606e-05/0.3948, allocations: 28.64 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3948, allocations: 3.953 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.3948, allocations: 0 / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3949, allocations: 1.062 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.3949, allocations: 0.9688 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.3951, allocations: 158.7 kB / 365.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.502e-05/0.3951, allocations: 20.67 kB / 365.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.353e-06/0.3951, allocations: 1.344 kB / 365.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.3952, allocations: 60.27 kB / 365.3 MB, free: 9.973 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.723e-06/0.3952, allocations: 1.469 kB / 365.3 MB, free: 9.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001793/0.3954, allocations: 65.67 kB / 365.4 MB, free: 9.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.3955, allocations: 82.34 kB / 365.5 MB, free: 9.805 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.288e-05/0.3955, allocations: 89.12 kB / 365.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.3956, allocations: 27.27 kB / 365.6 MB, free: 9.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.3956, allocations: 80.14 kB / 365.7 MB, free: 9.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.3956, allocations: 3.906 kB / 365.7 MB, free: 9.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.3956, allocations: 0 / 365.7 MB, free: 9.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3958, allocations: 315.8 kB / 366 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.196e-05/0.3958, allocations: 1.062 kB / 366 MB, free: 9.277 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-06/0.3959, allocations: 0.9062 kB / 366 MB, free: 9.277 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.3959, allocations: 31.42 kB / 366 MB, free: 9.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3959, allocations: 0 / 366 MB, free: 9.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.888e-05/0.396, allocations: 65.86 kB / 366.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.3961, allocations: 32.02 kB / 366.1 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3961, allocations: 0 / 366.1 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3961, allocations: 1.5 kB / 366.1 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.3961, allocations: 0 / 366.1 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3961, allocations: 0 / 366.1 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.3962, allocations: 5.609 kB / 366.1 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3962, allocations: 0 / 366.1 MB, free: 9.137 MB / 298.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.3963, allocations: 137.2 kB / 366.2 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.3963, allocations: 1.531 kB / 366.2 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.081e-05/0.3963, allocations: 3.125 kB / 366.2 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3963, allocations: 4.484 kB / 366.3 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3964, allocations: 4.969 kB / 366.3 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3964, allocations: 3.938 kB / 366.3 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.3965, allocations: 146.6 kB / 366.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3965, allocations: 1 kB / 366.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.3965, allocations: 0 / 366.4 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3965, allocations: 5.031 kB / 366.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3966, allocations: 1.188 kB / 366.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3966, allocations: 3.938 kB / 366.4 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3966, allocations: 0 / 366.4 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.3967, allocations: 93.44 kB / 366.5 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.3968, allocations: 81 kB / 366.6 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.3968, allocations: 0 / 366.6 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.874e-05/0.3968, allocations: 9.891 kB / 366.6 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.3968, allocations: 8.016 kB / 366.6 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.3969, allocations: 1.531 kB / 366.6 MB, free: 8.562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.748e-05/0.3969, allocations: 79.31 kB / 366.7 MB, free: 8.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3969, allocations: 0 / 366.7 MB, free: 8.484 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.3971, allocations: 1.719 kB / 366.7 MB, free: 8.484 MB / 298.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.0001236/0.3973, allocations: 97.75 kB / 366.8 MB, free: 8.391 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.3974, allocations: 57.12 kB / 366.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3974, allocations: 4.062 kB / 366.8 MB, free: 8.324 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.961e-05/0.3975, allocations: 54.72 kB / 366.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/0.3976, allocations: 5.359 kB / 366.9 MB, free: 8.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.3978, allocations: 79.84 kB / 367 MB, free: 8.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3981, allocations: 0.6722 MB / 367.6 MB, free: 7.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.212e-06/0.3981, allocations: 0 / 367.6 MB, free: 7.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.3982, allocations: 11.42 kB / 367.7 MB, free: 7.453 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3982, allocations: 0 / 367.7 MB, free: 7.453 MB / 298.7 MB Notification: Performance of Templates: time 0.002401/0.4006, allocations: 183.7 kB / 367.8 MB, free: 7.355 MB / 298.7 MB