Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadModel(ModelicaTest): time 2.329/2.329, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.712e-05, allocations: 0 / 349 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 61.89 MB / 410.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0006018/0.1309, allocations: 204.7 kB / 411.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.134, allocations: 1.649 MB / 412.8 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.324e-05/0.1341, allocations: 0 / 412.8 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.1341, allocations: 0 / 412.8 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.807e-06/0.1341, allocations: 0 / 412.8 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008648/0.135, allocations: 151.5 kB / 412.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.036e-05/0.1351, allocations: 3.984 kB / 412.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.1351, allocations: 0 / 412.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.483e-05/0.1351, allocations: 0 / 412.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.1365, allocations: 403.7 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-06/0.1365, allocations: 4 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.1365, allocations: 0 / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.244e-06/0.1365, allocations: 0 / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.12e-05/0.1366, allocations: 0 / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 2.924e-05/0.1366, allocations: 0 / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1366, allocations: 0 / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1366, allocations: 0 / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1366, allocations: 0 / 413.3 MB, free: 10.48 MB / 346.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.0003728/0.137, allocations: 349 kB / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1371, allocations: 8.031 kB / 413.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.1371, allocations: 0 / 413.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1372, allocations: 163 kB / 413.8 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1373, allocations: 0 / 413.8 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1373, allocations: 4 kB / 413.8 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.982e-05/0.1374, allocations: 29.66 kB / 413.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1374, allocations: 0 / 413.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1374, allocations: 0 / 413.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1374, allocations: 0 / 413.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.1375, allocations: 11.94 kB / 413.9 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.1376, allocations: 145.7 kB / 414 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.334e-05/0.1377, allocations: 30.55 kB / 414 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.1377, allocations: 0 / 414 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.1378, allocations: 56.27 kB / 414.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.452e-06/0.1378, allocations: 0 / 414.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001902/0.138, allocations: 71.41 kB / 414.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.138, allocations: 77.11 kB / 414.2 MB, free: 9.352 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.467e-05/0.1381, allocations: 88.94 kB / 414.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1381, allocations: 25.7 kB / 414.3 MB, free: 9.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.1382, allocations: 150.6 kB / 414.5 MB, free: 9.078 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.1382, allocations: 8 kB / 414.5 MB, free: 9.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.1383, allocations: 3.938 kB / 414.5 MB, free: 9.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1384, allocations: 310.8 kB / 414.8 MB, free: 8.754 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.1384, allocations: 128 / 414.8 MB, free: 8.754 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.1384, allocations: 4 kB / 414.8 MB, free: 8.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.655e-05/0.1385, allocations: 29.7 kB / 414.8 MB, free: 8.715 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1385, allocations: 0 / 414.8 MB, free: 8.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.697e-05/0.1386, allocations: 63.39 kB / 414.9 MB, free: 8.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.1386, allocations: 33.7 kB / 414.9 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1387, allocations: 0 / 414.9 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1387, allocations: 0 / 414.9 MB, free: 8.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.847e-06/0.1387, allocations: 3.953 kB / 414.9 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1387, allocations: 0 / 414.9 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.1387, allocations: 4.094 kB / 414.9 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.1387, allocations: 7.984 kB / 415 MB, free: 8.586 MB / 346.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.0001003/0.1389, allocations: 138 kB / 415.1 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.1389, allocations: 3.984 kB / 415.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.908e-05/0.1389, allocations: 7.125 kB / 415.1 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1389, allocations: 3.938 kB / 415.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1389, allocations: 3.953 kB / 415.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1389, allocations: 0 / 415.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.1391, allocations: 141.7 kB / 415.2 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1391, allocations: 4 kB / 415.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.1391, allocations: 0 / 415.3 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.1391, allocations: 7.984 kB / 415.3 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1391, allocations: 3.938 kB / 415.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1391, allocations: 0 / 415.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1391, allocations: 0 / 415.3 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.1393, allocations: 90.8 kB / 415.4 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.1393, allocations: 77.11 kB / 415.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1394, allocations: 8.016 kB / 415.4 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.283e-05/0.1394, allocations: 0 / 415.4 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.1394, allocations: 3.984 kB / 415.4 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.1394, allocations: 4 kB / 415.4 MB, free: 7.992 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.503e-05/0.1395, allocations: 75.28 kB / 415.5 MB, free: 7.918 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1395, allocations: 0 / 415.5 MB, free: 7.918 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.1397, allocations: 3.953 kB / 415.5 MB, free: 7.914 MB / 346.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.0001196/0.1398, allocations: 103.2 kB / 415.6 MB, free: 7.801 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.14, allocations: 63.41 kB / 415.7 MB, free: 7.727 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.14, allocations: 3.938 kB / 415.7 MB, free: 7.723 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.676e-05/0.14, allocations: 59.39 kB / 415.7 MB, free: 7.652 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.1401, allocations: 0 / 415.7 MB, free: 7.652 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.1403, allocations: 100.7 kB / 415.8 MB, free: 7.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1407, allocations: 0.6731 MB / 416.5 MB, free: 6.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.147e-05/0.1407, allocations: 7.438 kB / 416.5 MB, free: 6.812 MB / 346.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1407, allocations: 4.125 kB / 416.5 MB, free: 6.809 MB / 346.7 MB Notification: Performance of Templates: time 0.001791/0.1425, allocations: 327.9 kB / 416.8 MB, free: 6.488 MB / 346.7 MB