Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.057/2.057, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.584e-05, allocations: 0 / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 48.7 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.5409, allocations: 75 MB / 391.3 MB, free: 1.324 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.5413, allocations: 76.06 kB / 391.4 MB, free: 1.281 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02954/0.5709, allocations: 6.485 MB / 397.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.719e-06/0.5709, allocations: 0 / 397.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.384e-05/0.571, allocations: 11.94 kB / 397.9 MB, free: 11.8 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001271/0.5723, allocations: 0.7501 MB / 398.6 MB, free: 11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.5724, allocations: 15.97 kB / 398.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.5725, allocations: 55.28 kB / 398.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5736, allocations: 432.2 kB / 399.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.5737, allocations: 4 kB / 399.1 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.5737, allocations: 11.91 kB / 399.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002521/0.574, allocations: 63.17 kB / 399.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.5743, allocations: 122.3 kB / 399.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.5743, allocations: 0 / 399.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.5743, allocations: 0 / 399.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.5744, allocations: 4 kB / 399.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.576, allocations: 0.6615 MB / 400 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.5763, allocations: 106.4 kB / 400.1 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.5764, allocations: 43.78 kB / 400.1 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.5765, allocations: 3.984 kB / 400.1 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.5765, allocations: 38 kB / 400.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.717e-06/0.5765, allocations: 0 / 400.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.002267/0.5788, allocations: 0.5097 MB / 400.7 MB, free: 9.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.5789, allocations: 77.11 kB / 400.7 MB, free: 8.977 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.5803, allocations: 0.7087 MB / 401.4 MB, free: 8.395 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.496e-05/0.5804, allocations: 25.7 kB / 401.5 MB, free: 8.363 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.5807, allocations: 249.7 kB / 401.7 MB, free: 8.199 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.835e-05/0.5808, allocations: 74.06 kB / 401.8 MB, free: 8.133 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.5808, allocations: 0 / 401.8 MB, free: 8.133 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5809, allocations: 318.2 kB / 402.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.5812, allocations: 64.23 kB / 402.2 MB, free: 7.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.5814, allocations: 79.56 kB / 402.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.5816, allocations: 70.47 kB / 402.3 MB, free: 7.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5816, allocations: 3.938 kB / 402.3 MB, free: 7.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005834/0.5822, allocations: 200.9 kB / 402.5 MB, free: 7.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.5823, allocations: 118.4 kB / 402.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.5824, allocations: 0 / 402.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.5824, allocations: 7.938 kB / 402.6 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.583, allocations: 59.94 kB / 402.7 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.583, allocations: 4 kB / 402.7 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.5834, allocations: 35.88 kB / 402.7 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.5835, allocations: 7.984 kB / 402.7 MB, free: 7.273 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 4 * 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.0001297/0.5836, allocations: 116.4 kB / 402.9 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00069/0.5843, allocations: 219.9 kB / 403.1 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.5845, allocations: 55.33 kB / 403.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008795/0.5854, allocations: 279 kB / 403.4 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.5854, allocations: 7.953 kB / 403.4 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.5854, allocations: 0 / 403.4 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5855, allocations: 3.938 kB / 403.4 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.5873, allocations: 0.8178 MB / 404.2 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.5874, allocations: 0 / 404.2 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.5879, allocations: 63.89 kB / 404.3 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.17e-05/0.5879, allocations: 7.953 kB / 404.3 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.588, allocations: 3.562 kB / 404.3 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.588, allocations: 7.984 kB / 404.3 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.588, allocations: 0 / 404.3 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/0.5888, allocations: 419.5 kB / 404.7 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/0.5892, allocations: 186.3 kB / 404.9 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5893, allocations: 3.953 kB / 404.9 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.5898, allocations: 27.97 kB / 404.9 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.5899, allocations: 23.16 kB / 405 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.5899, allocations: 4 kB / 405 MB, free: 5.273 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001046/0.591, allocations: 0.5502 MB / 405.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.591, allocations: 0 / 405.5 MB, free: 4.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007783/0.5918, allocations: 103 kB / 405.6 MB, free: 4.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.002154/0.594, allocations: 1.298 MB / 406.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.5947, allocations: 384.8 kB / 407.3 MB, free: 3.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5948, allocations: 3.938 kB / 407.3 MB, free: 3.152 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.595, allocations: 88.09 kB / 407.4 MB, free: 3.094 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.5957, allocations: 36.52 kB / 407.4 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.5982, allocations: 0.8584 MB / 408.3 MB, free: 2.238 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.5989, allocations: 0.8486 MB / 409.1 MB, free: 1.371 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.5994, allocations: 160.2 kB / 409.3 MB, free: 1.32 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5994, allocations: 0 / 409.3 MB, free: 1.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.835/3.434, allocations: 7.981 MB / 417.2 MB, free: 9.375 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat does not exist to compare? outputFormat=mat