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.55/2.55, allocations: 235 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.77e-05, allocations: 4 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3891, allocations: 54.84 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.5457, allocations: 82.69 MB / 437 MB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.546, allocations: 63.97 kB / 437.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06663/0.6127, allocations: 12.85 MB / 449.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6127, allocations: 4 kB / 449.9 MB, free: 2.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.6127, allocations: 3.938 kB / 449.9 MB, free: 2.57 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.0007844/0.6135, allocations: 447.9 kB / 450.4 MB, free: 2.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.6136, allocations: 8.031 kB / 450.4 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.499e-05/0.6137, allocations: 83.23 kB / 450.5 MB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.6138, allocations: 238.3 kB / 450.7 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.6139, allocations: 150.6 kB / 450.8 MB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.07e-05/0.614, allocations: 154.5 kB / 451 MB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.428e-05/0.6141, allocations: 154.6 kB / 451.1 MB, free: 1.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.376e-05/0.6141, allocations: 105 kB / 451.2 MB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.6142, allocations: 79.28 kB / 451.3 MB, free: 1.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.453e-05/0.6143, allocations: 154.6 kB / 451.5 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.979e-05/0.6143, allocations: 154.5 kB / 451.6 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.6146, allocations: 422.5 kB / 452 MB, free: 332 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.426e-05/0.6147, allocations: 169.1 kB / 452.2 MB, free: 152 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/0.6148, allocations: 80.14 kB / 452.3 MB, free: 68 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-05/0.6149, allocations: 87.27 kB / 452.4 MB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.764e-05/0.6149, allocations: 135.5 kB / 452.5 MB, free: 15.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.615, allocations: 0 / 452.5 MB, free: 15.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.76e-05/0.6151, allocations: 25.7 kB / 452.5 MB, free: 15.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.6151, allocations: 77.11 kB / 452.6 MB, free: 15.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.078e-05/0.6152, allocations: 85 kB / 452.7 MB, free: 15.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.6152, allocations: 29.7 kB / 452.7 MB, free: 15.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.017e-05/0.6152, allocations: 80.14 kB / 452.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.6153, allocations: 3.938 kB / 452.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-07/0.6153, allocations: 0 / 452.8 MB, free: 15.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6154, allocations: 318.8 kB / 453.1 MB, free: 15.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-06/0.6155, allocations: 0 / 453.1 MB, free: 15.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.6155, allocations: 4 kB / 453.1 MB, free: 15.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.3e-05/0.6155, allocations: 75.28 kB / 453.2 MB, free: 15.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.354e-05/0.6156, allocations: 75.28 kB / 453.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.874e-05/0.6157, allocations: 37.62 kB / 453.3 MB, free: 14.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.6157, allocations: 79.28 kB / 453.4 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.665e-05/0.6158, allocations: 79.33 kB / 453.4 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.409e-05/0.6159, allocations: 162.5 kB / 453.6 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.088e-05/0.6159, allocations: 75.28 kB / 453.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.258e-05/0.616, allocations: 158.5 kB / 453.8 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.6161, allocations: 75.28 kB / 453.9 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.6161, allocations: 75.28 kB / 454 MB, free: 14.29 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.000145/0.6163, allocations: 267.5 kB / 454.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.109e-05/0.6164, allocations: 134.6 kB / 454.4 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.6165, allocations: 101 kB / 454.5 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.6165, allocations: 108.7 kB / 454.6 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.713e-05/0.6166, allocations: 188.1 kB / 454.8 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.03e-05/0.6167, allocations: 180.3 kB / 454.9 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-05/0.6168, allocations: 184.3 kB / 455.1 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.617, allocations: 381.7 kB / 455.5 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.952e-05/0.6171, allocations: 109 kB / 455.6 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.6172, allocations: 101 kB / 455.7 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.972e-05/0.6173, allocations: 181.1 kB / 455.9 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.6173, allocations: 180.3 kB / 456.1 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.657e-05/0.6174, allocations: 188.2 kB / 456.2 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.387e-05/0.6175, allocations: 180.3 kB / 456.4 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.6177, allocations: 307.7 kB / 456.7 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.061e-05/0.6178, allocations: 178.1 kB / 456.9 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.931e-05/0.6179, allocations: 184.7 kB / 457.1 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.618, allocations: 109 kB / 457.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.6181, allocations: 180.2 kB / 457.3 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.6181, allocations: 105 kB / 457.4 MB, free: 10.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.583e-05/0.6182, allocations: 75.28 kB / 457.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6182, allocations: 0 / 457.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001023/0.6192, allocations: 167.7 kB / 457.7 MB, free: 10.36 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.001823/0.6211, allocations: 1.092 MB / 458.8 MB, free: 9.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.554e-05/0.6212, allocations: 3.938 kB / 458.8 MB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6212, allocations: 0 / 458.8 MB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.6212, allocations: 11.88 kB / 458.8 MB, free: 9.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.6216, allocations: 0.5261 MB / 459.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008063/0.6224, allocations: 242.2 kB / 459.6 MB, free: 8.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.6228, allocations: 0.6729 MB / 460.2 MB, free: 7.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.758e-06/0.6228, allocations: 0 / 460.2 MB, free: 7.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.6228, allocations: 7.438 kB / 460.2 MB, free: 7.723 MB / 394.7 MB Notification: Performance of SimCode: time 2.275e-06/0.6228, allocations: 0 / 460.2 MB, free: 7.723 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04265/0.6655, allocations: 3.301 MB / 463.5 MB, free: 4.43 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003182/0.6659, allocations: 157 kB / 463.7 MB, free: 4.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/3.207, allocations: 0 / 463.7 MB, free: 4.23 MB / 394.7 MB