Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.568e-05, allocations: 7.984 kB / 304.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3243, allocations: 54.85 MB / 359.7 MB, free: 2.652 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5199/0.8442, allocations: 192.5 MB / 0.5393 GB, free: 112.8 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.8445, allocations: 62.5 kB / 0.5394 GB, free: 112.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02678/0.8713, allocations: 6.944 MB / 0.5462 GB, free: 111.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.8713, allocations: 0 / 0.5462 GB, free: 111.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.993e-06/0.8713, allocations: 0 / 0.5462 GB, free: 111.8 MB / 458.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.0003383/0.8717, allocations: 399.2 kB / 0.5465 GB, free: 111.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.8717, allocations: 9.219 kB / 0.5466 GB, free: 111.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.8718, allocations: 0 / 0.5466 GB, free: 111.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.098e-05/0.8718, allocations: 159.1 kB / 0.5467 GB, free: 111.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.8719, allocations: 4.859 kB / 0.5467 GB, free: 111.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.8719, allocations: 7.938 kB / 0.5467 GB, free: 111.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.714e-05/0.872, allocations: 29.55 kB / 0.5467 GB, free: 111.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.729e-06/0.872, allocations: 3.938 kB / 0.5468 GB, free: 111.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.146e-06/0.872, allocations: 3.953 kB / 0.5468 GB, free: 111.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-06/0.872, allocations: 3.875 kB / 0.5468 GB, free: 111.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.672e-05/0.872, allocations: 0 / 0.5468 GB, free: 111.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.534e-05/0.8721, allocations: 145.1 kB / 0.5469 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.697e-05/0.8722, allocations: 22.45 kB / 0.5469 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.8722, allocations: 8.859 kB / 0.5469 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.8722, allocations: 0 / 0.5469 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.8723, allocations: 64.27 kB / 0.547 GB, free: 110.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.83e-06/0.8723, allocations: 7.812 kB / 0.547 GB, free: 110.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.8724, allocations: 58.62 kB / 0.5471 GB, free: 110.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.8725, allocations: 84.12 kB / 0.5471 GB, free: 110.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.838e-05/0.8725, allocations: 85 kB / 0.5472 GB, free: 110.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.797e-06/0.8725, allocations: 33.55 kB / 0.5472 GB, free: 110.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.096e-05/0.8725, allocations: 150.6 kB / 0.5474 GB, free: 110.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.8726, allocations: 0 / 0.5474 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-06/0.8726, allocations: 0 / 0.5474 GB, free: 110.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.717e-05/0.8726, allocations: 314.2 kB / 0.5477 GB, free: 110.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.823e-06/0.8727, allocations: 0 / 0.5477 GB, free: 110.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-06/0.8727, allocations: 7.719 kB / 0.5477 GB, free: 110.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.268e-05/0.8727, allocations: 25.7 kB / 0.5477 GB, free: 110.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.681e-06/0.8727, allocations: 0 / 0.5477 GB, free: 110.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.022e-05/0.8728, allocations: 66.94 kB / 0.5478 GB, free: 110 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.8728, allocations: 32.56 kB / 0.5478 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.983e-06/0.8729, allocations: 0 / 0.5478 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.8729, allocations: 3.812 kB / 0.5478 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.687e-06/0.8729, allocations: 0 / 0.5478 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.428e-06/0.8729, allocations: 0 / 0.5478 GB, free: 110 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/0.8729, allocations: 3.953 kB / 0.5478 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-06/0.8729, allocations: 0 / 0.5478 GB, free: 109.9 MB / 458.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 4.962e-05/0.873, allocations: 130.5 kB / 0.5479 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.873, allocations: 4.031 kB / 0.548 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.282e-05/0.873, allocations: 6.922 kB / 0.548 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-06/0.8731, allocations: 0 / 0.548 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.56e-06/0.8731, allocations: 0 / 0.548 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-06/0.8731, allocations: 0 / 0.548 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.417e-05/0.8731, allocations: 157.3 kB / 0.5481 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.851e-06/0.8732, allocations: 0 / 0.5481 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.264e-06/0.8732, allocations: 0 / 0.5481 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.8732, allocations: 3.844 kB / 0.5481 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.8732, allocations: 0 / 0.5481 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.195e-06/0.8732, allocations: 11.84 kB / 0.5481 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8732, allocations: 0 / 0.5481 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.921e-05/0.8733, allocations: 82.55 kB / 0.5482 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.8733, allocations: 88.52 kB / 0.5483 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.8734, allocations: 0 / 0.5483 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.226e-05/0.8734, allocations: 0 / 0.5483 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.8734, allocations: 0 / 0.5483 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-06/0.8734, allocations: 3.812 kB / 0.5483 GB, free: 109.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.4e-05/0.8734, allocations: 79.31 kB / 0.5484 GB, free: 109.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.49e-07/0.8735, allocations: 0 / 0.5484 GB, free: 109.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004138/0.8739, allocations: 81.91 kB / 0.5484 GB, free: 109.3 MB / 458.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.0004829/0.8744, allocations: 220 kB / 0.5487 GB, free: 109.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.211e-05/0.8745, allocations: 63.25 kB / 0.5487 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8745, allocations: 0 / 0.5487 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.8745, allocations: 59.12 kB / 0.5488 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.437e-05/0.8746, allocations: 7.766 kB / 0.5488 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001127/0.8747, allocations: 66.64 kB / 0.5488 GB, free: 108.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.948e-05/0.8749, allocations: 0.6767 MB / 0.5495 GB, free: 108.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-06/0.8749, allocations: 7.438 kB / 0.5495 GB, free: 108.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.585e-06/0.8749, allocations: 0 / 0.5495 GB, free: 108.2 MB / 458.7 MB Notification: Performance of Templates: time 0.003925/0.8788, allocations: 1.848 MB / 0.5513 GB, free: 108 MB / 458.7 MB