Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.018/2.018, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.761e-05, allocations: 0 / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 48.7 MB / 316.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4064/0.5168, allocations: 75.21 MB / 391.5 MB, free: 1.105 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.5172, allocations: 66.77 kB / 391.6 MB, free: 1.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02625/0.5434, allocations: 6.046 MB / 397.6 MB, free: 12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5435, allocations: 0 / 397.6 MB, free: 12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.679e-05/0.5435, allocations: 4 kB / 397.6 MB, free: 12 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009326/0.5445, allocations: 0.6892 MB / 398.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.5446, allocations: 12.03 kB / 398.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.5447, allocations: 39.48 kB / 398.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.5453, allocations: 291.1 kB / 398.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.5453, allocations: 4 kB / 398.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.5454, allocations: 8 kB / 398.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002145/0.5456, allocations: 59.05 kB / 398.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.5458, allocations: 88.8 kB / 398.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.5459, allocations: 7.844 kB / 398.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.5459, allocations: 0 / 398.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.5459, allocations: 11.95 kB / 398.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008908/0.5468, allocations: 439.9 kB / 399.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.547, allocations: 77 kB / 399.3 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.48e-05/0.5471, allocations: 36.59 kB / 399.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.5472, allocations: 4 kB / 399.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.5472, allocations: 38.19 kB / 399.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 3.246e-06/0.5472, allocations: 0 / 399.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001124/0.5484, allocations: 308.2 kB / 399.7 MB, free: 9.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.5484, allocations: 55.41 kB / 399.8 MB, free: 9.875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007125/0.5492, allocations: 398.5 kB / 400.2 MB, free: 9.559 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.5492, allocations: 33.7 kB / 400.2 MB, free: 9.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.5494, allocations: 216.4 kB / 400.4 MB, free: 9.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.5494, allocations: 58.92 kB / 400.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.5495, allocations: 0 / 400.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5496, allocations: 322.8 kB / 400.8 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.5497, allocations: 43.19 kB / 400.8 MB, free: 8.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.5499, allocations: 46.88 kB / 400.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.55, allocations: 59.78 kB / 400.9 MB, free: 8.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5501, allocations: 0 / 400.9 MB, free: 8.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004268/0.5505, allocations: 169 kB / 401.1 MB, free: 8.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.5506, allocations: 143.8 kB / 401.2 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5507, allocations: 0 / 401.2 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.5507, allocations: 0 / 401.2 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.551, allocations: 35.92 kB / 401.3 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.551, allocations: 4 kB / 401.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.5512, allocations: 11.98 kB / 401.3 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.5513, allocations: 11.88 kB / 401.3 MB, free: 8.523 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0001023/0.5514, allocations: 108.9 kB / 401.4 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004314/0.5518, allocations: 169.2 kB / 401.6 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.5519, allocations: 31.62 kB / 401.6 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006188/0.5526, allocations: 210.1 kB / 401.8 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.5526, allocations: 4 kB / 401.8 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5526, allocations: 0 / 401.8 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.5526, allocations: 3.953 kB / 401.8 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.5538, allocations: 0.5766 MB / 402.4 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.5538, allocations: 7.922 kB / 402.4 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.5541, allocations: 39.92 kB / 402.4 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-06/0.5541, allocations: 0 / 402.4 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.5542, allocations: 3.953 kB / 402.4 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.5542, allocations: 4 kB / 402.4 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5542, allocations: 4 kB / 402.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.5547, allocations: 262.5 kB / 402.7 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.5549, allocations: 127.9 kB / 402.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.5549, allocations: 0 / 402.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5551, allocations: 7.953 kB / 402.8 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.5552, allocations: 11.98 kB / 402.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.5552, allocations: 7.984 kB / 402.8 MB, free: 7.078 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005374/0.5558, allocations: 326.7 kB / 403.2 MB, free: 6.828 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5558, allocations: 3.938 kB / 403.2 MB, free: 6.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000613/0.5564, allocations: 91.02 kB / 403.3 MB, free: 6.738 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 (17): * Single equations (assignments): 17 * 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.002211/0.5586, allocations: 1.199 MB / 404.5 MB, free: 5.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005833/0.5593, allocations: 390.3 kB / 404.8 MB, free: 5.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5593, allocations: 3.938 kB / 404.8 MB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.5594, allocations: 62.55 kB / 404.9 MB, free: 5.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.56, allocations: 31.89 kB / 404.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.5617, allocations: 0.5971 MB / 405.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.5622, allocations: 0.7888 MB / 406.3 MB, free: 3.746 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.5625, allocations: 99.89 kB / 406.4 MB, free: 3.707 MB / 330.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5625, allocations: 0 / 406.4 MB, free: 3.707 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.815/3.378, allocations: 5.494 MB / 411.9 MB, free: 14.24 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat does not exist to compare? outputFormat=mat