Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestPolynomials",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.714/2.714, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.801e-05/2.81e-05, allocations: 4 kB / 299.5 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4173, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7561/1.173, allocations: 191.8 MB / 0.5335 GB, free: 13.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/1.174, allocations: 66.91 kB / 0.5335 GB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03778/1.211, allocations: 6.925 MB / 0.5403 GB, free: 7.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.212, allocations: 0 / 0.5403 GB, free: 7.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/1.212, allocations: 0 / 0.5403 GB, free: 7.969 MB / 394.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.0006125/1.212, allocations: 408.4 kB / 0.5407 GB, free: 7.523 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.515e-05/1.212, allocations: 8.031 kB / 0.5407 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/1.212, allocations: 30.56 kB / 0.5407 GB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/1.212, allocations: 7.875 kB / 0.5407 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/1.213, allocations: 163.1 kB / 0.5409 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/1.213, allocations: 4 kB / 0.5409 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/1.213, allocations: 0 / 0.5409 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.639e-05/1.213, allocations: 0 / 0.5409 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.715e-05/1.213, allocations: 29.7 kB / 0.5409 GB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.213, allocations: 7.953 kB / 0.5409 GB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/1.213, allocations: 0 / 0.5409 GB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/1.213, allocations: 0 / 0.5409 GB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/1.213, allocations: 122.2 kB / 0.541 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.903e-05/1.213, allocations: 26.11 kB / 0.541 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/1.213, allocations: 4.859 kB / 0.5411 GB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/1.213, allocations: 0 / 0.5411 GB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/1.213, allocations: 64.25 kB / 0.5411 GB, free: 6.949 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.844e-06/1.213, allocations: 3.938 kB / 0.5411 GB, free: 6.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000216/1.213, allocations: 33.77 kB / 0.5412 GB, free: 6.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/1.213, allocations: 77.11 kB / 0.5412 GB, free: 6.812 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.846e-05/1.213, allocations: 88.88 kB / 0.5413 GB, free: 6.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/1.213, allocations: 25.7 kB / 0.5413 GB, free: 6.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.97e-05/1.213, allocations: 80.14 kB / 0.5414 GB, free: 6.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/1.214, allocations: 0 / 0.5414 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/1.214, allocations: 32 / 0.5414 GB, free: 6.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.202e-05/1.214, allocations: 322.8 kB / 0.5417 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/1.214, allocations: 3.984 kB / 0.5417 GB, free: 6.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/1.214, allocations: 0 / 0.5417 GB, free: 6.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.176e-05/1.214, allocations: 3.938 kB / 0.5417 GB, free: 6.277 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.214, allocations: 0 / 0.5417 GB, free: 6.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.36e-05/1.214, allocations: 33.7 kB / 0.5418 GB, free: 6.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/1.214, allocations: 29.7 kB / 0.5418 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.214, allocations: 4 kB / 0.5418 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.214, allocations: 8.094 kB / 0.5418 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-06/1.214, allocations: 0 / 0.5418 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.214, allocations: 0 / 0.5418 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/1.214, allocations: 3.984 kB / 0.5418 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/1.214, allocations: 0 / 0.5418 GB, free: 6.188 MB / 394.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 7.53e-05/1.214, allocations: 138 kB / 0.5419 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/1.214, allocations: 3.938 kB / 0.5419 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/1.214, allocations: 3.75 kB / 0.5419 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/1.214, allocations: 0 / 0.5419 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.214, allocations: 4 kB / 0.5419 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.214, allocations: 0 / 0.5419 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.801e-05/1.214, allocations: 134.2 kB / 0.5421 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.214, allocations: 0 / 0.5421 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/1.214, allocations: 0 / 0.5421 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/1.214, allocations: 0 / 0.5421 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/1.214, allocations: 0 / 0.5421 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.214, allocations: 0 / 0.5421 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.214, allocations: 0 / 0.5421 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/1.214, allocations: 76.39 kB / 0.5421 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/1.215, allocations: 77.11 kB / 0.5422 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/1.215, allocations: 0 / 0.5422 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/1.215, allocations: 0 / 0.5422 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/1.215, allocations: 0 / 0.5422 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/1.215, allocations: 4 kB / 0.5422 GB, free: 5.676 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.278e-05/1.215, allocations: 79.28 kB / 0.5423 GB, free: 5.598 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.215, allocations: 0 / 0.5423 GB, free: 5.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006591/1.215, allocations: 83.36 kB / 0.5424 GB, free: 5.52 MB / 394.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.001085/1.216, allocations: 0.7279 MB / 0.5431 GB, free: 4.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/1.217, allocations: 55.41 kB / 0.5431 GB, free: 4.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.217, allocations: 0 / 0.5431 GB, free: 4.715 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/1.217, allocations: 51.41 kB / 0.5432 GB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/1.217, allocations: 4.703 kB / 0.5432 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/1.217, allocations: 120.8 kB / 0.5433 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/1.217, allocations: 0.6768 MB / 0.544 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.344e-06/1.217, allocations: 0 / 0.544 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/1.217, allocations: 11.56 kB / 0.544 GB, free: 3.781 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/1.217, allocations: 0 / 0.544 GB, free: 3.781 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06052/1.278, allocations: 2.204 MB / 0.5461 GB, free: 1.582 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004844/1.279, allocations: 164.5 kB / 0.5463 GB, free: 1.387 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.857/4.136, allocations: 4 kB / 0.5463 GB, free: 1.383 MB / 394.7 MB