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.325/2.325, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.36e-05, allocations: 8 kB / 308 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4149, allocations: 54.86 MB / 362.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.004882/0.4198, allocations: 212.6 kB / 363.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007129/0.427, allocations: 2.921 MB / 366 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.4271, allocations: 1.281 kB / 366 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.4271, allocations: 0 / 366 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.022e-06/0.4271, allocations: 0 / 366 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009043/0.4362, allocations: 140.3 kB / 366.1 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.319e-05/0.4362, allocations: 0 / 366.1 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.4363, allocations: 0.9688 kB / 366.1 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.4363, allocations: 3.938 kB / 366.1 MB, free: 9.418 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/0.4381, allocations: 409.8 kB / 366.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.4382, allocations: 0 / 366.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.4382, allocations: 1.281 kB / 366.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.4382, allocations: 0 / 366.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.4382, allocations: 0 / 366.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.763e-05/0.4383, allocations: 9.172 kB / 366.5 MB, free: 9.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4383, allocations: 0 / 366.5 MB, free: 9.273 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4383, allocations: 0 / 366.5 MB, free: 9.273 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.4383, allocations: 3.938 kB / 366.5 MB, free: 9.27 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.0003635/0.4387, allocations: 335.3 kB / 366.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.4388, allocations: 8.969 kB / 366.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.4388, allocations: 1.188 kB / 366.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.439, allocations: 159.1 kB / 367 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.439, allocations: 1.094 kB / 367 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.439, allocations: 4.906 kB / 367 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007965/0.447, allocations: 35.16 kB / 367.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.4471, allocations: 4.578 kB / 367.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.4471, allocations: 0.9062 kB / 367.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4471, allocations: 0 / 367.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.834e-05/0.4472, allocations: 0.9688 kB / 367.1 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.4474, allocations: 151.6 kB / 367.2 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.916e-05/0.4475, allocations: 20.48 kB / 367.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.4475, allocations: 4 kB / 367.2 MB, free: 8.422 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.363e-05/0.4476, allocations: 61.39 kB / 367.3 MB, free: 8.348 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 2.074e-06/0.4476, allocations: 1.094 kB / 367.3 MB, free: 8.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.000225/0.4479, allocations: 69.72 kB / 367.4 MB, free: 8.273 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.448, allocations: 78.08 kB / 367.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.649e-05/0.448, allocations: 86 kB / 367.5 MB, free: 8.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.4481, allocations: 25.7 kB / 367.6 MB, free: 8.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.4481, allocations: 154.7 kB / 367.7 MB, free: 7.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.4482, allocations: 5.219 kB / 367.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-06/0.4482, allocations: 0 / 367.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4484, allocations: 312.1 kB / 368 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.4484, allocations: 0 / 368 MB, free: 7.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.4484, allocations: 1.438 kB / 368 MB, free: 7.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.353e-05/0.4485, allocations: 40.28 kB / 368.1 MB, free: 7.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4485, allocations: 0 / 368.1 MB, free: 7.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000119/0.4486, allocations: 66.16 kB / 368.1 MB, free: 7.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.4487, allocations: 31.39 kB / 368.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4487, allocations: 0 / 368.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4487, allocations: 0 / 368.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.225e-06/0.4487, allocations: 0 / 368.2 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.4488, allocations: 5.266 kB / 368.2 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.545e-05/0.4488, allocations: 0 / 368.2 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.4488, allocations: 1.062 kB / 368.2 MB, free: 7.441 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.0001176/0.4489, allocations: 138.5 kB / 368.3 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.449, allocations: 0 / 368.3 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.449, allocations: 8.188 kB / 368.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.449, allocations: 0 / 368.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.449, allocations: 4 kB / 368.3 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4491, allocations: 9.266 kB / 368.3 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.4492, allocations: 151.1 kB / 368.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4492, allocations: 0 / 368.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-06/0.4493, allocations: 0 / 368.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4493, allocations: 1.344 kB / 368.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4493, allocations: 0 / 368.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4493, allocations: 1.438 kB / 368.5 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4493, allocations: 4 kB / 368.5 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.4495, allocations: 96.75 kB / 368.6 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.4496, allocations: 78.02 kB / 368.6 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.4496, allocations: 0.8125 kB / 368.6 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.4496, allocations: 1.125 kB / 368.6 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.4497, allocations: 1.344 kB / 368.6 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.4497, allocations: 0 / 368.6 MB, free: 6.871 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.974e-05/0.4497, allocations: 79.31 kB / 368.7 MB, free: 6.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4497, allocations: 1.125 kB / 368.7 MB, free: 6.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004226/0.4502, allocations: 1.219 kB / 368.7 MB, free: 6.793 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.0001493/0.4503, allocations: 98.67 kB / 368.8 MB, free: 6.699 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.4505, allocations: 63.95 kB / 368.9 MB, free: 6.629 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4505, allocations: 0 / 368.9 MB, free: 6.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.478e-05/0.4506, allocations: 59.5 kB / 368.9 MB, free: 6.562 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.4507, allocations: 5.156 kB / 368.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.451, allocations: 103.2 kB / 369 MB, free: 6.434 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.4514, allocations: 0.6758 MB / 369.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.4514, allocations: 8.688 kB / 369.7 MB, free: 5.727 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4514, allocations: 0 / 369.7 MB, free: 5.727 MB / 298.7 MB Notification: Performance of Templates: time 0.002135/0.4535, allocations: 336.9 kB / 370.1 MB, free: 5.566 MB / 298.7 MB