Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.048/2.048, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.467e-05/2.463e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4041/0.5129, allocations: 74.03 MB / 390.3 MB, free: 2.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.5132, allocations: 69.59 kB / 390.4 MB, free: 2.484 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01785/0.5311, allocations: 5.139 MB / 395.5 MB, free: 13.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5312, allocations: 4 kB / 395.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.856e-05/0.5312, allocations: 8 kB / 395.5 MB, free: 13.86 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007351/0.5319, allocations: 0.5629 MB / 396.1 MB, free: 13.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.532, allocations: 11.97 kB / 396.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.902e-05/0.5321, allocations: 43.44 kB / 396.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.5327, allocations: 320.3 kB / 396.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.5328, allocations: 4 kB / 396.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.5328, allocations: 0 / 396.5 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.076e-05/0.5329, allocations: 14.62 kB / 396.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.533, allocations: 48.81 kB / 396.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.5331, allocations: 0 / 396.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.5331, allocations: 0 / 396.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5331, allocations: 0 / 396.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.5338, allocations: 400.1 kB / 396.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.534, allocations: 46.11 kB / 397 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.5341, allocations: 15.8 kB / 397 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.5341, allocations: 0 / 397 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.5341, allocations: 30.56 kB / 397 MB, free: 12.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.5342, allocations: 0 / 397 MB, free: 12.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005732/0.5347, allocations: 184.8 kB / 397.2 MB, free: 12.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.5348, allocations: 59.41 kB / 397.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.5365, allocations: 0.7314 MB / 398 MB, free: 11.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5365, allocations: 29.7 kB / 398 MB, free: 11.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.5367, allocations: 239.6 kB / 398.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.5367, allocations: 11.81 kB / 398.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.5368, allocations: 0 / 398.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5369, allocations: 314.8 kB / 398.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.5369, allocations: 14.88 kB / 398.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.537, allocations: 11 kB / 398.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.537, allocations: 18 kB / 398.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5371, allocations: 0 / 398.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001534/0.5372, allocations: 63.94 kB / 398.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.5373, allocations: 29.7 kB / 398.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5373, allocations: 0 / 398.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5373, allocations: 0 / 398.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.5375, allocations: 23.92 kB / 398.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5375, allocations: 3.953 kB / 398.7 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.5376, allocations: 12 kB / 398.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.5376, allocations: 0 / 398.8 MB, free: 10.82 MB / 330.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 7.971e-05/0.5377, allocations: 105 kB / 398.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002154/0.5379, allocations: 92.41 kB / 398.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.5381, allocations: 43.44 kB / 399 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.5384, allocations: 117.6 kB / 399.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5384, allocations: 0 / 399.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5384, allocations: 0 / 399.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5384, allocations: 0 / 399.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009502/0.5394, allocations: 0.5382 MB / 399.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5394, allocations: 0 / 399.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.5395, allocations: 12 kB / 399.7 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.5395, allocations: 3.953 kB / 399.7 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5396, allocations: 3.984 kB / 399.7 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5396, allocations: 0 / 399.7 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5396, allocations: 0 / 399.7 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.5398, allocations: 193.9 kB / 399.8 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.5401, allocations: 155.2 kB / 400 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.5402, allocations: 3.953 kB / 400 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.5404, allocations: 19.92 kB / 400 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.5404, allocations: 3.938 kB / 400 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.5404, allocations: 4 kB / 400 MB, free: 9.559 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009205/0.5414, allocations: 0.5936 MB / 400.6 MB, free: 9.133 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5414, allocations: 0 / 400.6 MB, free: 9.133 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004646/0.5419, allocations: 63.38 kB / 400.7 MB, free: 9.074 MB / 330.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 (5): * Single equations (assignments): 5 * 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.001024/0.5429, allocations: 0.8339 MB / 401.5 MB, free: 8.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.5431, allocations: 87.09 kB / 401.6 MB, free: 8.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5431, allocations: 0 / 401.6 MB, free: 8.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.221e-05/0.5432, allocations: 15.81 kB / 401.6 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.5435, allocations: 23.84 kB / 401.6 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.5455, allocations: 0.8295 MB / 402.5 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.546, allocations: 0.8216 MB / 403.3 MB, free: 6.523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.5462, allocations: 107.8 kB / 403.4 MB, free: 6.488 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5463, allocations: 3.938 kB / 403.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.52/3.066, allocations: 6.812 MB / 410.2 MB, free: 15.7 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat does not exist to compare? outputFormat=mat