Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.591/2.591, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.601e-05/3.608e-05, allocations: 0 / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4892, allocations: 58.84 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.7149, allocations: 88.23 MB / 470.5 MB, free: 4.27 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.7153, allocations: 59.97 kB / 470.6 MB, free: 4.211 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.09014/0.8054, allocations: 12.92 MB / 483.5 MB, free: 7.27 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.034e-06/0.8055, allocations: 0 / 483.5 MB, free: 7.27 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.8055, allocations: 4 kB / 483.5 MB, free: 7.266 MB / 410.8 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.0009093/0.8064, allocations: 455.9 kB / 484 MB, free: 6.77 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.939e-05/0.8065, allocations: 8.031 kB / 484 MB, free: 6.762 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.758e-05/0.8066, allocations: 105.8 kB / 484.1 MB, free: 6.648 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.8067, allocations: 79.28 kB / 484.2 MB, free: 6.57 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.8069, allocations: 238.3 kB / 484.4 MB, free: 6.297 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.807, allocations: 154.6 kB / 484.5 MB, free: 6.145 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.8071, allocations: 150.6 kB / 484.7 MB, free: 5.996 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.431e-05/0.8072, allocations: 105 kB / 484.8 MB, free: 5.887 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.471e-05/0.8073, allocations: 75.28 kB / 484.9 MB, free: 5.812 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.781e-05/0.8074, allocations: 158.5 kB / 485 MB, free: 5.656 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.541e-05/0.8075, allocations: 158.5 kB / 485.2 MB, free: 5.5 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.042e-05/0.8076, allocations: 150.6 kB / 485.3 MB, free: 5.352 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.8081, allocations: 441.9 kB / 485.7 MB, free: 4.871 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.8083, allocations: 169.1 kB / 485.9 MB, free: 4.695 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.626e-05/0.8084, allocations: 80.14 kB / 486 MB, free: 4.613 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.8085, allocations: 83.28 kB / 486.1 MB, free: 4.531 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.528e-05/0.8086, allocations: 135.5 kB / 486.2 MB, free: 4.383 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 4.99e-06/0.8086, allocations: 0 / 486.2 MB, free: 4.383 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.0001169/0.8087, allocations: 29.64 kB / 486.2 MB, free: 4.348 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.8089, allocations: 156.4 kB / 486.4 MB, free: 4.176 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.874e-05/0.8089, allocations: 89 kB / 486.5 MB, free: 4.082 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.809, allocations: 29.7 kB / 486.5 MB, free: 4.047 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.809, allocations: 80.19 kB / 486.6 MB, free: 3.965 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.8091, allocations: 0 / 486.6 MB, free: 3.965 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-07/0.8091, allocations: 0 / 486.6 MB, free: 3.965 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.8093, allocations: 318.8 kB / 486.9 MB, free: 3.645 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-06/0.8093, allocations: 3.938 kB / 486.9 MB, free: 3.641 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.8093, allocations: 4 kB / 486.9 MB, free: 3.637 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.8094, allocations: 79.23 kB / 487 MB, free: 3.559 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.813e-05/0.8094, allocations: 79.31 kB / 487.1 MB, free: 3.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001144/0.8096, allocations: 33.64 kB / 487.1 MB, free: 3.441 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/0.8096, allocations: 79.91 kB / 487.2 MB, free: 3.363 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-05/0.8097, allocations: 75.28 kB / 487.2 MB, free: 3.289 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-05/0.8098, allocations: 154.5 kB / 487.4 MB, free: 3.137 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.077e-05/0.8099, allocations: 83.22 kB / 487.5 MB, free: 3.055 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.02e-05/0.8099, allocations: 150.6 kB / 487.6 MB, free: 2.906 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.8101, allocations: 79.28 kB / 487.7 MB, free: 2.828 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.8102, allocations: 79.22 kB / 487.8 MB, free: 2.75 MB / 410.8 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.000174/0.8104, allocations: 263.5 kB / 488 MB, free: 2.484 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.8105, allocations: 101 kB / 488.1 MB, free: 2.379 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.945e-05/0.8106, allocations: 112.1 kB / 488.2 MB, free: 2.262 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-05/0.8107, allocations: 184.2 kB / 488.4 MB, free: 2.074 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.893e-05/0.8108, allocations: 176.3 kB / 488.6 MB, free: 1.895 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.794e-05/0.8109, allocations: 176.3 kB / 488.8 MB, free: 1.715 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.8113, allocations: 405.2 kB / 489.2 MB, free: 1.262 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.527e-05/0.8113, allocations: 108.9 kB / 489.3 MB, free: 1.148 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.8114, allocations: 101 kB / 489.4 MB, free: 1.043 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.8115, allocations: 192.2 kB / 489.5 MB, free: 0.8477 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.863e-05/0.8116, allocations: 181.2 kB / 489.7 MB, free: 0.6641 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.011e-05/0.8117, allocations: 180.2 kB / 489.9 MB, free: 492 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.325e-05/0.8118, allocations: 180.2 kB / 490.1 MB, free: 304 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.8121, allocations: 303.8 kB / 490.4 MB, free: 15.98 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.8122, allocations: 194 kB / 490.6 MB, free: 15.76 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.8124, allocations: 180.3 kB / 490.7 MB, free: 15.58 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.8125, allocations: 105.3 kB / 490.8 MB, free: 15.47 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.8127, allocations: 180.2 kB / 491 MB, free: 15.29 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.8127, allocations: 105 kB / 491.1 MB, free: 15.18 MB / 426.8 MB Notification: Performance of sorting global known variables: time 4.669e-05/0.8128, allocations: 83.33 kB / 491.2 MB, free: 15.09 MB / 426.8 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8128, allocations: 0 / 491.2 MB, free: 15.09 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.001438/0.8143, allocations: 167.7 kB / 491.4 MB, free: 14.93 MB / 426.8 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.002135/0.8164, allocations: 1.089 MB / 492.5 MB, free: 13.83 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 6.369e-05/0.8165, allocations: 0 / 492.5 MB, free: 13.83 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8165, allocations: 0 / 492.5 MB, free: 13.83 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.446e-06/0.8165, allocations: 0 / 492.5 MB, free: 13.83 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.817, allocations: 0.5301 MB / 493 MB, free: 13.29 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008292/0.8179, allocations: 237.7 kB / 493.2 MB, free: 13.02 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.8182, allocations: 0.677 MB / 493.9 MB, free: 12.32 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 8.747e-06/0.8182, allocations: 0 / 493.9 MB, free: 12.32 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.8183, allocations: 7.438 kB / 493.9 MB, free: 12.31 MB / 426.8 MB Notification: Performance of SimCode: time 1.182e-06/0.8183, allocations: 0 / 493.9 MB, free: 12.31 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.8492, allocations: 3.599 MB / 497.5 MB, free: 8.777 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003005/0.8495, allocations: 174.3 kB / 497.7 MB, free: 8.555 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/3.426, allocations: 4.062 kB / 497.7 MB, free: 8.551 MB / 426.8 MB