Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.478/2.478, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.318e-05/5.334e-05, allocations: 8 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.14, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5215/0.6616, allocations: 89.28 MB / 499.6 MB, free: 14.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.6619, allocations: 76.58 kB / 499.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02489/0.6868, allocations: 5.498 MB / 0.4934 GB, free: 9.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6868, allocations: 4 kB / 0.4934 GB, free: 9.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.6869, allocations: 0 / 0.4934 GB, free: 9.109 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005768/0.6875, allocations: 402.2 kB / 0.4938 GB, free: 8.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.6875, allocations: 12.03 kB / 0.4938 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.252e-05/0.6876, allocations: 30.56 kB / 0.4938 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.6876, allocations: 7.906 kB / 0.4938 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.688, allocations: 210.8 kB / 0.494 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.6881, allocations: 3.953 kB / 0.494 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.6881, allocations: 12 kB / 0.494 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.6883, allocations: 49.67 kB / 0.4941 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.6883, allocations: 0 / 0.4941 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.6883, allocations: 7.938 kB / 0.4941 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.6883, allocations: 7.938 kB / 0.4941 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.92e-05/0.6884, allocations: 15.98 kB / 0.4941 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.6889, allocations: 292.9 kB / 0.4944 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.6891, allocations: 54.69 kB / 0.4944 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.6892, allocations: 20.98 kB / 0.4945 GB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.6892, allocations: 0 / 0.4945 GB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.6894, allocations: 71.33 kB / 0.4945 GB, free: 7.762 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.6894, allocations: 3.938 kB / 0.4945 GB, free: 7.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006014/0.69, allocations: 161.2 kB / 0.4947 GB, free: 7.594 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.6901, allocations: 63.34 kB / 0.4947 GB, free: 7.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.6903, allocations: 170 kB / 0.4949 GB, free: 7.352 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.6904, allocations: 25.7 kB / 0.4949 GB, free: 7.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.6904, allocations: 104.1 kB / 0.495 GB, free: 7.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.6905, allocations: 19.72 kB / 0.495 GB, free: 7.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.6905, allocations: 0 / 0.495 GB, free: 7.195 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6907, allocations: 330.8 kB / 0.4954 GB, free: 6.863 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.868e-05/0.6907, allocations: 12 kB / 0.4954 GB, free: 6.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.6908, allocations: 41.7 kB / 0.4954 GB, free: 6.805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.6909, allocations: 20 kB / 0.4954 GB, free: 6.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.6909, allocations: 0 / 0.4954 GB, free: 6.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002376/0.6912, allocations: 105.4 kB / 0.4955 GB, free: 6.676 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.6912, allocations: 8 kB / 0.4955 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6912, allocations: 0 / 0.4955 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.6912, allocations: 0 / 0.4955 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.6914, allocations: 15.98 kB / 0.4956 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.6914, allocations: 4.031 kB / 0.4956 GB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.6915, allocations: 7.938 kB / 0.4956 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.6915, allocations: 8 kB / 0.4956 GB, free: 6.633 MB / 410.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.842e-05/0.6916, allocations: 116.9 kB / 0.4957 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.6917, allocations: 7.906 kB / 0.4957 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003083/0.692, allocations: 114.3 kB / 0.4958 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.692, allocations: 0 / 0.4958 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.692, allocations: 0 / 0.4958 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.6921, allocations: 0 / 0.4958 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.6927, allocations: 407.3 kB / 0.4962 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6927, allocations: 0 / 0.4962 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.6928, allocations: 23.86 kB / 0.4962 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.6928, allocations: 0 / 0.4962 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.6928, allocations: 288 / 0.4962 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.6928, allocations: 4 kB / 0.4962 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6928, allocations: 0 / 0.4962 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.6932, allocations: 233.8 kB / 0.4964 GB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/0.6933, allocations: 93 kB / 0.4965 GB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.6933, allocations: 0 / 0.4965 GB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.6934, allocations: 4 kB / 0.4965 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.6935, allocations: 11.94 kB / 0.4965 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.6935, allocations: 8 kB / 0.4966 GB, free: 5.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.6937, allocations: 147.8 kB / 0.4967 GB, free: 5.379 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6938, allocations: 0 / 0.4967 GB, free: 5.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003638/0.6941, allocations: 24 kB / 0.4967 GB, free: 5.355 MB / 410.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00195/0.6961, allocations: 1.17 MB / 0.4979 GB, free: 4.285 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.6964, allocations: 59.92 kB / 0.4979 GB, free: 4.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.6964, allocations: 0 / 0.4979 GB, free: 4.227 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.203e-05/0.6965, allocations: 31.88 kB / 0.4979 GB, free: 4.195 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.6969, allocations: 40.17 kB / 0.498 GB, free: 4.156 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007861/0.6977, allocations: 220.1 kB / 0.4982 GB, free: 3.895 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.6981, allocations: 0.7043 MB / 0.4989 GB, free: 3.164 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.494e-05/0.6982, allocations: 20.41 kB / 0.4989 GB, free: 3.145 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.6983, allocations: 35.42 kB / 0.4989 GB, free: 3.109 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6983, allocations: 0 / 0.4989 GB, free: 3.109 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.7273, allocations: 2.986 MB / 0.5019 GB, free: 208 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004851/0.7279, allocations: 193.8 kB / 0.502 GB, free: 15.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.16, allocations: 0 / 0.502 GB, free: 15.98 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat