Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.032/2.032, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.884e-05, allocations: 0 / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 48.69 MB / 316.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.5646, allocations: 73.97 MB / 390.3 MB, free: 2.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.5649, allocations: 69.34 kB / 390.3 MB, free: 2.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01076/0.5757, allocations: 2.555 MB / 392.9 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5757, allocations: 0 / 392.9 MB, free: 396 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.5758, allocations: 8 kB / 392.9 MB, free: 388 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.0004959/0.5763, allocations: 394.9 kB / 393.3 MB, free: 15.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5763, allocations: 8.031 kB / 393.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.5764, allocations: 7.906 kB / 393.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.5767, allocations: 188.9 kB / 393.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.5767, allocations: 0 / 393.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.5767, allocations: 4 kB / 393.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.387e-05/0.5768, allocations: 15.17 kB / 393.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.378e-05/0.5769, allocations: 36.95 kB / 393.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.5769, allocations: 3.984 kB / 393.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.577, allocations: 0 / 393.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.577, allocations: 4 kB / 393.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.5774, allocations: 257.9 kB / 393.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.5777, allocations: 41.62 kB / 393.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.5777, allocations: 8.859 kB / 393.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.5778, allocations: 6.75 kB / 393.9 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.5778, allocations: 30.56 kB / 393.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.5778, allocations: 0 / 393.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004937/0.5783, allocations: 110 kB / 394 MB, free: 15.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.5784, allocations: 51.41 kB / 394 MB, free: 15.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.5785, allocations: 126.4 kB / 394.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5785, allocations: 29.64 kB / 394.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.5786, allocations: 164.8 kB / 394.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.5787, allocations: 15.75 kB / 394.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.5787, allocations: 0 / 394.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5789, allocations: 318.1 kB / 394.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.553e-05/0.5789, allocations: 10.88 kB / 394.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.215e-05/0.579, allocations: 18.11 kB / 394.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.372e-05/0.579, allocations: 11.12 kB / 394.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.579, allocations: 0 / 394.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000166/0.5792, allocations: 67.75 kB / 394.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.5793, allocations: 37.69 kB / 394.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.5793, allocations: 0 / 394.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5793, allocations: 0 / 394.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.5794, allocations: 15.56 kB / 394.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.5795, allocations: 0 / 394.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.5796, allocations: 15.98 kB / 394.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.5796, allocations: 3.984 kB / 394.9 MB, free: 14.3 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.264e-05/0.5797, allocations: 112.9 kB / 395 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001544/0.5798, allocations: 67.22 kB / 395 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.5799, allocations: 7.906 kB / 395 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.5801, allocations: 75.52 kB / 395.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5801, allocations: 0 / 395.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5801, allocations: 0 / 395.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5802, allocations: 0 / 395.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.5806, allocations: 314.3 kB / 395.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.5806, allocations: 0 / 395.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.5807, allocations: 19.98 kB / 395.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5808, allocations: 0 / 395.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.5808, allocations: 0 / 395.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5808, allocations: 4 kB / 395.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5808, allocations: 0 / 395.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.581, allocations: 162.4 kB / 395.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.5811, allocations: 81.02 kB / 395.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.5811, allocations: 3.984 kB / 395.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.5812, allocations: 12.25 kB / 395.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.5813, allocations: 0 / 395.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.5813, allocations: 11.94 kB / 395.7 MB, free: 13.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.76e-05/0.5814, allocations: 102.7 kB / 395.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5814, allocations: 0 / 395.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.5818, allocations: 16 kB / 395.8 MB, free: 13.3 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.0009802/0.5828, allocations: 0.8034 MB / 396.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.583, allocations: 87.83 kB / 396.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.583, allocations: 4 kB / 396.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/0.583, allocations: 22.62 kB / 396.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.5833, allocations: 11.92 kB / 396.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.5839, allocations: 175.7 kB / 396.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.5842, allocations: 0.6963 MB / 397.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.5843, allocations: 20.56 kB / 397.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5843, allocations: 0 / 397.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.468/3.052, allocations: 1.543 MB / 399.2 MB, free: 9.926 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat does not exist to compare? outputFormat=mat