Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.237e-05/4.218e-05, allocations: 8 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4158/0.5168, allocations: 75.78 MB / 397.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5171, allocations: 71.95 kB / 397.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01788/0.535, allocations: 4.054 MB / 401.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.535, allocations: 0 / 401.8 MB, free: 9.617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.5351, allocations: 4 kB / 401.8 MB, free: 9.613 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.000531/0.5356, allocations: 423.8 kB / 402.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.5357, allocations: 8.031 kB / 402.2 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/0.5357, allocations: 38.56 kB / 402.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.5358, allocations: 7.906 kB / 402.3 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.5361, allocations: 202.8 kB / 402.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.5361, allocations: 0 / 402.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.5361, allocations: 4 kB / 402.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.5363, allocations: 45.67 kB / 402.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.5363, allocations: 0 / 402.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.5363, allocations: 8 kB / 402.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5363, allocations: 3.984 kB / 402.5 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.5364, allocations: 19.88 kB / 402.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.5369, allocations: 292.9 kB / 402.8 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.5371, allocations: 42.56 kB / 402.9 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.5372, allocations: 8.859 kB / 402.9 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.5372, allocations: 4 kB / 402.9 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.5374, allocations: 67.42 kB / 402.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.5374, allocations: 0 / 402.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004553/0.5379, allocations: 109.3 kB / 403.1 MB, free: 8.168 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.5379, allocations: 51.41 kB / 403.1 MB, free: 8.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.5382, allocations: 174.8 kB / 403.3 MB, free: 7.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.5382, allocations: 33.7 kB / 403.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.5383, allocations: 96.14 kB / 403.4 MB, free: 7.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.5383, allocations: 19.8 kB / 403.4 MB, free: 7.773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.5384, allocations: 0 / 403.4 MB, free: 7.773 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5385, allocations: 322.8 kB / 403.7 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.5386, allocations: 23.94 kB / 403.8 MB, free: 7.426 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/0.5387, allocations: 20 kB / 403.8 MB, free: 7.406 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.5388, allocations: 53.69 kB / 403.8 MB, free: 7.348 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5388, allocations: 0 / 403.8 MB, free: 7.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002844/0.5391, allocations: 131.2 kB / 404 MB, free: 7.207 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.5392, allocations: 41.7 kB / 404 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5392, allocations: 0 / 404 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5392, allocations: 0 / 404 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.96e-05/0.5393, allocations: 11.94 kB / 404 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.5393, allocations: 3.953 kB / 404 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.5394, allocations: 11.92 kB / 404 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.5394, allocations: 4.094 kB / 404 MB, free: 7.129 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 8.489e-05/0.5395, allocations: 113.2 kB / 404.1 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.5396, allocations: 7.906 kB / 404.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.5398, allocations: 85.89 kB / 404.2 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5398, allocations: 4 kB / 404.2 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.5399, allocations: 4 kB / 404.2 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5399, allocations: 3.953 kB / 404.2 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.5404, allocations: 354.5 kB / 404.6 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5404, allocations: 0 / 404.6 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.5405, allocations: 8 kB / 404.6 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5405, allocations: 0 / 404.6 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.5405, allocations: 4 kB / 404.6 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5405, allocations: 7.953 kB / 404.6 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5405, allocations: 0 / 404.6 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.5408, allocations: 175.4 kB / 404.8 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.5408, allocations: 92.92 kB / 404.9 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.5409, allocations: 0 / 404.9 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.541, allocations: 7.984 kB / 404.9 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.541, allocations: 7.953 kB / 404.9 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.5411, allocations: 8 kB / 404.9 MB, free: 6.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.5413, allocations: 135.2 kB / 405 MB, free: 6.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5413, allocations: 0 / 405 MB, free: 6.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003816/0.5417, allocations: 35.94 kB / 405.1 MB, free: 5.996 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.001362/0.543, allocations: 0.9482 MB / 406 MB, free: 5.078 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.5433, allocations: 119.3 kB / 406.1 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5433, allocations: 0 / 406.1 MB, free: 4.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.5434, allocations: 19.94 kB / 406.1 MB, free: 4.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.5437, allocations: 23.84 kB / 406.2 MB, free: 4.906 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006472/0.5444, allocations: 203.6 kB / 406.4 MB, free: 4.672 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.5447, allocations: 0.7043 MB / 407.1 MB, free: 3.941 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.5448, allocations: 8 kB / 407.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.5449, allocations: 31.42 kB / 407.1 MB, free: 3.902 MB / 330.7 MB Notification: Performance of SimCode: time 9.51e-07/0.5449, allocations: 0 / 407.1 MB, free: 3.902 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.5706, allocations: 2.711 MB / 409.8 MB, free: 1.238 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/0.5709, allocations: 190.4 kB / 410 MB, free: 1.012 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.775, allocations: 0 / 410 MB, free: 1.012 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat