Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.089/2.089, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.13e-05, allocations: 0 / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 48.7 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.5524, allocations: 74.01 MB / 390.3 MB, free: 2.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.5528, allocations: 73.83 kB / 390.4 MB, free: 2.301 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0189/0.5717, allocations: 5.286 MB / 395.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.5717, allocations: 0 / 395.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.5718, allocations: 10.52 kB / 395.7 MB, free: 13.55 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.0008319/0.5726, allocations: 0.5767 MB / 396.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.5727, allocations: 8.031 kB / 396.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.5728, allocations: 46.81 kB / 396.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.5735, allocations: 321.5 kB / 396.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.5735, allocations: 0 / 396.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.5735, allocations: 4 kB / 396.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.986e-05/0.5737, allocations: 14.19 kB / 396.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.5738, allocations: 49.19 kB / 396.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5738, allocations: 0 / 396.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.5738, allocations: 3.938 kB / 396.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.5738, allocations: 0 / 396.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.5746, allocations: 405 kB / 397.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.172e-05/0.5747, allocations: 37.33 kB / 397.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.5748, allocations: 12.17 kB / 397.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.5748, allocations: 8.078 kB / 397.2 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.5748, allocations: 30.56 kB / 397.2 MB, free: 12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.368e-06/0.5748, allocations: 0 / 397.2 MB, free: 12 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007914/0.5756, allocations: 219.8 kB / 397.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.5757, allocations: 55.41 kB / 397.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.5774, allocations: 0.7396 MB / 398.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.5775, allocations: 25.7 kB / 398.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.5777, allocations: 231.8 kB / 398.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.5777, allocations: 27.02 kB / 398.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.5778, allocations: 0 / 398.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.5779, allocations: 314.8 kB / 398.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.578, allocations: 14.19 kB / 398.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.941e-05/0.578, allocations: 18 kB / 398.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.66e-05/0.5781, allocations: 22.67 kB / 398.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5781, allocations: 0 / 398.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002029/0.5783, allocations: 71.19 kB / 398.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.5784, allocations: 33.7 kB / 398.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5784, allocations: 0 / 398.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.5785, allocations: 0 / 398.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.5787, allocations: 27.94 kB / 399 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5787, allocations: 0 / 399 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.5789, allocations: 15.98 kB / 399 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.5789, allocations: 4 kB / 399 MB, free: 10.45 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 (8): * Single equations (assignments): 7 * 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 9.685e-05/0.579, allocations: 101 kB / 399.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000271/0.5793, allocations: 115.8 kB / 399.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.5794, allocations: 35.53 kB / 399.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.5798, allocations: 124.2 kB / 399.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5798, allocations: 8 kB / 399.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5798, allocations: 0 / 399.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5798, allocations: 4.125 kB / 399.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.5809, allocations: 0.5526 MB / 399.9 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.5809, allocations: 7.984 kB / 399.9 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.5811, allocations: 23.98 kB / 399.9 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.5811, allocations: 3.953 kB / 399.9 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.5812, allocations: 4 kB / 399.9 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5812, allocations: 4 kB / 400 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5812, allocations: 3.938 kB / 400 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.5815, allocations: 204.1 kB / 400.2 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.5818, allocations: 156.3 kB / 400.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.702e-05/0.5819, allocations: 7.953 kB / 400.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.5821, allocations: 15.98 kB / 400.3 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.5822, allocations: 11.05 kB / 400.3 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.5822, allocations: 0 / 400.3 MB, free: 9.113 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001074/0.5833, allocations: 0.5944 MB / 400.9 MB, free: 8.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5833, allocations: 0 / 400.9 MB, free: 8.688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000522/0.5838, allocations: 54.98 kB / 401 MB, free: 8.637 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 (7): * Single equations (assignments): 7 * 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.001277/0.5851, allocations: 0.8401 MB / 401.8 MB, free: 7.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.5854, allocations: 100.3 kB / 401.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5854, allocations: 0 / 401.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.5855, allocations: 22.56 kB / 402 MB, free: 7.711 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.5859, allocations: 24.27 kB / 402 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.5881, allocations: 0.8607 MB / 402.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.5887, allocations: 0.8243 MB / 403.7 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.5889, allocations: 101.8 kB / 403.8 MB, free: 6.012 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5889, allocations: 0 / 403.8 MB, free: 6.012 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.458/3.047, allocations: 6.985 MB / 410.7 MB, free: 15.05 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test3_res.mat does not exist to compare? outputFormat=mat