Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.849/1.849, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.768e-05, allocations: 7.984 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4327/0.5394, allocations: 75.77 MB / 397.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.5398, allocations: 67.97 kB / 397.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01752/0.5573, allocations: 4.143 MB / 401.8 MB, free: 9.551 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5573, allocations: 0 / 401.8 MB, free: 9.551 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.5574, allocations: 4 kB / 401.8 MB, free: 9.547 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.0005473/0.5579, allocations: 419.9 kB / 402.3 MB, free: 9.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.558, allocations: 8.031 kB / 402.3 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.558, allocations: 30.56 kB / 402.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.5581, allocations: 11.91 kB / 402.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.5584, allocations: 212.7 kB / 402.5 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.5585, allocations: 0 / 402.5 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.5585, allocations: 4 kB / 402.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.5586, allocations: 45.67 kB / 402.6 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5587, allocations: 0 / 402.6 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.5587, allocations: 3.984 kB / 402.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5587, allocations: 4 kB / 402.6 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.5588, allocations: 15.94 kB / 402.6 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.5593, allocations: 296.9 kB / 402.9 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.5595, allocations: 42.56 kB / 402.9 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/0.5596, allocations: 12.86 kB / 402.9 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.5596, allocations: 0 / 402.9 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.5598, allocations: 67.42 kB / 403 MB, free: 8.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.5598, allocations: 0 / 403 MB, free: 8.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004454/0.5602, allocations: 113.2 kB / 403.1 MB, free: 8.102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.5603, allocations: 51.41 kB / 403.2 MB, free: 8.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.5606, allocations: 186.1 kB / 403.3 MB, free: 7.852 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.5607, allocations: 25.7 kB / 403.4 MB, free: 7.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.5608, allocations: 104.1 kB / 403.5 MB, free: 7.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.5608, allocations: 11.81 kB / 403.5 MB, free: 7.703 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.5608, allocations: 0 / 403.5 MB, free: 7.703 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.561, allocations: 322.8 kB / 403.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.5611, allocations: 31.94 kB / 403.8 MB, free: 7.348 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.5612, allocations: 23.98 kB / 403.8 MB, free: 7.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.5613, allocations: 53.73 kB / 403.9 MB, free: 7.266 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5613, allocations: 0 / 403.9 MB, free: 7.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000288/0.5616, allocations: 131.2 kB / 404 MB, free: 7.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.5617, allocations: 33.7 kB / 404.1 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5617, allocations: 3.984 kB / 404.1 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5617, allocations: 0 / 404.1 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.5618, allocations: 8 kB / 404.1 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.5618, allocations: 3.953 kB / 404.1 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/0.5619, allocations: 8 kB / 404.1 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.5619, allocations: 4 kB / 404.1 MB, free: 7.059 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 9.064e-05/0.562, allocations: 109.3 kB / 404.2 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.5621, allocations: 15.8 kB / 404.2 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.5623, allocations: 89.69 kB / 404.3 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.5624, allocations: 4.125 kB / 404.3 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.5624, allocations: 4 kB / 404.3 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5624, allocations: 3.953 kB / 404.3 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.5629, allocations: 362.6 kB / 404.7 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5629, allocations: 0 / 404.7 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.563, allocations: 7.938 kB / 404.7 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.563, allocations: 0 / 404.7 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.563, allocations: 4 kB / 404.7 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.563, allocations: 3.953 kB / 404.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.563, allocations: 0 / 404.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.5633, allocations: 175.4 kB / 404.8 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.5634, allocations: 93.02 kB / 404.9 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.5634, allocations: 0 / 404.9 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.5635, allocations: 7.984 kB / 404.9 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.5636, allocations: 3.953 kB / 405 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.5636, allocations: 4 kB / 405 MB, free: 6.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.5638, allocations: 155.9 kB / 405.1 MB, free: 5.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5638, allocations: 0 / 405.1 MB, free: 5.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.5642, allocations: 43.92 kB / 405.2 MB, free: 5.891 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.001427/0.5656, allocations: 0.9623 MB / 406.1 MB, free: 4.957 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.5659, allocations: 111.3 kB / 406.2 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5659, allocations: 0 / 406.2 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.566, allocations: 23.98 kB / 406.2 MB, free: 4.812 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.5662, allocations: 23.27 kB / 406.3 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.5669, allocations: 223.3 kB / 406.5 MB, free: 4.539 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.5673, allocations: 0.7004 MB / 407.2 MB, free: 3.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.272e-05/0.5673, allocations: 15.98 kB / 407.2 MB, free: 3.797 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.5674, allocations: 31.42 kB / 407.2 MB, free: 3.766 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5674, allocations: 0 / 407.2 MB, free: 3.766 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.5914, allocations: 2.784 MB / 410 MB, free: 1.031 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/0.5918, allocations: 186.5 kB / 410.2 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.905, allocations: 3.938 kB / 410.2 MB, free: 0.8047 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat