Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_TestNonlinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.888e-05, allocations: 4 kB / 305 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4109, allocations: 54.85 MB / 359.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.6128, allocations: 83.36 MB / 443.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.6132, allocations: 64.75 kB / 443.3 MB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07901/0.6922, allocations: 12.88 MB / 456.2 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6922, allocations: 0 / 456.2 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.6923, allocations: 4 kB / 456.2 MB, free: 0.5859 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.0006811/0.693, allocations: 443.9 kB / 456.6 MB, free: 104 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.693, allocations: 12.03 kB / 456.6 MB, free: 92 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.667e-05/0.6931, allocations: 113.8 kB / 456.7 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.6932, allocations: 75.28 kB / 456.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.6933, allocations: 242.3 kB / 457 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.727e-05/0.6934, allocations: 150.6 kB / 457.2 MB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.6935, allocations: 158.6 kB / 457.3 MB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.159e-05/0.6935, allocations: 101.8 kB / 457.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/0.6936, allocations: 75.28 kB / 457.5 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.6936, allocations: 150.6 kB / 457.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.17e-05/0.6937, allocations: 158.5 kB / 457.8 MB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.71e-05/0.6938, allocations: 154.6 kB / 458 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.6941, allocations: 449.9 kB / 458.4 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.662e-05/0.6942, allocations: 165.1 kB / 458.6 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.47e-05/0.6942, allocations: 80.19 kB / 458.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.6943, allocations: 87.28 kB / 458.7 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.157e-05/0.6944, allocations: 132.6 kB / 458.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.693e-06/0.6944, allocations: 0 / 458.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.057e-05/0.6945, allocations: 29.7 kB / 458.9 MB, free: 13.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.6946, allocations: 160.3 kB / 459 MB, free: 13.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.784e-05/0.6946, allocations: 85 kB / 459.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.6946, allocations: 25.7 kB / 459.1 MB, free: 13.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.6947, allocations: 158.6 kB / 459.3 MB, free: 13.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.6948, allocations: 0 / 459.3 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-07/0.6948, allocations: 0 / 459.3 MB, free: 13.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6949, allocations: 310.8 kB / 459.6 MB, free: 12.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-06/0.6949, allocations: 0 / 459.6 MB, free: 12.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-05/0.6949, allocations: 5.484 kB / 459.6 MB, free: 12.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.695, allocations: 79.28 kB / 459.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.547e-05/0.695, allocations: 79.22 kB / 459.8 MB, free: 12.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.121e-05/0.6951, allocations: 25.7 kB / 459.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/0.6952, allocations: 91.31 kB / 459.9 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.715e-05/0.6952, allocations: 83.22 kB / 460 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.458e-05/0.6953, allocations: 150.6 kB / 460.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.145e-05/0.6953, allocations: 75.28 kB / 460.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.174e-05/0.6954, allocations: 154.5 kB / 460.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.6955, allocations: 83.27 kB / 460.4 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.6955, allocations: 83.23 kB / 460.5 MB, free: 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.0001351/0.6957, allocations: 257.4 kB / 460.7 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.6958, allocations: 104.9 kB / 460.8 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.6958, allocations: 104.1 kB / 460.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-05/0.6959, allocations: 180.3 kB / 461.1 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.177e-05/0.696, allocations: 192.2 kB / 461.3 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.444e-05/0.6961, allocations: 177.2 kB / 461.5 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.6963, allocations: 397.2 kB / 461.9 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-05/0.6964, allocations: 112.9 kB / 462 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.6965, allocations: 105 kB / 462.1 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.537e-05/0.6965, allocations: 176.3 kB / 462.3 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.21e-05/0.6966, allocations: 184.2 kB / 462.4 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.945e-05/0.6967, allocations: 180.3 kB / 462.6 MB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.141e-05/0.6968, allocations: 180.3 kB / 462.8 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.697, allocations: 308.3 kB / 463.1 MB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.697, allocations: 182.1 kB / 463.3 MB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.565e-05/0.6971, allocations: 185.6 kB / 463.4 MB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.6973, allocations: 109.4 kB / 463.6 MB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.6973, allocations: 176.3 kB / 463.7 MB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.6974, allocations: 104.9 kB / 463.8 MB, free: 8.438 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.405e-05/0.6974, allocations: 79.33 kB / 463.9 MB, free: 8.359 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6974, allocations: 4 kB / 463.9 MB, free: 8.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009569/0.6984, allocations: 167.7 kB / 464.1 MB, free: 8.191 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.001926/0.7004, allocations: 1.086 MB / 465.2 MB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.198e-05/0.7004, allocations: 7.922 kB / 465.2 MB, free: 7.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7005, allocations: 4 kB / 465.2 MB, free: 7.086 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.7005, allocations: 0 / 465.2 MB, free: 7.086 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.7008, allocations: 0.5238 MB / 465.7 MB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006262/0.7015, allocations: 275.8 kB / 466 MB, free: 6.246 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.7018, allocations: 0.6692 MB / 466.6 MB, free: 5.551 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.7018, allocations: 11.44 kB / 466.6 MB, free: 5.539 MB / 394.7 MB Notification: Performance of SimCode: time 9.01e-07/0.7018, allocations: 0 / 466.6 MB, free: 5.539 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.586/3.288, allocations: 3.002 MB / 469.6 MB, free: 2.539 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinear_res.mat does not exist to compare? outputFormat=mat