Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.911/1.911, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.344e-05, allocations: 11.94 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 48.7 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4438/0.5474, allocations: 75.3 MB / 391.6 MB, free: 1.145 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.5477, allocations: 71.89 kB / 391.7 MB, free: 1.109 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01691/0.5647, allocations: 3.936 MB / 395.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5647, allocations: 0 / 395.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.5647, allocations: 4 kB / 395.6 MB, free: 13.81 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.000549/0.5653, allocations: 419.4 kB / 396.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.5654, allocations: 12.03 kB / 396.1 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.5654, allocations: 7.906 kB / 396.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.5658, allocations: 202.5 kB / 396.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.5658, allocations: 4 kB / 396.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.5658, allocations: 4 kB / 396.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.856e-05/0.5659, allocations: 15.86 kB / 396.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.566, allocations: 41.56 kB / 396.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5661, allocations: 7.938 kB / 396.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.5661, allocations: 0 / 396.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.5661, allocations: 0 / 396.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.5665, allocations: 268.8 kB / 396.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.5668, allocations: 46.19 kB / 396.6 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.5669, allocations: 16.67 kB / 396.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.5669, allocations: 0 / 396.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.567, allocations: 54.98 kB / 396.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.567, allocations: 0 / 396.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004274/0.5675, allocations: 108.6 kB / 396.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.5675, allocations: 51.41 kB / 396.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.5678, allocations: 171.3 kB / 397 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.5678, allocations: 25.7 kB / 397.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.5679, allocations: 99.5 kB / 397.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.5679, allocations: 15.56 kB / 397.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-06/0.5679, allocations: 0 / 397.2 MB, free: 12.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5681, allocations: 326.7 kB / 397.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.5681, allocations: 19.69 kB / 397.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.5682, allocations: 23.55 kB / 397.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.78e-05/0.5683, allocations: 27.62 kB / 397.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5683, allocations: 3.938 kB / 397.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002388/0.5686, allocations: 92.95 kB / 397.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.5686, allocations: 36.05 kB / 397.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5687, allocations: 0 / 397.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5687, allocations: 0 / 397.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.5688, allocations: 11.98 kB / 397.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.5688, allocations: 0 / 397.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.5689, allocations: 7.938 kB / 397.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.5689, allocations: 4.094 kB / 397.7 MB, free: 11.65 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.882e-05/0.569, allocations: 116.8 kB / 397.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001635/0.5692, allocations: 72.78 kB / 397.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.5692, allocations: 11.89 kB / 397.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.5695, allocations: 81.58 kB / 398 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.5695, allocations: 0 / 398 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5695, allocations: 3.938 kB / 398 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.5695, allocations: 7.953 kB / 398 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.57, allocations: 330 kB / 398.3 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.57, allocations: 4 kB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.5701, allocations: 8.141 kB / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.5701, allocations: 0 / 398.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.5701, allocations: 7.969 kB / 398.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5701, allocations: 0 / 398.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5701, allocations: 3.953 kB / 398.4 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.5704, allocations: 174.9 kB / 398.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-05/0.5704, allocations: 89 kB / 398.6 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.5705, allocations: 8 kB / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.462e-05/0.5706, allocations: 0 / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.5707, allocations: 7.953 kB / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.5707, allocations: 3.875 kB / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001773/0.5709, allocations: 131.4 kB / 398.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5709, allocations: 0 / 398.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000398/0.5713, allocations: 35.92 kB / 398.8 MB, free: 10.56 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.001293/0.5726, allocations: 0.9092 MB / 399.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.5728, allocations: 106.4 kB / 399.8 MB, free: 9.578 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5729, allocations: 0 / 399.8 MB, free: 9.578 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.435e-05/0.5729, allocations: 25.48 kB / 399.8 MB, free: 9.559 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.5733, allocations: 10.69 kB / 399.8 MB, free: 9.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007779/0.5741, allocations: 199.7 kB / 400 MB, free: 9.336 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.5745, allocations: 0.7075 MB / 400.7 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.626e-05/0.5746, allocations: 12 kB / 400.8 MB, free: 8.594 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.5747, allocations: 30.17 kB / 400.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5747, allocations: 0 / 400.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04233/0.6171, allocations: 2.38 MB / 403.2 MB, free: 6.199 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/0.6174, allocations: 162.2 kB / 403.3 MB, free: 6.008 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.864, allocations: 0 / 403.3 MB, free: 6.008 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat