Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.963/1.963, allocations: 209.4 MB / 216.9 MB, free: 6.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.559e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 48.71 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5316, allocations: 74.09 MB / 390.4 MB, free: 2.191 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.5319, allocations: 65.41 kB / 390.5 MB, free: 2.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01943/0.5514, allocations: 5.233 MB / 395.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.889e-06/0.5514, allocations: 3.984 kB / 395.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.393e-05/0.5515, allocations: 4 kB / 395.7 MB, free: 13.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008519/0.5523, allocations: 0.5665 MB / 396.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.5524, allocations: 12.03 kB / 396.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.5525, allocations: 39.44 kB / 396.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.5532, allocations: 324.7 kB / 396.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.5533, allocations: 4 kB / 396.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.5533, allocations: 0 / 396.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/0.5534, allocations: 15.86 kB / 396.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.5536, allocations: 40.95 kB / 396.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5536, allocations: 0 / 396.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.5536, allocations: 4 kB / 396.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5536, allocations: 0 / 396.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008364/0.5545, allocations: 405.8 kB / 397.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.5548, allocations: 38 kB / 397.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.5548, allocations: 11.8 kB / 397.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.5548, allocations: 4 kB / 397.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.5549, allocations: 34.5 kB / 397.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.956e-06/0.5549, allocations: 0 / 397.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006876/0.5556, allocations: 180.7 kB / 397.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.5557, allocations: 51.41 kB / 397.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.5575, allocations: 0.736 MB / 398.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.5576, allocations: 29.7 kB / 398.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.5578, allocations: 247.2 kB / 398.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.5578, allocations: 11.81 kB / 398.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/0.5579, allocations: 0 / 398.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.558, allocations: 314.1 kB / 398.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/0.5581, allocations: 11.5 kB / 398.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.5581, allocations: 7.375 kB / 398.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.347e-05/0.5582, allocations: 18.8 kB / 398.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5582, allocations: 3.938 kB / 398.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000189/0.5584, allocations: 67.38 kB / 398.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.5585, allocations: 32.05 kB / 398.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.5585, allocations: 256 / 398.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.5585, allocations: 3.938 kB / 398.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.5587, allocations: 19.98 kB / 398.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.5587, allocations: 3.953 kB / 398.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.5589, allocations: 8 kB / 398.9 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.5589, allocations: 0 / 398.9 MB, free: 10.42 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.181e-05/0.559, allocations: 105 kB / 399 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002838/0.5593, allocations: 98.59 kB / 399.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.5594, allocations: 43.44 kB / 399.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.5598, allocations: 116.2 kB / 399.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5598, allocations: 0 / 399.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5598, allocations: 0 / 399.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5598, allocations: 144 / 399.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.561, allocations: 0.534 MB / 399.8 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.561, allocations: 4 kB / 399.8 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.5612, allocations: 12 kB / 399.8 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.5612, allocations: 7.953 kB / 399.8 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.5612, allocations: 0 / 399.8 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5612, allocations: 0 / 399.8 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5612, allocations: 0 / 399.8 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.5615, allocations: 190.6 kB / 400 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.5618, allocations: 160 kB / 400.2 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.276e-05/0.5619, allocations: 4.203 kB / 400.2 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.5621, allocations: 11.98 kB / 400.2 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.5622, allocations: 7.938 kB / 400.2 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.5622, allocations: 0 / 400.2 MB, free: 9.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001076/0.5633, allocations: 0.6055 MB / 400.8 MB, free: 8.727 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.5633, allocations: 0 / 400.8 MB, free: 8.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005116/0.5638, allocations: 55.94 kB / 400.8 MB, free: 8.672 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.001144/0.565, allocations: 0.8312 MB / 401.7 MB, free: 7.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.5653, allocations: 92.34 kB / 401.8 MB, free: 7.773 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5653, allocations: 0 / 401.8 MB, free: 7.773 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/0.5653, allocations: 15.38 kB / 401.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.5657, allocations: 20.05 kB / 401.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.568, allocations: 0.8282 MB / 402.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.5686, allocations: 0.8254 MB / 403.5 MB, free: 6.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.5689, allocations: 105.6 kB / 403.6 MB, free: 6.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5689, allocations: 0 / 403.6 MB, free: 6.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.688/3.257, allocations: 6.822 MB / 410.4 MB, free: 15.29 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat does not exist to compare? outputFormat=mat