Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.782/2.782, allocations: 270 MB / 283.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.09e-05/5.098e-05, allocations: 4 kB / 348.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4804, allocations: 61.87 MB / 410.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1874/0.6678, allocations: 87.54 MB / 497.9 MB, free: 2.973 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.6681, allocations: 63.97 kB / 498 MB, free: 2.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02302/0.6912, allocations: 4.324 MB / 0.4905 GB, free: 14.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6912, allocations: 0 / 0.4905 GB, free: 14.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.6913, allocations: 4 kB / 0.4905 GB, free: 14.58 MB / 426.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.000671/0.6919, allocations: 404 kB / 0.4909 GB, free: 14.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.692, allocations: 12.03 kB / 0.4909 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.6921, allocations: 30.56 kB / 0.4909 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.6921, allocations: 0 / 0.4909 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.6922, allocations: 163.1 kB / 0.4911 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.6923, allocations: 3.953 kB / 0.4911 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.6923, allocations: 0 / 0.4911 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.874e-05/0.6924, allocations: 29.7 kB / 0.4911 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.6924, allocations: 3.938 kB / 0.4911 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.6924, allocations: 4 kB / 0.4911 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6924, allocations: 0 / 0.4911 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.6925, allocations: 7.938 kB / 0.4911 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.6926, allocations: 141.7 kB / 0.4913 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.566e-05/0.6927, allocations: 30.98 kB / 0.4913 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.6927, allocations: 8.953 kB / 0.4913 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.6927, allocations: 0 / 0.4913 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.6928, allocations: 64.27 kB / 0.4914 GB, free: 13.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.6928, allocations: 0 / 0.4914 GB, free: 13.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001821/0.693, allocations: 67.33 kB / 0.4914 GB, free: 13.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.6931, allocations: 77.11 kB / 0.4915 GB, free: 13.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.908e-05/0.6931, allocations: 85 kB / 0.4916 GB, free: 13.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.6931, allocations: 29.7 kB / 0.4916 GB, free: 13.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.6932, allocations: 84.12 kB / 0.4917 GB, free: 13.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.6932, allocations: 0 / 0.4917 GB, free: 13.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/0.6932, allocations: 0 / 0.4917 GB, free: 13.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6934, allocations: 318.9 kB / 0.492 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.6934, allocations: 0 / 0.492 GB, free: 12.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.6934, allocations: 0 / 0.492 GB, free: 12.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.6934, allocations: 29.7 kB / 0.492 GB, free: 12.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6935, allocations: 0 / 0.492 GB, free: 12.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.394e-05/0.6936, allocations: 55.41 kB / 0.4921 GB, free: 12.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.6936, allocations: 41.64 kB / 0.4921 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6936, allocations: 0 / 0.4921 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.6937, allocations: 4.094 kB / 0.4921 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.6937, allocations: 0 / 0.4921 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.6937, allocations: 0 / 0.4921 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.6937, allocations: 3.938 kB / 0.4921 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.6937, allocations: 4 kB / 0.4921 GB, free: 12.65 MB / 426.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 8.757e-05/0.6938, allocations: 130.7 kB / 0.4923 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.6938, allocations: 0 / 0.4923 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.6939, allocations: 7.078 kB / 0.4923 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.6939, allocations: 4 kB / 0.4923 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6939, allocations: 4 kB / 0.4923 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6939, allocations: 0 / 0.4923 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.694, allocations: 149.6 kB / 0.4924 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.694, allocations: 0 / 0.4924 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.694, allocations: 0 / 0.4924 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6941, allocations: 0 / 0.4924 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.6941, allocations: 4 kB / 0.4924 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.6941, allocations: 3.953 kB / 0.4924 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.6941, allocations: 0 / 0.4924 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.6942, allocations: 98.83 kB / 0.4925 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.6943, allocations: 77.11 kB / 0.4926 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.6943, allocations: 0 / 0.4926 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.6943, allocations: 0 / 0.4926 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.6944, allocations: 7.891 kB / 0.4926 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.6944, allocations: 7.984 kB / 0.4926 GB, free: 12.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.026e-05/0.6944, allocations: 79.22 kB / 0.4927 GB, free: 11.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6944, allocations: 0 / 0.4927 GB, free: 11.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005407/0.695, allocations: 79.94 kB / 0.4928 GB, free: 11.9 MB / 426.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.0009691/0.696, allocations: 0.7451 MB / 0.4935 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.6961, allocations: 59.41 kB / 0.4935 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6961, allocations: 3.938 kB / 0.4935 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.6962, allocations: 59.39 kB / 0.4936 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.6963, allocations: 3.953 kB / 0.4936 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.6967, allocations: 114.8 kB / 0.4937 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.6969, allocations: 0.6692 MB / 0.4944 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.261e-06/0.6969, allocations: 0 / 0.4944 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.697, allocations: 15.56 kB / 0.4944 GB, free: 10.12 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.697, allocations: 0 / 0.4944 GB, free: 10.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.7199, allocations: 2.36 MB / 0.4967 GB, free: 7.844 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/0.7203, allocations: 188.8 kB / 0.4969 GB, free: 7.617 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.224, allocations: 4 kB / 0.4969 GB, free: 7.613 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestPolynomials_res.mat does not exist to compare? outputFormat=mat