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.485/2.485, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.936e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.3998, allocations: 54.85 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.5559, allocations: 83.36 MB / 443.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.5562, allocations: 63.97 kB / 443.3 MB, free: 13.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06566/0.6219, allocations: 12.89 MB / 456.2 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.622, allocations: 0 / 456.2 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.622, allocations: 0 / 456.2 MB, free: 0.5312 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.0007213/0.6227, allocations: 451.9 kB / 456.6 MB, free: 40 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.6228, allocations: 8.031 kB / 456.6 MB, free: 32 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.201e-05/0.6229, allocations: 109.8 kB / 456.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.623, allocations: 75.28 kB / 456.8 MB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.6231, allocations: 242.3 kB / 457.1 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.6232, allocations: 154.6 kB / 457.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.6233, allocations: 154.6 kB / 457.4 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.043e-05/0.6233, allocations: 101 kB / 457.5 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.6234, allocations: 75.28 kB / 457.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.594e-05/0.6235, allocations: 150.6 kB / 457.7 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.908e-05/0.6235, allocations: 158.5 kB / 457.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.421e-05/0.6236, allocations: 154.5 kB / 458 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.6239, allocations: 442 kB / 458.4 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.926e-05/0.624, allocations: 169.1 kB / 458.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.6241, allocations: 86.86 kB / 458.7 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.6241, allocations: 79.27 kB / 458.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.913e-05/0.6242, allocations: 139.5 kB / 458.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.115e-06/0.6242, allocations: 0 / 458.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.811e-05/0.6243, allocations: 29.64 kB / 458.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/0.6244, allocations: 156.3 kB / 459.1 MB, free: 13.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.972e-05/0.6245, allocations: 89 kB / 459.1 MB, free: 13.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.6245, allocations: 25.7 kB / 459.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.6245, allocations: 84.14 kB / 459.3 MB, free: 13.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.6246, allocations: 0 / 459.3 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-07/0.6246, allocations: 0 / 459.3 MB, free: 13.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6247, allocations: 318.9 kB / 459.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.6247, allocations: 0 / 459.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/0.6247, allocations: 0 / 459.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.213e-05/0.6248, allocations: 87.25 kB / 459.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.047e-05/0.6248, allocations: 75.28 kB / 459.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.685e-05/0.6249, allocations: 33.62 kB / 459.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.625, allocations: 85 kB / 459.8 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/0.625, allocations: 75.28 kB / 459.9 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.152e-05/0.6251, allocations: 150.6 kB / 460.1 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.901e-05/0.6251, allocations: 79.22 kB / 460.1 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.933e-05/0.6252, allocations: 158.6 kB / 460.3 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.713e-05/0.6253, allocations: 75.28 kB / 460.4 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.6253, allocations: 83.17 kB / 460.4 MB, free: 12.02 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.0001298/0.6255, allocations: 263.5 kB / 460.7 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.6256, allocations: 101 kB / 460.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.6256, allocations: 104.1 kB / 460.9 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-05/0.6257, allocations: 188.2 kB / 461.1 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-05/0.6258, allocations: 176.3 kB / 461.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.679e-05/0.6259, allocations: 181.2 kB / 461.4 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.6261, allocations: 401.1 kB / 461.8 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.56e-05/0.6262, allocations: 109 kB / 461.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.6262, allocations: 105 kB / 462 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.653e-05/0.6263, allocations: 188.2 kB / 462.2 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/0.6264, allocations: 176.3 kB / 462.4 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.337e-05/0.6265, allocations: 180.3 kB / 462.6 MB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.798e-05/0.6266, allocations: 180.8 kB / 462.7 MB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.6268, allocations: 311.8 kB / 463.1 MB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.6269, allocations: 182 kB / 463.2 MB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.627, allocations: 177 kB / 463.4 MB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.6271, allocations: 105.4 kB / 463.5 MB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.6272, allocations: 184.2 kB / 463.7 MB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.6272, allocations: 105 kB / 463.8 MB, free: 8.449 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.223e-05/0.6273, allocations: 79.33 kB / 463.9 MB, free: 8.371 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6273, allocations: 0 / 463.9 MB, free: 8.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009732/0.6283, allocations: 167.7 kB / 464 MB, free: 8.207 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.001709/0.63, allocations: 1.096 MB / 465.1 MB, free: 7.105 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.293e-05/0.6301, allocations: 4 kB / 465.1 MB, free: 7.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6301, allocations: 0 / 465.1 MB, free: 7.102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/0.6301, allocations: 0 / 465.1 MB, free: 7.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.6305, allocations: 0.5263 MB / 465.7 MB, free: 6.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007061/0.6312, allocations: 243.6 kB / 465.9 MB, free: 6.297 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.6315, allocations: 0.6731 MB / 466.6 MB, free: 5.598 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.714e-06/0.6315, allocations: 0 / 466.6 MB, free: 5.598 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.6315, allocations: 11.44 kB / 466.6 MB, free: 5.586 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.6315, allocations: 0 / 466.6 MB, free: 5.586 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.6628, allocations: 3.612 MB / 470.2 MB, free: 2.035 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003028/0.6631, allocations: 178.3 kB / 470.4 MB, free: 1.805 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.288/2.951, allocations: 0 / 470.4 MB, free: 1.805 MB / 394.7 MB