Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.129/2.129, allocations: 209.4 MB / 216.9 MB, free: 6.73 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.383e-05, allocations: 4 kB / 267.6 MB, free: 5.402 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 48.7 MB / 316.3 MB, free: 4.609 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4161/0.5267, allocations: 74.07 MB / 390.4 MB, free: 2.25 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.527, allocations: 66.22 kB / 390.4 MB, free: 2.215 MB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01312/0.5401, allocations: 3.224 MB / 393.7 MB, free: 15.46 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5402, allocations: 3.938 kB / 393.7 MB, free: 15.45 MB / 330.8 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.5402, allocations: 12 kB / 393.7 MB, free: 15.44 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005292/0.5408, allocations: 415.8 kB / 394.1 MB, free: 14.99 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.5408, allocations: 8.031 kB / 394.1 MB, free: 14.98 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.5409, allocations: 15.75 kB / 394.1 MB, free: 14.97 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.5412, allocations: 206.8 kB / 394.3 MB, free: 14.73 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.5412, allocations: 3.938 kB / 394.3 MB, free: 14.73 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.5413, allocations: 4 kB / 394.3 MB, free: 14.72 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001083/0.5414, allocations: 19.88 kB / 394.3 MB, free: 14.71 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.5415, allocations: 53.25 kB / 394.4 MB, free: 14.66 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/0.5416, allocations: 0 / 394.4 MB, free: 14.66 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.5416, allocations: 3.984 kB / 394.4 MB, free: 14.65 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.5416, allocations: 4 kB / 394.4 MB, free: 14.65 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.5421, allocations: 280.1 kB / 394.7 MB, free: 14.36 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.5422, allocations: 42.39 kB / 394.7 MB, free: 14.32 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.5423, allocations: 16.8 kB / 394.7 MB, free: 14.3 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.5423, allocations: 7.984 kB / 394.7 MB, free: 14.29 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.5423, allocations: 34.5 kB / 394.8 MB, free: 14.25 MB / 330.8 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.5424, allocations: 0 / 394.8 MB, free: 14.25 MB / 330.8 MB Notification: Performance of matching and sorting (n=8): time 0.0005936/0.543, allocations: 139.9 kB / 394.9 MB, free: 14.12 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.543, allocations: 51.41 kB / 395 MB, free: 14.06 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.5433, allocations: 197.5 kB / 395.1 MB, free: 13.88 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.5433, allocations: 25.7 kB / 395.2 MB, free: 13.85 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.5434, allocations: 162.2 kB / 395.3 MB, free: 13.7 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.5435, allocations: 31.48 kB / 395.4 MB, free: 13.67 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.5435, allocations: 0 / 395.4 MB, free: 13.67 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5436, allocations: 314.8 kB / 395.7 MB, free: 13.36 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/0.5437, allocations: 19.69 kB / 395.7 MB, free: 13.34 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.707e-05/0.5438, allocations: 15.69 kB / 395.7 MB, free: 13.34 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.978e-05/0.5438, allocations: 19.8 kB / 395.7 MB, free: 13.32 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5438, allocations: 4 kB / 395.7 MB, free: 13.32 MB / 330.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001886/0.544, allocations: 80.94 kB / 395.8 MB, free: 13.25 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.5441, allocations: 36.05 kB / 395.8 MB, free: 13.21 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.5441, allocations: 192 / 395.8 MB, free: 13.21 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5441, allocations: 288 / 395.8 MB, free: 13.21 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.5443, allocations: 27.92 kB / 395.9 MB, free: 13.18 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.5444, allocations: 0 / 395.9 MB, free: 13.18 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.132e-05/0.5444, allocations: 11.94 kB / 395.9 MB, free: 13.17 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.5445, allocations: 7.984 kB / 395.9 MB, free: 13.16 MB / 330.8 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 (9): * Single equations (assignments): 8 * 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 8.209e-05/0.5446, allocations: 108.9 kB / 396 MB, free: 13.05 MB / 330.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001943/0.5448, allocations: 85.19 kB / 396.1 MB, free: 12.97 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.5448, allocations: 7.906 kB / 396.1 MB, free: 12.96 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.5451, allocations: 102.8 kB / 396.2 MB, free: 12.88 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5451, allocations: 4 kB / 396.2 MB, free: 12.87 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5451, allocations: 0 / 396.2 MB, free: 12.87 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5452, allocations: 3.953 kB / 396.2 MB, free: 12.87 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.5457, allocations: 366.6 kB / 396.6 MB, free: 12.5 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5458, allocations: 0 / 396.6 MB, free: 12.5 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.5459, allocations: 27.86 kB / 396.6 MB, free: 12.47 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5459, allocations: 0 / 396.6 MB, free: 12.47 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.5459, allocations: 0 / 396.6 MB, free: 12.47 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.546, allocations: 3.953 kB / 396.6 MB, free: 12.47 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.546, allocations: 0 / 396.6 MB, free: 12.47 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.5462, allocations: 182.8 kB / 396.8 MB, free: 12.29 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.5463, allocations: 92.39 kB / 396.8 MB, free: 12.18 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.5463, allocations: 0 / 396.8 MB, free: 12.18 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.5465, allocations: 7.984 kB / 396.9 MB, free: 12.18 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.5465, allocations: 7.953 kB / 396.9 MB, free: 12.17 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.5466, allocations: 4 kB / 396.9 MB, free: 12.16 MB / 330.8 MB Notification: Performance of sorting global known variables: time 0.0001924/0.5468, allocations: 162.6 kB / 397 MB, free: 12.03 MB / 330.8 MB Notification: Performance of sort global known variables: time 5e-07/0.5468, allocations: 0 / 397 MB, free: 12.03 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.0003604/0.5471, allocations: 24 kB / 397.1 MB, free: 12.01 MB / 330.8 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 (8): * Single equations (assignments): 8 * 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.001013/0.5482, allocations: 0.8321 MB / 397.9 MB, free: 11.2 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.5484, allocations: 104.5 kB / 398 MB, free: 11.1 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5484, allocations: 0 / 398 MB, free: 11.1 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 7.042e-05/0.5485, allocations: 26.61 kB / 398 MB, free: 11.08 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.5488, allocations: 7.953 kB / 398 MB, free: 11.07 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007853/0.5496, allocations: 272.1 kB / 398.3 MB, free: 10.79 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.5499, allocations: 0.7157 MB / 399 MB, free: 10.05 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5501, allocations: 35.8 kB / 399 MB, free: 10.03 MB / 330.8 MB Notification: Performance of SimCode: time 8.31e-07/0.5501, allocations: 0 / 399 MB, free: 10.03 MB / 330.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.48/3.03, allocations: 2.144 MB / 401.2 MB, free: 7.895 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat does not exist to compare? outputFormat=mat