Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.915/1.915, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.922e-05, allocations: 0 / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3986/0.5004, allocations: 74.08 MB / 390.4 MB, free: 2.223 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5007, allocations: 76.58 kB / 390.5 MB, free: 2.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01871/0.5195, allocations: 5.223 MB / 395.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5195, allocations: 0 / 395.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.868e-05/0.5196, allocations: 4 kB / 395.7 MB, free: 13.49 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.0008051/0.5204, allocations: 0.5762 MB / 396.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5204, allocations: 8.031 kB / 396.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.5206, allocations: 43.44 kB / 396.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.5212, allocations: 318.9 kB / 396.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.5212, allocations: 0 / 396.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.5213, allocations: 4 kB / 396.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.861e-05/0.5214, allocations: 11.94 kB / 396.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.5215, allocations: 45.5 kB / 396.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5215, allocations: 4 kB / 396.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5215, allocations: 0 / 396.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5215, allocations: 0 / 396.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.5223, allocations: 410.9 kB / 397.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.5225, allocations: 30.45 kB / 397.1 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.5226, allocations: 16.8 kB / 397.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.5226, allocations: 0 / 397.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.5227, allocations: 42.19 kB / 397.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.5227, allocations: 0 / 397.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006439/0.5233, allocations: 180 kB / 397.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.5234, allocations: 51.41 kB / 397.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.5252, allocations: 0.7393 MB / 398.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.5253, allocations: 29.7 kB / 398.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.5255, allocations: 243 kB / 398.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.5255, allocations: 7.812 kB / 398.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.5255, allocations: 0 / 398.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5257, allocations: 318.8 kB / 398.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.5257, allocations: 11.81 kB / 398.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.738e-05/0.5258, allocations: 11.88 kB / 398.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.524e-05/0.5258, allocations: 7.562 kB / 398.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5259, allocations: 4 kB / 398.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000179/0.526, allocations: 65.31 kB / 398.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.011e-05/0.5261, allocations: 29.7 kB / 398.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.5261, allocations: 256 / 398.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5262, allocations: 7.938 kB / 398.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.5263, allocations: 19.98 kB / 398.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.5263, allocations: 7.938 kB / 398.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.5265, allocations: 4 kB / 398.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.5265, allocations: 4 kB / 398.9 MB, free: 10.45 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 8.657e-05/0.5266, allocations: 112.9 kB / 399 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002213/0.5268, allocations: 88.92 kB / 399.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.527, allocations: 39.44 kB / 399.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.5273, allocations: 116.3 kB / 399.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.5273, allocations: 0 / 399.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.5273, allocations: 3.938 kB / 399.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5273, allocations: 0 / 399.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.5284, allocations: 0.53 MB / 399.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5284, allocations: 0 / 399.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.5285, allocations: 15.98 kB / 399.8 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.5285, allocations: 3.953 kB / 399.8 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.5286, allocations: 0 / 399.8 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5286, allocations: 0 / 399.8 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5286, allocations: 144 / 399.8 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.5289, allocations: 203.7 kB / 400 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.5292, allocations: 153.1 kB / 400.1 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.208e-05/0.5292, allocations: 12.19 kB / 400.2 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.5295, allocations: 8 kB / 400.2 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.5295, allocations: 4 kB / 400.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.5295, allocations: 3.984 kB / 400.2 MB, free: 9.184 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001/0.5306, allocations: 0.5939 MB / 400.8 MB, free: 8.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5306, allocations: 0 / 400.8 MB, free: 8.758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005849/0.5312, allocations: 59.56 kB / 400.8 MB, free: 8.703 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.001127/0.5323, allocations: 0.8362 MB / 401.7 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.5325, allocations: 89.09 kB / 401.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5326, allocations: 0 / 401.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.814e-05/0.5326, allocations: 13.69 kB / 401.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.533, allocations: 24.34 kB / 401.8 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.5351, allocations: 0.8326 MB / 402.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.5357, allocations: 0.8257 MB / 403.4 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.536, allocations: 100.8 kB / 403.5 MB, free: 6.117 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.536, allocations: 0 / 403.5 MB, free: 6.117 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.656/3.192, allocations: 6.819 MB / 410.4 MB, free: 15.32 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test1_res.mat does not exist to compare? outputFormat=mat