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.369/2.369, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.081e-05, allocations: 0.9375 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4144, allocations: 54.86 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6869/1.101, allocations: 192.5 MB / 0.5395 GB, free: 112.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.102, allocations: 64.98 kB / 0.5395 GB, free: 112.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03004/1.132, allocations: 6.939 MB / 0.5463 GB, free: 111.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/1.132, allocations: 0 / 0.5463 GB, free: 111.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/1.132, allocations: 0 / 0.5463 GB, free: 111.7 MB / 458.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.0004572/1.132, allocations: 394.5 kB / 0.5467 GB, free: 111.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.132, allocations: 11.75 kB / 0.5467 GB, free: 111.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/1.132, allocations: 37.97 kB / 0.5467 GB, free: 111.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/1.132, allocations: 0 / 0.5467 GB, free: 111.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.33e-05/1.133, allocations: 159.1 kB / 0.5469 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/1.133, allocations: 0.5625 kB / 0.5469 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/1.133, allocations: 4 kB / 0.5469 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.742e-05/1.133, allocations: 37.02 kB / 0.5469 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.133, allocations: 3.938 kB / 0.5469 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/1.133, allocations: 3.953 kB / 0.5469 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.133, allocations: 0 / 0.5469 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.821e-05/1.133, allocations: 1.406 kB / 0.5469 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/1.133, allocations: 146.5 kB / 0.5471 GB, free: 110.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.879e-05/1.133, allocations: 21.95 kB / 0.5471 GB, free: 110.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/1.133, allocations: 12.77 kB / 0.5471 GB, free: 110.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/1.133, allocations: 1.406 kB / 0.5471 GB, free: 110.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/1.133, allocations: 56.27 kB / 0.5471 GB, free: 110.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/1.133, allocations: 0 / 0.5471 GB, free: 110.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001529/1.133, allocations: 65.23 kB / 0.5472 GB, free: 110.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/1.133, allocations: 80.73 kB / 0.5473 GB, free: 110.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.105e-05/1.133, allocations: 85 kB / 0.5474 GB, free: 110.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/1.133, allocations: 29.73 kB / 0.5474 GB, free: 110.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.707e-05/1.133, allocations: 81.73 kB / 0.5475 GB, free: 110.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/1.133, allocations: 0 / 0.5475 GB, free: 110.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/1.133, allocations: 3.969 kB / 0.5475 GB, free: 110.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.621e-05/1.133, allocations: 310.8 kB / 0.5478 GB, free: 110 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/1.133, allocations: 7.875 kB / 0.5478 GB, free: 110 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/1.133, allocations: 0 / 0.5478 GB, free: 110 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/1.133, allocations: 32.22 kB / 0.5478 GB, free: 110 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.133, allocations: 4.062 kB / 0.5478 GB, free: 110 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.868e-05/1.134, allocations: 59 kB / 0.5479 GB, free: 109.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.134, allocations: 37.31 kB / 0.5479 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-06/1.134, allocations: 0 / 0.5479 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/1.134, allocations: 0 / 0.5479 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/1.134, allocations: 0 / 0.5479 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/1.134, allocations: 0.875 kB / 0.5479 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/1.134, allocations: 3.953 kB / 0.5479 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/1.134, allocations: 3.906 kB / 0.5479 GB, free: 109.9 MB / 458.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.949e-05/1.134, allocations: 130.7 kB / 0.548 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/1.134, allocations: 3.906 kB / 0.548 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.34e-05/1.134, allocations: 3.125 kB / 0.548 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.134, allocations: 0 / 0.548 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.134, allocations: 0 / 0.548 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/1.134, allocations: 3.797 kB / 0.5481 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.448e-05/1.134, allocations: 157.6 kB / 0.5482 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.134, allocations: 0 / 0.5482 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-06/1.134, allocations: 3.906 kB / 0.5482 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.134, allocations: 0 / 0.5482 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/1.134, allocations: 3.938 kB / 0.5482 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.134, allocations: 4 kB / 0.5482 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.134, allocations: 0 / 0.5482 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.9e-05/1.134, allocations: 93.95 kB / 0.5483 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/1.134, allocations: 77.11 kB / 0.5484 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/1.134, allocations: 0 / 0.5484 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.19e-05/1.134, allocations: 0 / 0.5484 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/1.134, allocations: 7.75 kB / 0.5484 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/1.134, allocations: 7.156 kB / 0.5484 GB, free: 109.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.786e-05/1.134, allocations: 79.28 kB / 0.5485 GB, free: 109.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.134, allocations: 0 / 0.5485 GB, free: 109.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005205/1.135, allocations: 78.61 kB / 0.5485 GB, free: 109.2 MB / 458.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.0007407/1.136, allocations: 0.741 MB / 0.5493 GB, free: 108.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.776e-05/1.136, allocations: 62.45 kB / 0.5493 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.136, allocations: 0 / 0.5493 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.582e-05/1.136, allocations: 55.31 kB / 0.5494 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.921e-05/1.136, allocations: 3.938 kB / 0.5494 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/1.136, allocations: 123.9 kB / 0.5495 GB, free: 108.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/1.136, allocations: 0.6729 MB / 0.5502 GB, free: 107.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.201e-06/1.136, allocations: 3.906 kB / 0.5502 GB, free: 107.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/1.136, allocations: 7.438 kB / 0.5502 GB, free: 107.6 MB / 458.7 MB Notification: Performance of SimCode: time 6.52e-07/1.136, allocations: 0 / 0.5502 GB, free: 107.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/1.157, allocations: 2.423 MB / 0.5525 GB, free: 107.3 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/1.157, allocations: 180.4 kB / 0.5527 GB, free: 107.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.476, allocations: 0 / 0.5527 GB, free: 107.1 MB / 458.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