Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15",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 3.427e-05/3.424e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5598, allocations: 74.31 MB / 390.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.5602, allocations: 73.58 kB / 390.7 MB, free: 1.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01245/0.5727, allocations: 2.582 MB / 393.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.819e-06/0.5728, allocations: 4 kB / 393.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.5728, allocations: 4 kB / 393.3 MB, free: 15.84 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004492/0.5733, allocations: 356.1 kB / 393.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.5733, allocations: 11.97 kB / 393.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.5734, allocations: 7.906 kB / 393.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.5736, allocations: 179.3 kB / 393.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.5737, allocations: 4 kB / 393.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.5737, allocations: 7.938 kB / 393.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001447/0.5738, allocations: 30.42 kB / 393.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.5742, allocations: 181.5 kB / 394 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.5742, allocations: 0 / 394 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.5743, allocations: 4 kB / 394 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/0.5743, allocations: 11.92 kB / 394.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.5758, allocations: 1.684 MB / 395.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.576, allocations: 169.1 kB / 395.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.576, allocations: 80.14 kB / 396 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.5761, allocations: 79.28 kB / 396.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.329e-05/0.5762, allocations: 109.8 kB / 396.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 3.085e-06/0.5762, allocations: 0 / 396.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001316/0.5764, allocations: 34.92 kB / 396.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.5764, allocations: 54.59 kB / 396.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.5767, allocations: 172.3 kB / 396.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.5768, allocations: 25.7 kB / 396.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.5769, allocations: 215.9 kB / 396.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/0.577, allocations: 6.797 kB / 396.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.577, allocations: 0 / 396.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5772, allocations: 322 kB / 397 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.5773, allocations: 26.61 kB / 397 MB, free: 11.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.5775, allocations: 152.7 kB / 397.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.5777, allocations: 57.91 kB / 397.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.5777, allocations: 4 kB / 397.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005579/0.5783, allocations: 166.1 kB / 397.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5784, allocations: 11.98 kB / 397.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.5784, allocations: 4 kB / 397.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.361e-05/0.5784, allocations: 11.94 kB / 397.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.5787, allocations: 35.92 kB / 397.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.5787, allocations: 15.89 kB / 397.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.5789, allocations: 15.84 kB / 397.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.5789, allocations: 8 kB / 397.5 MB, free: 11.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001247/0.579, allocations: 195.7 kB / 397.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001056/0.5792, allocations: 146.5 kB / 397.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.5792, allocations: 112.8 kB / 397.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.258e-05/0.5793, allocations: 116.7 kB / 398 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.112e-05/0.5794, allocations: 184.2 kB / 398.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.447e-05/0.5795, allocations: 184.2 kB / 398.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.237e-05/0.5796, allocations: 180.3 kB / 398.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.5799, allocations: 401.5 kB / 399 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.45e-05/0.5799, allocations: 104.9 kB / 399.1 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.58, allocations: 105 kB / 399.2 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.089e-05/0.5801, allocations: 176.3 kB / 399.3 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.279e-05/0.5801, allocations: 180.2 kB / 399.5 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.262e-05/0.5802, allocations: 184.1 kB / 399.7 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.376e-05/0.5803, allocations: 188.2 kB / 399.9 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.5805, allocations: 304.9 kB / 400.2 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5806, allocations: 193.9 kB / 400.4 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.229e-05/0.5807, allocations: 188.2 kB / 400.6 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.5808, allocations: 105 kB / 400.7 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.5809, allocations: 184.2 kB / 400.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.581, allocations: 101 kB / 400.9 MB, free: 7.777 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.5812, allocations: 130.6 kB / 401.1 MB, free: 7.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5812, allocations: 0 / 401.1 MB, free: 7.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004651/0.5816, allocations: 12 kB / 401.1 MB, free: 7.652 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 (0): * Single equations (assignments): 0 * 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.0008225/0.5825, allocations: 0.8643 MB / 401.9 MB, free: 6.785 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.5827, allocations: 60.36 kB / 402 MB, free: 6.734 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.5827, allocations: 4 kB / 402 MB, free: 6.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.5827, allocations: 0 / 402 MB, free: 6.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.5831, allocations: 0.5294 MB / 402.5 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.5854, allocations: 0.7056 MB / 403.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.5858, allocations: 0.6997 MB / 403.9 MB, free: 4.996 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.5859, allocations: 28.23 kB / 404 MB, free: 4.977 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5859, allocations: 7.938 kB / 404 MB, free: 4.969 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.523/3.109, allocations: 1.731 MB / 405.7 MB, free: 3.246 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test15_res.mat does not exist to compare? outputFormat=mat