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.532/2.532, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.148e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3904, allocations: 54.85 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0006302/0.3911, allocations: 201.9 kB / 363.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004697/0.3958, allocations: 2.086 MB / 365.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.3959, allocations: 0 / 365.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.3959, allocations: 0 / 365.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.3959, allocations: 0 / 365.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.3991, allocations: 0.7965 MB / 365.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.384e-05/0.3991, allocations: 0 / 365.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.3992, allocations: 1.531 kB / 365.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.716e-05/0.3992, allocations: 0 / 365.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004247/0.4035, allocations: 1.62 MB / 367.6 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.4035, allocations: 0 / 367.6 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.4036, allocations: 0 / 367.6 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.998e-06/0.4036, allocations: 0 / 367.6 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.344e-05/0.4036, allocations: 4 kB / 367.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.396e-05/0.4036, allocations: 0 / 367.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4037, allocations: 0 / 367.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4037, allocations: 3.938 kB / 367.6 MB, free: 9.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.4037, allocations: 0 / 367.6 MB, free: 9.047 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.0003388/0.404, allocations: 333 kB / 367.9 MB, free: 8.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.4041, allocations: 16.09 kB / 367.9 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.4041, allocations: 0 / 367.9 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.4043, allocations: 167.1 kB / 368.1 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.4043, allocations: 4 kB / 368.1 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.4043, allocations: 0 / 368.1 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.4044, allocations: 33.7 kB / 368.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4045, allocations: 3.938 kB / 368.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.4045, allocations: 0 / 368.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4045, allocations: 3.953 kB / 368.1 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.306e-05/0.4045, allocations: 4 kB / 368.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.4047, allocations: 145.7 kB / 368.3 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.54e-05/0.4048, allocations: 22.5 kB / 368.3 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.4048, allocations: 0 / 368.3 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.4048, allocations: 68.34 kB / 368.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.4049, allocations: 0 / 368.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001748/0.405, allocations: 63.34 kB / 368.4 MB, free: 8.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.4051, allocations: 81.23 kB / 368.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.261e-05/0.4052, allocations: 85 kB / 368.6 MB, free: 7.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.4052, allocations: 25.7 kB / 368.6 MB, free: 7.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.4053, allocations: 80.14 kB / 368.7 MB, free: 7.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.4053, allocations: 3.906 kB / 368.7 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.4053, allocations: 0 / 368.7 MB, free: 7.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4054, allocations: 322.8 kB / 369 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.4055, allocations: 4 kB / 369 MB, free: 7.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-06/0.4055, allocations: 4 kB / 369 MB, free: 7.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.4055, allocations: 25.7 kB / 369 MB, free: 7.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4055, allocations: 4 kB / 369 MB, free: 7.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.588e-05/0.4056, allocations: 59.34 kB / 369.1 MB, free: 7.273 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.4057, allocations: 33.7 kB / 369.1 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4057, allocations: 3.984 kB / 369.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4057, allocations: 0 / 369.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.4057, allocations: 0 / 369.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4057, allocations: 0 / 369.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.4058, allocations: 0 / 369.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.4058, allocations: 8.078 kB / 369.1 MB, free: 7.223 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.0001018/0.4059, allocations: 139.5 kB / 369.3 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.4059, allocations: 0 / 369.3 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.401e-05/0.4059, allocations: 7.125 kB / 369.3 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.406, allocations: 0 / 369.3 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.406, allocations: 3.938 kB / 369.3 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.406, allocations: 4 kB / 369.3 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.4061, allocations: 149.6 kB / 369.4 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4061, allocations: 0 / 369.4 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.4061, allocations: 4 kB / 369.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4061, allocations: 0 / 369.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4062, allocations: 0 / 369.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4062, allocations: 4 kB / 369.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4062, allocations: 3.938 kB / 369.5 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.4063, allocations: 94.72 kB / 369.5 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.4064, allocations: 83.5 kB / 369.6 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.4064, allocations: 0 / 369.6 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.4064, allocations: 4.031 kB / 369.6 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.4064, allocations: 0 / 369.6 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.4065, allocations: 0 / 369.6 MB, free: 6.633 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.674e-05/0.4065, allocations: 75.28 kB / 369.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-07/0.4065, allocations: 0 / 369.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.4067, allocations: 4 kB / 369.7 MB, free: 6.555 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.0001216/0.4069, allocations: 99.23 kB / 369.8 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.407, allocations: 63.41 kB / 369.9 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.407, allocations: 0 / 369.9 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/0.4071, allocations: 59.34 kB / 369.9 MB, free: 6.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.4072, allocations: 3.953 kB / 369.9 MB, free: 6.297 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.4074, allocations: 74.75 kB / 370 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.4077, allocations: 0.6731 MB / 370.7 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.082e-06/0.4077, allocations: 0 / 370.7 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.4078, allocations: 7.438 kB / 370.7 MB, free: 5.492 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4078, allocations: 0 / 370.7 MB, free: 5.492 MB / 298.7 MB Notification: Performance of Templates: time 0.002337/0.4101, allocations: 198.1 kB / 370.9 MB, free: 5.301 MB / 298.7 MB