Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.039/2.039, allocations: 209.4 MB / 216.9 MB, free: 6.73 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.698e-05, allocations: 4 kB / 267.6 MB, free: 5.395 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 48.7 MB / 316.3 MB, free: 4.594 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.5712, allocations: 74.31 MB / 390.6 MB, free: 1.992 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.5715, allocations: 77.83 kB / 390.7 MB, free: 1.953 MB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.009352/0.5809, allocations: 2.589 MB / 393.3 MB, free: 15.89 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5809, allocations: 0 / 393.3 MB, free: 15.89 MB / 330.8 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.581, allocations: 0 / 393.3 MB, free: 15.89 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004092/0.5814, allocations: 359.3 kB / 393.6 MB, free: 15.5 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.5814, allocations: 12.03 kB / 393.6 MB, free: 15.49 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.5815, allocations: 11.78 kB / 393.7 MB, free: 15.48 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.5817, allocations: 175.2 kB / 393.8 MB, free: 15.27 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.5817, allocations: 4 kB / 393.8 MB, free: 15.27 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.5817, allocations: 7.938 kB / 393.8 MB, free: 15.26 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001234/0.5819, allocations: 35.67 kB / 393.9 MB, free: 15.23 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.5821, allocations: 174.7 kB / 394 MB, free: 15.02 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5821, allocations: 4 kB / 394 MB, free: 15.02 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.5822, allocations: 4 kB / 394 MB, free: 15.01 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.5822, allocations: 8 kB / 394.1 MB, free: 15 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.5836, allocations: 1.676 MB / 395.7 MB, free: 13.28 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.5837, allocations: 165.1 kB / 395.9 MB, free: 13.11 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.5838, allocations: 87.77 kB / 396 MB, free: 13.02 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.5838, allocations: 75.28 kB / 396.1 MB, free: 12.95 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/0.5839, allocations: 117.8 kB / 396.2 MB, free: 12.82 MB / 330.8 MB Notification: Performance of pre-optimization done (n=0): time 3.146e-06/0.5839, allocations: 0 / 396.2 MB, free: 12.82 MB / 330.8 MB Notification: Performance of matching and sorting (n=0): time 0.0001051/0.584, allocations: 34.92 kB / 396.2 MB, free: 12.78 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.5841, allocations: 51.41 kB / 396.3 MB, free: 12.72 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.5843, allocations: 168.6 kB / 396.4 MB, free: 12.57 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.5844, allocations: 29.64 kB / 396.4 MB, free: 12.53 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.5845, allocations: 217.4 kB / 396.7 MB, free: 12.32 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-06/0.5845, allocations: 11.69 kB / 396.7 MB, free: 12.32 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/0.5845, allocations: 0 / 396.7 MB, free: 12.32 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5847, allocations: 318.8 kB / 397 MB, free: 12 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.03e-05/0.5848, allocations: 27.19 kB / 397 MB, free: 11.98 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.5849, allocations: 155.6 kB / 397.2 MB, free: 11.78 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.5851, allocations: 59.28 kB / 397.2 MB, free: 11.73 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.5851, allocations: 4 kB / 397.2 MB, free: 11.73 MB / 330.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003997/0.5855, allocations: 165 kB / 397.4 MB, free: 11.58 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5855, allocations: 4.062 kB / 397.4 MB, free: 11.58 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.5856, allocations: 12 kB / 397.4 MB, free: 11.57 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.5856, allocations: 4 kB / 397.4 MB, free: 11.56 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.5858, allocations: 35.92 kB / 397.4 MB, free: 11.53 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.5859, allocations: 19.88 kB / 397.5 MB, free: 11.51 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.586, allocations: 15.84 kB / 397.5 MB, free: 11.49 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.586, allocations: 11.88 kB / 397.5 MB, free: 11.48 MB / 330.8 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.0001238/0.5862, allocations: 188.1 kB / 397.7 MB, free: 11.29 MB / 330.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001056/0.5863, allocations: 142.6 kB / 397.8 MB, free: 11.14 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.5864, allocations: 120.7 kB / 397.9 MB, free: 11.02 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.111e-05/0.5865, allocations: 116.8 kB / 398 MB, free: 10.9 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.943e-05/0.5866, allocations: 188.1 kB / 398.2 MB, free: 10.71 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.658e-05/0.5866, allocations: 180.2 kB / 398.4 MB, free: 10.52 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-05/0.5867, allocations: 180.2 kB / 398.6 MB, free: 10.34 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.587, allocations: 401.4 kB / 399 MB, free: 9.91 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.574e-05/0.5871, allocations: 108.9 kB / 399.1 MB, free: 9.797 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.5872, allocations: 105 kB / 399.2 MB, free: 9.688 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.872e-05/0.5872, allocations: 176.3 kB / 399.3 MB, free: 9.508 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.326e-05/0.5873, allocations: 180.2 kB / 399.5 MB, free: 9.324 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.715e-05/0.5874, allocations: 180.1 kB / 399.7 MB, free: 9.145 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-05/0.5875, allocations: 184.3 kB / 399.9 MB, free: 8.957 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.5877, allocations: 312.8 kB / 400.2 MB, free: 8.629 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.5878, allocations: 189.9 kB / 400.4 MB, free: 8.422 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.5879, allocations: 184.2 kB / 400.6 MB, free: 8.234 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.588, allocations: 117 kB / 400.7 MB, free: 8.113 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/0.5881, allocations: 176.3 kB / 400.8 MB, free: 7.934 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.5882, allocations: 104.9 kB / 400.9 MB, free: 7.824 MB / 330.8 MB Notification: Performance of sorting global known variables: time 0.0001623/0.5883, allocations: 130.5 kB / 401.1 MB, free: 7.711 MB / 330.8 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5884, allocations: 0 / 401.1 MB, free: 7.711 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.0004685/0.5888, allocations: 12 kB / 401.1 MB, free: 7.699 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 (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.0008455/0.5897, allocations: 0.8611 MB / 401.9 MB, free: 6.832 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.59, allocations: 63.55 kB / 402 MB, free: 6.777 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.59, allocations: 0 / 402 MB, free: 6.777 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.59, allocations: 1.25 kB / 402 MB, free: 6.777 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.5904, allocations: 0.53 MB / 402.5 MB, free: 6.25 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.5927, allocations: 0.6997 MB / 403.2 MB, free: 5.77 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.5932, allocations: 0.7036 MB / 403.9 MB, free: 5.043 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.5933, allocations: 34.67 kB / 404 MB, free: 5.02 MB / 330.8 MB Notification: Performance of SimCode: time 1.082e-06/0.5933, allocations: 3.938 kB / 404 MB, free: 5.016 MB / 330.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.538/3.131, allocations: 1.725 MB / 405.7 MB, free: 3.297 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test16_res.mat does not exist to compare? outputFormat=mat