Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.42/2.42, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.367e-05/4.403e-05, allocations: 8.922 kB / 305 MB, free: 5.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4333, allocations: 54.85 MB / 359.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.6216, allocations: 83.35 MB / 443.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.6219, allocations: 61.16 kB / 443.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06521/0.6871, allocations: 12.89 MB / 456.1 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6872, allocations: 0 / 456.1 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.6872, allocations: 0 / 456.1 MB, free: 0.6523 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000704/0.6879, allocations: 457.8 kB / 456.6 MB, free: 160 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.688, allocations: 8.031 kB / 456.6 MB, free: 152 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.575e-05/0.688, allocations: 109.8 kB / 456.7 MB, free: 32 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.751e-05/0.6881, allocations: 75.28 kB / 456.8 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.6883, allocations: 242.3 kB / 457 MB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.6883, allocations: 154.6 kB / 457.2 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.338e-05/0.6884, allocations: 150.6 kB / 457.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.082e-05/0.6885, allocations: 105 kB / 457.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.6885, allocations: 75.28 kB / 457.5 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.529e-05/0.6886, allocations: 150.6 kB / 457.6 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-05/0.6887, allocations: 158.5 kB / 457.8 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.45e-05/0.6888, allocations: 158.5 kB / 458 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.6891, allocations: 446 kB / 458.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.6892, allocations: 165.1 kB / 458.5 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.6892, allocations: 80.14 kB / 458.6 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.6893, allocations: 75.28 kB / 458.7 MB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.677e-05/0.6894, allocations: 139.5 kB / 458.8 MB, free: 13.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.764e-06/0.6894, allocations: 0 / 458.8 MB, free: 13.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.932e-05/0.6895, allocations: 29.64 kB / 458.9 MB, free: 13.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/0.6896, allocations: 164.4 kB / 459 MB, free: 13.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.599e-05/0.6897, allocations: 86.22 kB / 459.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.6897, allocations: 29.7 kB / 459.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.6897, allocations: 84.14 kB / 459.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-06/0.6897, allocations: 0 / 459.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/0.6898, allocations: 0 / 459.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6899, allocations: 314.8 kB / 459.5 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-06/0.6899, allocations: 0 / 459.5 MB, free: 13.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.69, allocations: 4 kB / 459.5 MB, free: 13.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.754e-05/0.69, allocations: 75.28 kB / 459.6 MB, free: 12.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.741e-05/0.69, allocations: 79.22 kB / 459.7 MB, free: 12.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.203e-05/0.6901, allocations: 33.64 kB / 459.7 MB, free: 12.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.6902, allocations: 79.28 kB / 459.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/0.6902, allocations: 79.31 kB / 459.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.022e-05/0.6903, allocations: 159.3 kB / 460 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.403e-05/0.6904, allocations: 87.22 kB / 460.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.967e-05/0.6904, allocations: 150.6 kB / 460.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.16e-05/0.6905, allocations: 79.22 kB / 460.3 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.6906, allocations: 83.23 kB / 460.4 MB, free: 12.12 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001353/0.6907, allocations: 255.5 kB / 460.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.502e-05/0.6908, allocations: 108.9 kB / 460.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.375e-05/0.6909, allocations: 108.1 kB / 460.9 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-05/0.691, allocations: 185.3 kB / 461.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.852e-05/0.6911, allocations: 180.2 kB / 461.2 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.578e-05/0.6912, allocations: 184.3 kB / 461.4 MB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.6914, allocations: 405.1 kB / 461.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/0.6915, allocations: 101 kB / 461.9 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.6916, allocations: 105 kB / 462 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.56e-05/0.6916, allocations: 188.2 kB / 462.2 MB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/0.6917, allocations: 176.3 kB / 462.4 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.486e-05/0.6918, allocations: 188.2 kB / 462.6 MB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.729e-05/0.6919, allocations: 177.6 kB / 462.7 MB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.6921, allocations: 307.7 kB / 463 MB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.6922, allocations: 183.1 kB / 463.2 MB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-05/0.6923, allocations: 188.6 kB / 463.4 MB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.6924, allocations: 105 kB / 463.5 MB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.6925, allocations: 180.3 kB / 463.7 MB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.6926, allocations: 105 kB / 463.8 MB, free: 8.547 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.407e-05/0.6926, allocations: 79.3 kB / 463.8 MB, free: 8.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6926, allocations: 0 / 463.8 MB, free: 8.469 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009541/0.6936, allocations: 167.7 kB / 464 MB, free: 8.305 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001628/0.6952, allocations: 1.091 MB / 465.1 MB, free: 7.207 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.31e-05/0.6953, allocations: 7.938 kB / 465.1 MB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6953, allocations: 0 / 465.1 MB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.6953, allocations: 0 / 465.1 MB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.6957, allocations: 0.5263 MB / 465.6 MB, free: 6.668 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/0.6963, allocations: 246.2 kB / 465.9 MB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.6967, allocations: 0.6731 MB / 466.6 MB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.138e-05/0.6967, allocations: 3.984 kB / 466.6 MB, free: 5.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.6967, allocations: 11.44 kB / 466.6 MB, free: 5.676 MB / 394.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6967, allocations: 0 / 466.6 MB, free: 5.676 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.7313, allocations: 3.613 MB / 470.2 MB, free: 2.125 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/0.7317, allocations: 179.6 kB / 470.4 MB, free: 1.895 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/3.156, allocations: 0 / 470.4 MB, free: 1.895 MB / 394.7 MB