Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.457/2.457, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.065e-05/5.08e-05, allocations: 8.938 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4057, allocations: 54.85 MB / 359.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5605, allocations: 81.93 MB / 441.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5608, allocations: 71.95 kB / 441.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02716/0.588, allocations: 6.423 MB / 448.3 MB, free: 8.445 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5881, allocations: 4 kB / 448.3 MB, free: 8.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.677e-05/0.5881, allocations: 4 kB / 448.3 MB, free: 8.438 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001079/0.5892, allocations: 0.7264 MB / 449 MB, free: 7.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.5893, allocations: 12.02 kB / 449 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/0.5893, allocations: 38.56 kB / 449.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.5895, allocations: 51.44 kB / 449.1 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.5905, allocations: 435.1 kB / 449.5 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.5905, allocations: 12.52 kB / 449.6 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.5906, allocations: 12 kB / 449.6 MB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.5909, allocations: 122.4 kB / 449.7 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5909, allocations: 0 / 449.7 MB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.591, allocations: 4 kB / 449.7 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.591, allocations: 3.938 kB / 449.7 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.5912, allocations: 61.41 kB / 449.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.5926, allocations: 0.6799 MB / 450.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.5929, allocations: 101.2 kB / 450.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.664e-05/0.593, allocations: 33.84 kB / 450.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.593, allocations: 7.984 kB / 450.6 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.5931, allocations: 34.52 kB / 450.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.5931, allocations: 3.938 kB / 450.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001581/0.5947, allocations: 432.5 kB / 451 MB, free: 5.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.5948, allocations: 77.11 kB / 451.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.5962, allocations: 0.727 MB / 451.8 MB, free: 4.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.5963, allocations: 25.7 kB / 451.9 MB, free: 4.609 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.5965, allocations: 224.4 kB / 452.1 MB, free: 4.387 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/0.5966, allocations: 59.2 kB / 452.1 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.5967, allocations: 3.938 kB / 452.1 MB, free: 4.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.5969, allocations: 362.8 kB / 452.5 MB, free: 3.961 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.597, allocations: 47.94 kB / 452.5 MB, free: 3.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.5972, allocations: 71.55 kB / 452.6 MB, free: 3.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.5975, allocations: 158.8 kB / 452.8 MB, free: 3.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5975, allocations: 0 / 452.8 MB, free: 3.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006195/0.5981, allocations: 311.8 kB / 453.1 MB, free: 3.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/0.5982, allocations: 110.8 kB / 453.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.5983, allocations: 8 kB / 453.2 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.5983, allocations: 0 / 453.2 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.5987, allocations: 43.95 kB / 453.2 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.5987, allocations: 0 / 453.2 MB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.5989, allocations: 19.91 kB / 453.3 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.599, allocations: 15.98 kB / 453.3 MB, free: 3.105 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001136/0.5991, allocations: 120.9 kB / 453.4 MB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.5993, allocations: 43.44 kB / 453.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006947/0.6, allocations: 239.5 kB / 453.7 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.6, allocations: 4 kB / 453.7 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6, allocations: 0 / 453.7 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6, allocations: 4 kB / 453.7 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.6016, allocations: 0.7825 MB / 454.5 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6017, allocations: 0 / 454.5 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.602, allocations: 43.91 kB / 454.5 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.602, allocations: 4 kB / 454.5 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.602, allocations: 7.938 kB / 454.5 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.6021, allocations: 7.984 kB / 454.5 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6021, allocations: 0 / 454.5 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.6027, allocations: 372.8 kB / 454.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.603, allocations: 160.5 kB / 455 MB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.102e-05/0.6031, allocations: 4 kB / 455 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.6034, allocations: 23.92 kB / 455.1 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.6035, allocations: 19.94 kB / 455.1 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.6035, allocations: 4 kB / 455.1 MB, free: 1.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.6047, allocations: 0.5678 MB / 455.7 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6047, allocations: 0 / 455.7 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005701/0.6052, allocations: 95.86 kB / 455.7 MB, free: 0.5156 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002469/0.6077, allocations: 1.409 MB / 457.2 MB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000565/0.6083, allocations: 337.5 kB / 457.5 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6083, allocations: 0 / 457.5 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.6085, allocations: 63.92 kB / 457.5 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.6091, allocations: 53.97 kB / 457.6 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.6112, allocations: 0.7773 MB / 458.4 MB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.6118, allocations: 0.834 MB / 459.2 MB, free: 13 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003085/0.6121, allocations: 87.5 kB / 459.3 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.6125, allocations: 147.3 kB / 459.4 MB, free: 12.76 MB / 394.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6125, allocations: 0 / 459.4 MB, free: 12.76 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04159/0.6541, allocations: 8.282 MB / 467.7 MB, free: 4.477 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002864/0.6544, allocations: 185.6 kB / 467.9 MB, free: 4.254 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/3.33, allocations: 0 / 467.9 MB, free: 4.254 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test22_res.mat does not exist to compare? outputFormat=mat