Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.424e-05/5.449e-05, allocations: 8.938 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4367, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.5846, allocations: 80.95 MB / 440.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.585, allocations: 67.97 kB / 440.9 MB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01935/0.6043, allocations: 5.429 MB / 446.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6044, allocations: 0 / 446.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.963e-05/0.6044, allocations: 4 kB / 446.3 MB, free: 10.5 MB / 378.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.0007715/0.6052, allocations: 0.5655 MB / 446.9 MB, free: 9.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.6053, allocations: 12.03 kB / 446.9 MB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.6053, allocations: 39.06 kB / 446.9 MB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.748e-05/0.6054, allocations: 39.44 kB / 447 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.6061, allocations: 319.4 kB / 447.3 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.6061, allocations: 6.25 kB / 447.3 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.6062, allocations: 3.938 kB / 447.3 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.6063, allocations: 49.66 kB / 447.3 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.6063, allocations: 3.281 kB / 447.3 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.6064, allocations: 0 / 447.3 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6064, allocations: 0 / 447.3 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.175e-05/0.6064, allocations: 20.55 kB / 447.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007873/0.6073, allocations: 436.6 kB / 447.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.6075, allocations: 34.58 kB / 447.8 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.6075, allocations: 12.86 kB / 447.8 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.6076, allocations: 0 / 447.8 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.6076, allocations: 38.64 kB / 447.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.6076, allocations: 0.6562 kB / 447.9 MB, free: 8.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005968/0.6082, allocations: 180.2 kB / 448.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.6083, allocations: 51.41 kB / 448.1 MB, free: 8.523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.6101, allocations: 0.7654 MB / 448.9 MB, free: 7.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.6102, allocations: 25.7 kB / 448.9 MB, free: 7.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.6104, allocations: 223.9 kB / 449.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.6105, allocations: 19.8 kB / 449.1 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.6105, allocations: 5.031 kB / 449.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.6107, allocations: 358.8 kB / 449.5 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.6107, allocations: 12 kB / 449.5 MB, free: 7.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.427e-05/0.6108, allocations: 12 kB / 449.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.617e-05/0.6109, allocations: 49.62 kB / 449.6 MB, free: 7.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6109, allocations: 0 / 449.6 MB, free: 7.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002607/0.6112, allocations: 119.8 kB / 449.7 MB, free: 6.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.6112, allocations: 33.69 kB / 449.7 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6112, allocations: 4 kB / 449.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.6113, allocations: 4 kB / 449.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.6114, allocations: 16.14 kB / 449.7 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.6114, allocations: 0.8438 kB / 449.7 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.6116, allocations: 11.92 kB / 449.7 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.6116, allocations: 5.25 kB / 449.7 MB, free: 6.832 MB / 378.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 7.761e-05/0.6117, allocations: 104.9 kB / 449.9 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.6118, allocations: 47.42 kB / 449.9 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.6121, allocations: 124.9 kB / 450 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6121, allocations: 0 / 450 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.6121, allocations: 0 / 450 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6121, allocations: 0 / 450 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.6132, allocations: 0.5643 MB / 450.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.6133, allocations: 0 / 450.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.6134, allocations: 15.98 kB / 450.6 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.6134, allocations: 4 kB / 450.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.6134, allocations: 0 / 450.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6134, allocations: 0 / 450.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6134, allocations: 1.219 kB / 450.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.6137, allocations: 198.9 kB / 450.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.614, allocations: 156.6 kB / 451 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.6141, allocations: 0 / 451 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.6143, allocations: 8 kB / 451 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.6143, allocations: 7.984 kB / 451 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.6143, allocations: 3.938 kB / 451 MB, free: 5.504 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0011/0.6154, allocations: 0.6225 MB / 451.6 MB, free: 4.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6155, allocations: 0 / 451.6 MB, free: 4.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004122/0.6159, allocations: 59.92 kB / 451.7 MB, free: 4.824 MB / 378.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.001267/0.6172, allocations: 0.9077 MB / 452.6 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.6174, allocations: 91.33 kB / 452.6 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6174, allocations: 0 / 452.6 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.6175, allocations: 16 kB / 452.7 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.6178, allocations: 29.91 kB / 452.7 MB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.6198, allocations: 0.7921 MB / 453.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.6204, allocations: 0.8223 MB / 454.3 MB, free: 2.137 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.6205, allocations: 44.36 kB / 454.4 MB, free: 2.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.6208, allocations: 103.4 kB / 454.5 MB, free: 1.988 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6208, allocations: 0 / 454.5 MB, free: 1.988 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.6544, allocations: 6.009 MB / 460.5 MB, free: 12 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003105/0.6548, allocations: 190.8 kB / 460.6 MB, free: 11.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.096, allocations: 0 / 460.6 MB, free: 11.77 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2_res.mat does not exist to compare? outputFormat=mat