Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.07/2.07, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.582e-05, allocations: 3.984 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 48.7 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.409/0.5151, allocations: 75.33 MB / 391.6 MB, free: 1.004 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5154, allocations: 69.56 kB / 391.7 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02599/0.5414, allocations: 6.205 MB / 397.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5415, allocations: 0 / 397.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.631e-05/0.5415, allocations: 4 kB / 397.9 MB, free: 11.77 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009287/0.5425, allocations: 0.684 MB / 398.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.5426, allocations: 16.03 kB / 398.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.5427, allocations: 39.48 kB / 398.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.5433, allocations: 289.2 kB / 398.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.5433, allocations: 4 kB / 398.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.5434, allocations: 15.92 kB / 398.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002188/0.5436, allocations: 53.19 kB / 399 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.5438, allocations: 88.78 kB / 399.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.5439, allocations: 3.906 kB / 399.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.5439, allocations: 0 / 399.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.5439, allocations: 7.953 kB / 399.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008407/0.5448, allocations: 436.4 kB / 399.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.545, allocations: 79.75 kB / 399.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.868e-05/0.5451, allocations: 32.11 kB / 399.6 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.5451, allocations: 11.98 kB / 399.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.5452, allocations: 30.56 kB / 399.7 MB, free: 9.977 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 4.208e-06/0.5452, allocations: 3.984 kB / 399.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001074/0.5463, allocations: 305.7 kB / 400 MB, free: 9.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.5463, allocations: 51.41 kB / 400 MB, free: 9.656 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007371/0.5471, allocations: 405.4 kB / 400.4 MB, free: 9.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.5471, allocations: 25.7 kB / 400.4 MB, free: 9.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.5473, allocations: 218.8 kB / 400.7 MB, free: 9.129 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.5474, allocations: 61.72 kB / 400.7 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.5474, allocations: 0 / 400.7 MB, free: 9.074 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.5476, allocations: 322.3 kB / 401 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.5477, allocations: 44.44 kB / 401.1 MB, free: 8.727 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.5479, allocations: 49.73 kB / 401.1 MB, free: 8.695 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.548, allocations: 55.36 kB / 401.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.548, allocations: 0 / 401.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004408/0.5485, allocations: 174.9 kB / 401.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.5486, allocations: 136.5 kB / 401.5 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5486, allocations: 4 kB / 401.5 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.5487, allocations: 3.984 kB / 401.5 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.549, allocations: 34.73 kB / 401.5 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.549, allocations: 4 kB / 401.5 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.5492, allocations: 4 kB / 401.5 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.5492, allocations: 11.98 kB / 401.5 MB, free: 8.301 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0001062/0.5493, allocations: 112.9 kB / 401.7 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00041/0.5497, allocations: 168.4 kB / 401.8 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/0.5498, allocations: 31.62 kB / 401.9 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006206/0.5505, allocations: 210.9 kB / 402.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5505, allocations: 4 kB / 402.1 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5505, allocations: 7.938 kB / 402.1 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.5505, allocations: 7.938 kB / 402.1 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.5517, allocations: 0.5734 MB / 402.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5517, allocations: 0 / 402.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.552, allocations: 31.98 kB / 402.7 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.552, allocations: 4 kB / 402.7 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.552, allocations: 10.62 kB / 402.7 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5521, allocations: 0 / 402.7 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5521, allocations: 4 kB / 402.7 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.5525, allocations: 268.1 kB / 403 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.5527, allocations: 123.3 kB / 403.1 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.5528, allocations: 0 / 403.1 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.553, allocations: 11.94 kB / 403.1 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.792e-05/0.5531, allocations: 14.8 kB / 403.1 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.5531, allocations: 4 kB / 403.1 MB, free: 6.852 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005091/0.5536, allocations: 321.9 kB / 403.4 MB, free: 6.605 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5536, allocations: 3.938 kB / 403.4 MB, free: 6.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005601/0.5542, allocations: 91.08 kB / 403.5 MB, free: 6.516 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 (17): * Single equations (assignments): 17 * 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.002085/0.5563, allocations: 1.205 MB / 404.7 MB, free: 5.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005461/0.5569, allocations: 390.7 kB / 405.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5569, allocations: 0 / 405.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.557, allocations: 65.06 kB / 405.2 MB, free: 4.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.5575, allocations: 32.64 kB / 405.2 MB, free: 4.902 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.5591, allocations: 0.5905 MB / 405.8 MB, free: 4.332 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.5596, allocations: 0.7933 MB / 406.6 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.5599, allocations: 101 kB / 406.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of SimCode: time 3.046e-06/0.5599, allocations: 0 / 406.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.735/3.295, allocations: 5.502 MB / 412.2 MB, free: 14.01 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat does not exist to compare? outputFormat=mat