Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.095/2.095, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.633e-05, allocations: 0 / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 48.69 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4154/0.5243, allocations: 73.99 MB / 390.3 MB, free: 2.367 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.5247, allocations: 70.16 kB / 390.4 MB, free: 2.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01153/0.5362, allocations: 2.547 MB / 392.9 MB, free: 184 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5363, allocations: 0 / 392.9 MB, free: 184 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.5363, allocations: 4 kB / 392.9 MB, free: 180 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000539/0.5368, allocations: 396 kB / 393.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.5369, allocations: 8.031 kB / 393.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.537, allocations: 7.906 kB / 393.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.5373, allocations: 182.7 kB / 393.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.5373, allocations: 4 kB / 393.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.5373, allocations: 0 / 393.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001075/0.5374, allocations: 19.55 kB / 393.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.936e-05/0.5376, allocations: 41.31 kB / 393.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.5376, allocations: 0 / 393.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.5376, allocations: 3.984 kB / 393.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5376, allocations: 4 kB / 393.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.5381, allocations: 260.8 kB / 393.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.5384, allocations: 38.38 kB / 393.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.5384, allocations: 16.67 kB / 393.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.5385, allocations: 4 kB / 393.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5385, allocations: 34.56 kB / 393.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.5385, allocations: 0 / 393.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005778/0.5391, allocations: 100.4 kB / 394 MB, free: 14.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.5392, allocations: 55.34 kB / 394.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.5393, allocations: 120.5 kB / 394.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.5394, allocations: 25.7 kB / 394.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.5395, allocations: 162.5 kB / 394.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.5395, allocations: 19.56 kB / 394.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.5395, allocations: 0 / 394.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5396, allocations: 314.8 kB / 394.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.5397, allocations: 15.69 kB / 394.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.5398, allocations: 23.61 kB / 394.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.466e-05/0.5398, allocations: 11.56 kB / 394.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5398, allocations: 0 / 394.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001854/0.54, allocations: 65.44 kB / 394.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.5401, allocations: 37.69 kB / 394.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.5401, allocations: 4 kB / 394.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.5402, allocations: 0 / 394.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.5403, allocations: 12 kB / 394.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.5403, allocations: 0 / 394.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.5404, allocations: 11.92 kB / 394.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.5405, allocations: 4 kB / 394.9 MB, free: 14.09 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 9.129e-05/0.5406, allocations: 108.9 kB / 395 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001684/0.5407, allocations: 65.28 kB / 395 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.5408, allocations: 7.906 kB / 395 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.541, allocations: 81.69 kB / 395.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5411, allocations: 0 / 395.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5411, allocations: 0 / 395.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5411, allocations: 0 / 395.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.5416, allocations: 310.3 kB / 395.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.5416, allocations: 4 kB / 395.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.5417, allocations: 16.36 kB / 395.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.5418, allocations: 4 kB / 395.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.5418, allocations: 0 / 395.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.5418, allocations: 4 kB / 395.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5418, allocations: 0 / 395.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.542, allocations: 167 kB / 395.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.5421, allocations: 81.02 kB / 395.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.5421, allocations: 11.94 kB / 395.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.5423, allocations: 7.984 kB / 395.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.5423, allocations: 0 / 395.7 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.5423, allocations: 4 kB / 395.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.339e-05/0.5425, allocations: 103.3 kB / 395.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5425, allocations: 0 / 395.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004131/0.5429, allocations: 19.94 kB / 395.8 MB, free: 13.09 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.001044/0.5439, allocations: 0.8069 MB / 396.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.5442, allocations: 90.95 kB / 396.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5442, allocations: 4 kB / 396.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.606e-05/0.5443, allocations: 15.81 kB / 396.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.5446, allocations: 3.984 kB / 396.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.5453, allocations: 182.4 kB / 396.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.5456, allocations: 0.6963 MB / 397.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.5457, allocations: 22.75 kB / 397.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.442e-06/0.5457, allocations: 0 / 397.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.471/3.017, allocations: 1.544 MB / 399.2 MB, free: 9.719 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat does not exist to compare? outputFormat=mat