Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadModel(ModelicaTest): time 2.427/2.427, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.584e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3886, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0007375/0.3894, allocations: 198.2 kB / 363.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005717/0.3951, allocations: 2.085 MB / 365.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.3952, allocations: 1.406 kB / 365.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.3952, allocations: 0 / 365.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.331e-06/0.3952, allocations: 0 / 365.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.3991, allocations: 0.7908 MB / 365.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.677e-05/0.3991, allocations: 4.844 kB / 365.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.3992, allocations: 0.9688 kB / 365.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.3992, allocations: 5.172 kB / 365.9 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005847/0.4051, allocations: 1.618 MB / 367.6 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.4052, allocations: 0 / 367.6 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.4052, allocations: 0 / 367.6 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.4052, allocations: 4 kB / 367.6 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.584e-05/0.4053, allocations: 0 / 367.6 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.464e-05/0.4053, allocations: 0 / 367.6 MB, free: 9.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4053, allocations: 0 / 367.6 MB, free: 9.059 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4053, allocations: 0 / 367.6 MB, free: 9.059 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.4054, allocations: 0 / 367.6 MB, free: 9.059 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.0004185/0.4058, allocations: 342.2 kB / 367.9 MB, free: 8.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.4059, allocations: 8.094 kB / 367.9 MB, free: 8.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.4059, allocations: 0 / 367.9 MB, free: 8.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.4061, allocations: 167.1 kB / 368.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.4061, allocations: 4 kB / 368.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.4061, allocations: 0 / 368.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.4063, allocations: 33.62 kB / 368.1 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4063, allocations: 4 kB / 368.1 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4063, allocations: 0 / 368.1 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.4063, allocations: 7.891 kB / 368.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.63e-05/0.4064, allocations: 4 kB / 368.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.4066, allocations: 145.7 kB / 368.3 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.329e-05/0.4067, allocations: 22.61 kB / 368.3 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.4067, allocations: 0 / 368.3 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.942e-05/0.4068, allocations: 56.27 kB / 368.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/0.4068, allocations: 0 / 368.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002386/0.4071, allocations: 71.39 kB / 368.4 MB, free: 8.027 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.4072, allocations: 77.11 kB / 368.5 MB, free: 7.934 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.4072, allocations: 85 kB / 368.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.4073, allocations: 33.83 kB / 368.6 MB, free: 7.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.4073, allocations: 80.14 kB / 368.7 MB, free: 7.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.4074, allocations: 3.906 kB / 368.7 MB, free: 7.719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4074, allocations: 0 / 368.7 MB, free: 7.719 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4076, allocations: 314.8 kB / 369 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.4076, allocations: 0 / 369 MB, free: 7.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.42e-05/0.4076, allocations: 4 kB / 369 MB, free: 7.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.4077, allocations: 29.69 kB / 369 MB, free: 7.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4077, allocations: 0 / 369 MB, free: 7.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001248/0.4078, allocations: 71.41 kB / 369.1 MB, free: 7.281 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.4079, allocations: 29.7 kB / 369.1 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.4079, allocations: 3.938 kB / 369.1 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.408, allocations: 3.984 kB / 369.1 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/0.408, allocations: 0 / 369.1 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.408, allocations: 4 kB / 369.1 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.408, allocations: 0 / 369.1 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4081, allocations: 0 / 369.1 MB, free: 7.234 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.0001291/0.4082, allocations: 139.5 kB / 369.3 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.4082, allocations: 8 kB / 369.3 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.287e-05/0.4083, allocations: 3.125 kB / 369.3 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4083, allocations: 0 / 369.3 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4083, allocations: 0 / 369.3 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.4083, allocations: 0 / 369.3 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.4085, allocations: 153.6 kB / 369.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4085, allocations: 0 / 369.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-06/0.4085, allocations: 0 / 369.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4085, allocations: 3.938 kB / 369.4 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4086, allocations: 4 kB / 369.4 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4086, allocations: 4 kB / 369.4 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4086, allocations: 0 / 369.4 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.4088, allocations: 94.72 kB / 369.5 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.4088, allocations: 83.5 kB / 369.6 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.4089, allocations: 0 / 369.6 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.4089, allocations: 4 kB / 369.6 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.4089, allocations: 0 / 369.6 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.409, allocations: 0 / 369.6 MB, free: 6.645 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.409, allocations: 79.31 kB / 369.7 MB, free: 6.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.409, allocations: 0 / 369.7 MB, free: 6.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003846/0.4094, allocations: 4 kB / 369.7 MB, free: 6.562 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.000155/0.4096, allocations: 91.25 kB / 369.8 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.4098, allocations: 59.39 kB / 369.9 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4098, allocations: 0 / 369.9 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.4098, allocations: 59.34 kB / 369.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.41, allocations: 16.02 kB / 369.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.4103, allocations: 74.77 kB / 370 MB, free: 6.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.4107, allocations: 0.677 MB / 370.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.326e-05/0.4107, allocations: 0 / 370.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.4108, allocations: 7.438 kB / 370.7 MB, free: 5.496 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4108, allocations: 0 / 370.7 MB, free: 5.496 MB / 298.7 MB Notification: Performance of Templates: time 0.003107/0.4139, allocations: 197.9 kB / 370.9 MB, free: 5.305 MB / 298.7 MB