Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestPolynomials",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.419/2.419, allocations: 235.1 MB / 242.2 MB, free: 15.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.265e-05, allocations: 0 / 299.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.3993, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6599/1.059, allocations: 191.8 MB / 0.5334 GB, free: 77.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/1.059, allocations: 67.53 kB / 0.5334 GB, free: 77.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0292/1.089, allocations: 6.924 MB / 0.5402 GB, free: 73.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.089, allocations: 0 / 0.5402 GB, free: 73.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/1.089, allocations: 0 / 0.5402 GB, free: 73.65 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.000429/1.089, allocations: 404 kB / 0.5406 GB, free: 73.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.089, allocations: 12.03 kB / 0.5406 GB, free: 73.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/1.089, allocations: 0 / 0.5406 GB, free: 73.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.245e-05/1.089, allocations: 159.1 kB / 0.5408 GB, free: 73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/1.089, allocations: 0 / 0.5408 GB, free: 73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/1.089, allocations: 7.984 kB / 0.5408 GB, free: 73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.358e-05/1.089, allocations: 7.938 kB / 0.5408 GB, free: 72.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.831e-05/1.089, allocations: 29.64 kB / 0.5408 GB, free: 72.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/1.09, allocations: 0 / 0.5408 GB, free: 72.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/1.09, allocations: 3.953 kB / 0.5408 GB, free: 72.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.09, allocations: 0 / 0.5408 GB, free: 72.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.815e-05/1.09, allocations: 129.6 kB / 0.5409 GB, free: 72.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.209e-05/1.09, allocations: 14.58 kB / 0.5409 GB, free: 72.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.223e-05/1.09, allocations: 8.859 kB / 0.5409 GB, free: 72.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-06/1.09, allocations: 0 / 0.5409 GB, free: 72.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/1.09, allocations: 68.34 kB / 0.541 GB, free: 72.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/1.09, allocations: 0 / 0.541 GB, free: 72.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001571/1.09, allocations: 37.58 kB / 0.541 GB, free: 72.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/1.09, allocations: 80.86 kB / 0.5411 GB, free: 72.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.214e-05/1.09, allocations: 86.31 kB / 0.5412 GB, free: 72.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/1.09, allocations: 25.7 kB / 0.5412 GB, free: 72.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.498e-05/1.09, allocations: 88.17 kB / 0.5413 GB, free: 72.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/1.09, allocations: 0 / 0.5413 GB, free: 72.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/1.09, allocations: 0 / 0.5413 GB, free: 72.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/1.09, allocations: 314.8 kB / 0.5416 GB, free: 72.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/1.09, allocations: 0 / 0.5416 GB, free: 72.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-06/1.09, allocations: 3.984 kB / 0.5416 GB, free: 72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/1.09, allocations: 4 kB / 0.5416 GB, free: 72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.09, allocations: 0 / 0.5416 GB, free: 72 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.111e-05/1.09, allocations: 37.14 kB / 0.5417 GB, free: 71.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/1.09, allocations: 37.64 kB / 0.5417 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/1.09, allocations: 0 / 0.5417 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/1.09, allocations: 0 / 0.5417 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.804e-06/1.09, allocations: 0 / 0.5417 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/1.09, allocations: 0 / 0.5417 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.539e-05/1.09, allocations: 0 / 0.5417 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/1.09, allocations: 7.984 kB / 0.5417 GB, free: 71.91 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 5.89e-05/1.091, allocations: 130.6 kB / 0.5418 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.792e-05/1.091, allocations: 37.73 kB / 0.5419 GB, free: 71.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/1.091, allocations: 4 kB / 0.5419 GB, free: 71.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.205e-05/1.091, allocations: 3.75 kB / 0.5419 GB, free: 71.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/1.091, allocations: 7.969 kB / 0.5419 GB, free: 71.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.091, allocations: 0 / 0.5419 GB, free: 71.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.091, allocations: 3.938 kB / 0.5419 GB, free: 71.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.791e-05/1.091, allocations: 130 kB / 0.542 GB, free: 71.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/1.091, allocations: 0 / 0.542 GB, free: 71.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/1.091, allocations: 0 / 0.542 GB, free: 71.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.091, allocations: 4 kB / 0.542 GB, free: 71.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/1.091, allocations: 4.031 kB / 0.542 GB, free: 71.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.091, allocations: 0 / 0.542 GB, free: 71.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.091, allocations: 0 / 0.542 GB, free: 71.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.011e-05/1.091, allocations: 68.45 kB / 0.5421 GB, free: 71.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/1.091, allocations: 81.11 kB / 0.5422 GB, free: 71.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/1.091, allocations: 0 / 0.5422 GB, free: 71.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.174e-05/1.091, allocations: 0 / 0.5422 GB, free: 71.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/1.091, allocations: 0 / 0.5422 GB, free: 71.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/1.091, allocations: 8.016 kB / 0.5422 GB, free: 71.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.544e-05/1.091, allocations: 75.28 kB / 0.5422 GB, free: 71.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.7e-07/1.091, allocations: 4 kB / 0.5422 GB, free: 71.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005363/1.092, allocations: 79.86 kB / 0.5423 GB, free: 71.2 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.000792/1.092, allocations: 0.7123 MB / 0.543 GB, free: 70.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.51e-05/1.093, allocations: 55.41 kB / 0.5431 GB, free: 70.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.093, allocations: 0 / 0.5431 GB, free: 70.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.52e-05/1.093, allocations: 58.84 kB / 0.5431 GB, free: 70.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/1.093, allocations: 4.125 kB / 0.5431 GB, free: 70.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/1.093, allocations: 121.5 kB / 0.5432 GB, free: 70.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/1.093, allocations: 0.6768 MB / 0.5439 GB, free: 69.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.602e-06/1.093, allocations: 0 / 0.5439 GB, free: 69.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/1.093, allocations: 7.438 kB / 0.5439 GB, free: 69.46 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/1.093, allocations: 0 / 0.5439 GB, free: 69.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03975/1.133, allocations: 2.139 MB / 0.546 GB, free: 67.33 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/1.133, allocations: 156.1 kB / 0.5461 GB, free: 67.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.514, allocations: 4 kB / 0.5461 GB, free: 67.13 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials_res.mat does not exist to compare? outputFormat=mat