Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.613/2.613, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.03e-05/5.04e-05, allocations: 8 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1524, allocations: 61.9 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5929/0.7453, allocations: 89.27 MB / 499.6 MB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.7457, allocations: 71.97 kB / 499.7 MB, free: 14.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02977/0.7755, allocations: 5.832 MB / 0.4937 GB, free: 8.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7756, allocations: 0 / 0.4937 GB, free: 8.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.594e-05/0.7756, allocations: 4 kB / 0.4937 GB, free: 8.816 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.0007098/0.7763, allocations: 414.2 kB / 0.4941 GB, free: 8.367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.7764, allocations: 8.031 kB / 0.4941 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/0.7765, allocations: 38.56 kB / 0.4941 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.7765, allocations: 11.81 kB / 0.4942 GB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/0.777, allocations: 234.4 kB / 0.4944 GB, free: 8.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.7771, allocations: 7.953 kB / 0.4944 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.7771, allocations: 0 / 0.4944 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.7773, allocations: 53.67 kB / 0.4944 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.7773, allocations: 3.938 kB / 0.4944 GB, free: 7.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.7774, allocations: 4 kB / 0.4944 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7774, allocations: 0 / 0.4944 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/0.7775, allocations: 19.98 kB / 0.4945 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.7781, allocations: 316.9 kB / 0.4948 GB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.7782, allocations: 58.56 kB / 0.4948 GB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.7783, allocations: 16.98 kB / 0.4948 GB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.7784, allocations: 0 / 0.4948 GB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.7785, allocations: 67.39 kB / 0.4949 GB, free: 7.414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.7786, allocations: 4 kB / 0.4949 GB, free: 7.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006704/0.7792, allocations: 165 kB / 0.4951 GB, free: 7.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.7793, allocations: 59.39 kB / 0.4951 GB, free: 7.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.7798, allocations: 230.5 kB / 0.4953 GB, free: 6.934 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.7798, allocations: 33.7 kB / 0.4954 GB, free: 6.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.7799, allocations: 104.1 kB / 0.4955 GB, free: 6.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.78, allocations: 23.66 kB / 0.4955 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.78, allocations: 4 kB / 0.4955 GB, free: 6.762 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.7802, allocations: 338.8 kB / 0.4958 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.814e-05/0.7803, allocations: 20 kB / 0.4958 GB, free: 6.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.328e-05/0.7803, allocations: 29.72 kB / 0.4959 GB, free: 6.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.7805, allocations: 27.92 kB / 0.4959 GB, free: 6.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7805, allocations: 0 / 0.4959 GB, free: 6.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003837/0.7809, allocations: 101.5 kB / 0.496 GB, free: 6.234 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.7809, allocations: 4 kB / 0.496 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.781, allocations: 0 / 0.496 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.781, allocations: 8.031 kB / 0.496 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.7812, allocations: 19.92 kB / 0.496 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.7812, allocations: 0 / 0.496 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.7814, allocations: 4 kB / 0.496 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.7814, allocations: 4 kB / 0.496 GB, free: 6.195 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 0.0001335/0.7816, allocations: 112.9 kB / 0.4961 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.7816, allocations: 19.8 kB / 0.4962 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.7821, allocations: 123.3 kB / 0.4963 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.7822, allocations: 4.094 kB / 0.4963 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7822, allocations: 3.938 kB / 0.4963 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7822, allocations: 0 / 0.4963 GB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009517/0.7831, allocations: 427.2 kB / 0.4967 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.7832, allocations: 4 kB / 0.4967 GB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.7833, allocations: 11.98 kB / 0.4967 GB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.7833, allocations: 0 / 0.4967 GB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.7834, allocations: 4 kB / 0.4967 GB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.7834, allocations: 11.97 kB / 0.4967 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7834, allocations: 0 / 0.4967 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.7838, allocations: 218 kB / 0.4969 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.784, allocations: 104.9 kB / 0.497 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.7841, allocations: 0 / 0.497 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.7843, allocations: 8 kB / 0.497 GB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.7844, allocations: 15.94 kB / 0.4971 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.7844, allocations: 4 kB / 0.4971 GB, free: 5.027 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004056/0.7848, allocations: 196.2 kB / 0.4972 GB, free: 4.836 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7848, allocations: 0 / 0.4972 GB, free: 4.836 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006741/0.7855, allocations: 39.92 kB / 0.4973 GB, free: 4.797 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.002781/0.7883, allocations: 1.174 MB / 0.4984 GB, free: 3.723 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003294/0.7887, allocations: 52 kB / 0.4985 GB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.7887, allocations: 0 / 0.4985 GB, free: 3.672 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.7889, allocations: 35.92 kB / 0.4985 GB, free: 3.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005954/0.7895, allocations: 31.84 kB / 0.4985 GB, free: 3.605 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.7909, allocations: 296.4 kB / 0.4988 GB, free: 3.277 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.7914, allocations: 0.7199 MB / 0.4995 GB, free: 2.531 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.7916, allocations: 24.41 kB / 0.4995 GB, free: 2.504 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.7918, allocations: 47.42 kB / 0.4996 GB, free: 2.457 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.7918, allocations: 0 / 0.4996 GB, free: 2.457 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06328/0.8551, allocations: 3.42 MB / 0.5029 GB, free: 15.12 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002936/0.8554, allocations: 196.6 kB / 0.5031 GB, free: 14.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/3.613, allocations: 0 / 0.5031 GB, free: 14.89 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat