Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.512/2.512, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.609e-05/4.621e-05, allocations: 4 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4051, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.5676, allocations: 87.62 MB / 469.9 MB, free: 4.789 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5679, allocations: 75.95 kB / 470 MB, free: 4.715 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02563/0.5935, allocations: 5.429 MB / 475.4 MB, free: 15.28 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5936, allocations: 0 / 475.4 MB, free: 15.28 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.5936, allocations: 4 kB / 475.4 MB, free: 15.28 MB / 410.8 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.0006434/0.5943, allocations: 406.2 kB / 475.8 MB, free: 14.84 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.5944, allocations: 8.031 kB / 475.8 MB, free: 14.83 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/0.5945, allocations: 38.56 kB / 475.9 MB, free: 14.78 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.5945, allocations: 11.81 kB / 475.9 MB, free: 14.77 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.595, allocations: 218.8 kB / 476.1 MB, free: 14.52 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.595, allocations: 0 / 476.1 MB, free: 14.52 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.595, allocations: 4 kB / 476.1 MB, free: 14.51 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.5952, allocations: 53.67 kB / 476.2 MB, free: 14.45 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5952, allocations: 0 / 476.2 MB, free: 14.45 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.5953, allocations: 4 kB / 476.2 MB, free: 14.45 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5953, allocations: 0 / 476.2 MB, free: 14.45 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.5954, allocations: 19.98 kB / 476.2 MB, free: 14.43 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.5959, allocations: 304.7 kB / 476.5 MB, free: 14.08 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.5961, allocations: 62.67 kB / 476.5 MB, free: 14.01 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.215e-05/0.5962, allocations: 16.98 kB / 476.6 MB, free: 13.99 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.5962, allocations: 4 kB / 476.6 MB, free: 13.99 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.5964, allocations: 67.39 kB / 476.6 MB, free: 13.91 MB / 410.8 MB Notification: Performance of pre-optimization done (n=6): time 2.365e-06/0.5964, allocations: 0 / 476.6 MB, free: 13.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0006447/0.5971, allocations: 161.1 kB / 476.8 MB, free: 13.75 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.5971, allocations: 51.41 kB / 476.8 MB, free: 13.68 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.5974, allocations: 193.5 kB / 477 MB, free: 13.48 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.5975, allocations: 29.64 kB / 477.1 MB, free: 13.45 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.5976, allocations: 108.1 kB / 477.2 MB, free: 13.34 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.5976, allocations: 23.7 kB / 477.2 MB, free: 13.32 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-06/0.5976, allocations: 0 / 477.2 MB, free: 13.32 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5978, allocations: 326.8 kB / 477.5 MB, free: 12.99 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.5979, allocations: 16 kB / 477.5 MB, free: 12.97 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-05/0.598, allocations: 41.58 kB / 477.6 MB, free: 12.93 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.194e-05/0.5981, allocations: 20 kB / 477.6 MB, free: 12.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5981, allocations: 4 kB / 477.6 MB, free: 12.9 MB / 410.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002528/0.5984, allocations: 105.5 kB / 477.7 MB, free: 12.79 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5984, allocations: 4 kB / 477.7 MB, free: 12.79 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.5984, allocations: 0 / 477.7 MB, free: 12.79 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5984, allocations: 0 / 477.7 MB, free: 12.79 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.5986, allocations: 19.94 kB / 477.7 MB, free: 12.77 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.5986, allocations: 7.938 kB / 477.7 MB, free: 12.76 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.5987, allocations: 7.938 kB / 477.7 MB, free: 12.75 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.5988, allocations: 4 kB / 477.7 MB, free: 12.75 MB / 410.8 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 9.132e-05/0.5989, allocations: 109 kB / 477.8 MB, free: 12.64 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.5989, allocations: 11.91 kB / 477.9 MB, free: 12.62 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.5993, allocations: 119.1 kB / 478 MB, free: 12.5 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5993, allocations: 0 / 478 MB, free: 12.5 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5993, allocations: 0 / 478 MB, free: 12.5 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.5993, allocations: 3.953 kB / 478 MB, free: 12.5 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006672/0.6, allocations: 415.2 kB / 478.4 MB, free: 12.03 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6, allocations: 4.031 kB / 478.4 MB, free: 12.03 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.495e-05/0.6001, allocations: 8 kB / 478.4 MB, free: 12.02 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.6001, allocations: 4 kB / 478.4 MB, free: 12.02 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.6001, allocations: 7.953 kB / 478.4 MB, free: 12.01 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6001, allocations: 0 / 478.4 MB, free: 12.01 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6002, allocations: 4 kB / 478.4 MB, free: 12 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.6005, allocations: 218 kB / 478.6 MB, free: 11.77 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.844e-05/0.6006, allocations: 92.91 kB / 478.7 MB, free: 11.66 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.6007, allocations: 7.953 kB / 478.7 MB, free: 11.65 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.6008, allocations: 8.172 kB / 478.7 MB, free: 11.64 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.6008, allocations: 4.375 kB / 478.7 MB, free: 11.64 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.6009, allocations: 8 kB / 478.7 MB, free: 11.63 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002333/0.6011, allocations: 160.2 kB / 478.9 MB, free: 11.47 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.256e-06/0.6011, allocations: 0 / 478.9 MB, free: 11.47 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003964/0.6015, allocations: 39.86 kB / 478.9 MB, free: 11.43 MB / 410.8 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.001942/0.6035, allocations: 1.151 MB / 480.1 MB, free: 10.33 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.6038, allocations: 59.92 kB / 480.1 MB, free: 10.27 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6038, allocations: 0 / 480.1 MB, free: 10.27 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.6039, allocations: 28 kB / 480.2 MB, free: 10.24 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.6043, allocations: 28.36 kB / 480.2 MB, free: 10.21 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.6052, allocations: 252.5 kB / 480.4 MB, free: 9.93 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.6056, allocations: 0.7082 MB / 481.2 MB, free: 9.195 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.6057, allocations: 20.53 kB / 481.2 MB, free: 9.176 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.6058, allocations: 43.42 kB / 481.2 MB, free: 9.133 MB / 410.8 MB Notification: Performance of SimCode: time 1.052e-06/0.6058, allocations: 0 / 481.2 MB, free: 9.133 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.6358, allocations: 3.136 MB / 484.3 MB, free: 6.027 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003183/0.6362, allocations: 189.2 kB / 484.5 MB, free: 5.801 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/2.969, allocations: 0 / 484.5 MB, free: 5.801 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat