Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.879/1.879, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.473e-05, allocations: 8 kB / 273.2 MB, free: 132 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 48.7 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4303/0.5338, allocations: 75.77 MB / 397.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.5341, allocations: 71.95 kB / 397.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01918/0.5533, allocations: 4.128 MB / 401.9 MB, free: 9.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5533, allocations: 0 / 401.9 MB, free: 9.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.5534, allocations: 11.94 kB / 401.9 MB, free: 9.625 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005625/0.554, allocations: 412 kB / 402.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.554, allocations: 8.031 kB / 402.3 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.5541, allocations: 34.56 kB / 402.3 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.5541, allocations: 11.89 kB / 402.3 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.5545, allocations: 214.3 kB / 402.5 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.5545, allocations: 0 / 402.5 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.5545, allocations: 7.938 kB / 402.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.5547, allocations: 41.69 kB / 402.6 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.5547, allocations: 4 kB / 402.6 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5547, allocations: 0 / 402.6 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.5547, allocations: 0 / 402.6 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.003e-05/0.5548, allocations: 19.97 kB / 402.6 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.5553, allocations: 292.9 kB / 402.9 MB, free: 8.449 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.5556, allocations: 50.52 kB / 402.9 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.5557, allocations: 12.94 kB / 403 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.5557, allocations: 0 / 403 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.5559, allocations: 59.41 kB / 403 MB, free: 8.305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.064e-06/0.5559, allocations: 0 / 403 MB, free: 8.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004993/0.5564, allocations: 121.2 kB / 403.1 MB, free: 8.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.5564, allocations: 55.41 kB / 403.2 MB, free: 8.113 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.5567, allocations: 177.3 kB / 403.4 MB, free: 7.934 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.5568, allocations: 29.69 kB / 403.4 MB, free: 7.898 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.5569, allocations: 100.1 kB / 403.5 MB, free: 7.797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.5569, allocations: 15.8 kB / 403.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.5569, allocations: 7.938 kB / 403.5 MB, free: 7.773 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5571, allocations: 314.8 kB / 403.8 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.5572, allocations: 31.92 kB / 403.8 MB, free: 7.426 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.5573, allocations: 24 kB / 403.9 MB, free: 7.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.5574, allocations: 53.69 kB / 403.9 MB, free: 7.344 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5574, allocations: 0 / 403.9 MB, free: 7.344 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003075/0.5577, allocations: 127.2 kB / 404 MB, free: 7.207 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.5578, allocations: 41.69 kB / 404.1 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5578, allocations: 0 / 404.1 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5578, allocations: 0 / 404.1 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.5579, allocations: 8 kB / 404.1 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.558, allocations: 3.953 kB / 404.1 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.558, allocations: 4 kB / 404.1 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.5581, allocations: 11.98 kB / 404.1 MB, free: 7.133 MB / 330.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 0.0001015/0.5582, allocations: 109.3 kB / 404.2 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.5582, allocations: 11.81 kB / 404.2 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.5585, allocations: 85.7 kB / 404.3 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5585, allocations: 0 / 404.3 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5586, allocations: 4 kB / 404.3 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5586, allocations: 3.953 kB / 404.3 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.5591, allocations: 358.6 kB / 404.7 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.5592, allocations: 4 kB / 404.7 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.501e-05/0.5592, allocations: 7.938 kB / 404.7 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5593, allocations: 0 / 404.7 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.5593, allocations: 4 kB / 404.7 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.5593, allocations: 4.047 kB / 404.7 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5593, allocations: 7.922 kB / 404.7 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.5596, allocations: 167.5 kB / 404.9 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.711e-05/0.5597, allocations: 93.02 kB / 405 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.5597, allocations: 8.234 kB / 405 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.5598, allocations: 4 kB / 405 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.5599, allocations: 7.953 kB / 405 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.5599, allocations: 4 kB / 405 MB, free: 6.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002037/0.5601, allocations: 148.9 kB / 405.1 MB, free: 6.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5601, allocations: 0 / 405.1 MB, free: 6.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004117/0.5605, allocations: 43.92 kB / 405.2 MB, free: 5.977 MB / 330.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001521/0.5621, allocations: 0.9546 MB / 406.1 MB, free: 5.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.5624, allocations: 119.3 kB / 406.2 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5624, allocations: 0 / 406.2 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.5625, allocations: 16 kB / 406.3 MB, free: 4.906 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.5629, allocations: 19.94 kB / 406.3 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007695/0.5637, allocations: 215.3 kB / 406.5 MB, free: 4.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.5641, allocations: 0.7115 MB / 407.2 MB, free: 3.906 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.958e-05/0.5642, allocations: 12 kB / 407.2 MB, free: 3.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.5643, allocations: 31.42 kB / 407.2 MB, free: 3.863 MB / 330.7 MB Notification: Performance of SimCode: time 3.537e-06/0.5643, allocations: 0 / 407.2 MB, free: 3.863 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.59, allocations: 2.778 MB / 410 MB, free: 1.133 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003393/0.5904, allocations: 194.4 kB / 410.2 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/2.998, allocations: 3.938 kB / 410.2 MB, free: 0.8984 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat