Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.523/2.523, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.279e-05/4.283e-05, allocations: 9.812 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1438, allocations: 61.88 MB / 410.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5227/0.6666, allocations: 87.54 MB / 497.9 MB, free: 0.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.6669, allocations: 65.38 kB / 498 MB, free: 448 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02249/0.6894, allocations: 4.328 MB / 0.4905 GB, free: 12.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6895, allocations: 0 / 0.4905 GB, free: 12.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.6895, allocations: 0 / 0.4905 GB, free: 12.12 MB / 410.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.0005842/0.6901, allocations: 404 kB / 0.4909 GB, free: 11.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.6901, allocations: 8.031 kB / 0.4909 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.6902, allocations: 38.56 kB / 0.4909 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.6902, allocations: 0 / 0.4909 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.6904, allocations: 163.1 kB / 0.4911 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.6904, allocations: 3.953 kB / 0.4911 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.6904, allocations: 0 / 0.4911 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.763e-05/0.6905, allocations: 33.64 kB / 0.4911 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.6905, allocations: 0 / 0.4911 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.6905, allocations: 0 / 0.4911 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.6906, allocations: 0 / 0.4911 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.849e-05/0.6906, allocations: 0 / 0.4911 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.6908, allocations: 153.7 kB / 0.4913 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.49e-05/0.6908, allocations: 19.06 kB / 0.4913 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.647e-05/0.6909, allocations: 16.92 kB / 0.4913 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.6909, allocations: 0 / 0.4913 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.691, allocations: 56.27 kB / 0.4914 GB, free: 11.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.691, allocations: 3.938 kB / 0.4914 GB, free: 11.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000175/0.6912, allocations: 63.41 kB / 0.4914 GB, free: 10.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.6912, allocations: 85.05 kB / 0.4915 GB, free: 10.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.834e-05/0.6913, allocations: 85 kB / 0.4916 GB, free: 10.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.6913, allocations: 25.7 kB / 0.4916 GB, free: 10.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.6914, allocations: 84.08 kB / 0.4917 GB, free: 10.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.6914, allocations: 3.984 kB / 0.4917 GB, free: 10.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.6914, allocations: 0 / 0.4917 GB, free: 10.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6916, allocations: 314.8 kB / 0.492 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.6916, allocations: 4.031 kB / 0.492 GB, free: 10.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.6916, allocations: 0 / 0.492 GB, free: 10.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.6917, allocations: 29.7 kB / 0.492 GB, free: 10.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6917, allocations: 0 / 0.492 GB, free: 10.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.996e-05/0.6918, allocations: 59.34 kB / 0.4921 GB, free: 10.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.6918, allocations: 45.64 kB / 0.4921 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.6918, allocations: 0 / 0.4921 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.6919, allocations: 0 / 0.4921 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.6919, allocations: 0 / 0.4921 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.6919, allocations: 3.984 kB / 0.4921 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.6919, allocations: 4.094 kB / 0.4921 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.6919, allocations: 0 / 0.4921 GB, free: 10.18 MB / 410.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.0001001/0.692, allocations: 130.7 kB / 0.4923 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.6921, allocations: 0 / 0.4923 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.6921, allocations: 11.03 kB / 0.4923 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6921, allocations: 0 / 0.4923 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6921, allocations: 4 kB / 0.4923 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6921, allocations: 0 / 0.4923 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.6923, allocations: 149.7 kB / 0.4924 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6923, allocations: 4 kB / 0.4924 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.6923, allocations: 0 / 0.4924 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6923, allocations: 0 / 0.4924 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6923, allocations: 4 kB / 0.4924 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6923, allocations: 3.953 kB / 0.4924 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6923, allocations: 0 / 0.4924 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.6925, allocations: 94.77 kB / 0.4925 GB, free: 9.699 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.6925, allocations: 81.11 kB / 0.4926 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.6926, allocations: 4.031 kB / 0.4926 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.492e-05/0.6926, allocations: 0 / 0.4926 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.521e-05/0.6926, allocations: 7.891 kB / 0.4926 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.6926, allocations: 3.984 kB / 0.4926 GB, free: 9.586 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.566e-05/0.6927, allocations: 79.28 kB / 0.4927 GB, free: 9.508 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6927, allocations: 0 / 0.4927 GB, free: 9.508 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005604/0.6933, allocations: 79.94 kB / 0.4928 GB, free: 9.43 MB / 410.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.0009981/0.6943, allocations: 0.728 MB / 0.4935 GB, free: 8.668 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.6944, allocations: 71.31 kB / 0.4936 GB, free: 8.586 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6944, allocations: 3.938 kB / 0.4936 GB, free: 8.582 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.6945, allocations: 55.41 kB / 0.4936 GB, free: 8.516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001123/0.6946, allocations: 10.59 kB / 0.4936 GB, free: 8.508 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.695, allocations: 114.5 kB / 0.4937 GB, free: 8.359 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.6953, allocations: 0.6731 MB / 0.4944 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.643e-06/0.6953, allocations: 0 / 0.4944 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.6953, allocations: 7.438 kB / 0.4944 GB, free: 7.652 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.6954, allocations: 0 / 0.4944 GB, free: 7.652 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.717, allocations: 2.377 MB / 0.4967 GB, free: 5.355 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003173/0.7174, allocations: 183.8 kB / 0.4969 GB, free: 5.133 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.776/3.494, allocations: 3.938 kB / 0.4969 GB, free: 5.129 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.TestPolynomials_res.mat does not exist to compare? outputFormat=mat