Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.511/2.511, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.685e-05, allocations: 6.656 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3858, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.5497, allocations: 87.61 MB / 469.9 MB, free: 4.789 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004459/0.5503, allocations: 71.97 kB / 470 MB, free: 4.719 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02744/0.5778, allocations: 5.429 MB / 475.4 MB, free: 15.29 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.669e-06/0.5778, allocations: 0 / 475.4 MB, free: 15.29 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.5779, allocations: 3.938 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.0005995/0.5785, allocations: 406.2 kB / 475.8 MB, free: 14.84 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5785, allocations: 8.031 kB / 475.8 MB, free: 14.83 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.942e-05/0.5786, allocations: 30.56 kB / 475.9 MB, free: 14.79 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.5787, allocations: 15.81 kB / 475.9 MB, free: 14.78 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.5791, allocations: 218.8 kB / 476.1 MB, free: 14.52 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.5791, allocations: 4 kB / 476.1 MB, free: 14.52 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.5791, allocations: 4 kB / 476.1 MB, free: 14.52 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.5793, allocations: 53.67 kB / 476.2 MB, free: 14.46 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5793, allocations: 7.984 kB / 476.2 MB, free: 14.45 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.5794, allocations: 4 kB / 476.2 MB, free: 14.45 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5794, allocations: 4 kB / 476.2 MB, free: 14.44 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-05/0.5795, allocations: 16 kB / 476.2 MB, free: 14.43 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.58, allocations: 296.8 kB / 476.5 MB, free: 14.09 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.5802, allocations: 54.62 kB / 476.5 MB, free: 14.02 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.422e-05/0.5802, allocations: 28.92 kB / 476.6 MB, free: 13.99 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.5803, allocations: 3.938 kB / 476.6 MB, free: 13.99 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.5805, allocations: 63.39 kB / 476.6 MB, free: 13.91 MB / 410.8 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.5805, allocations: 0 / 476.6 MB, free: 13.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0006024/0.5811, allocations: 161.1 kB / 476.8 MB, free: 13.75 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.5812, allocations: 55.41 kB / 476.8 MB, free: 13.68 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.5815, allocations: 193.5 kB / 477 MB, free: 13.48 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.5815, allocations: 33.7 kB / 477.1 MB, free: 13.45 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.5816, allocations: 100.1 kB / 477.2 MB, free: 13.34 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.5817, allocations: 23.7 kB / 477.2 MB, free: 13.32 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-06/0.5817, allocations: 4 kB / 477.2 MB, free: 13.32 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5818, allocations: 322.8 kB / 477.5 MB, free: 12.99 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.494e-05/0.5819, allocations: 20 kB / 477.5 MB, free: 12.97 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.582, allocations: 41.64 kB / 477.6 MB, free: 12.93 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.133e-05/0.5821, allocations: 20 kB / 477.6 MB, free: 12.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5821, allocations: 0 / 477.6 MB, free: 12.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002434/0.5824, allocations: 97.48 kB / 477.7 MB, free: 12.8 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5824, allocations: 8 kB / 477.7 MB, free: 12.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5824, allocations: 0 / 477.7 MB, free: 12.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5824, allocations: 0 / 477.7 MB, free: 12.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.5826, allocations: 15.94 kB / 477.7 MB, free: 12.78 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5826, allocations: 7.953 kB / 477.7 MB, free: 12.77 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.262e-05/0.5827, allocations: 11.92 kB / 477.7 MB, free: 12.76 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.5827, allocations: 8.031 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.437e-05/0.5829, allocations: 112.3 kB / 477.8 MB, free: 12.64 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.5829, allocations: 7.906 kB / 477.8 MB, free: 12.63 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.5832, allocations: 119.3 kB / 478 MB, free: 12.51 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.5833, allocations: 4 kB / 478 MB, free: 12.5 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5833, allocations: 0 / 478 MB, free: 12.5 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.5833, allocations: 3.953 kB / 478 MB, free: 12.5 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/0.5839, allocations: 423.2 kB / 478.4 MB, free: 12.03 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.584, allocations: 0 / 478.4 MB, free: 12.03 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.584, allocations: 8.281 kB / 478.4 MB, free: 12.02 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.5841, allocations: 0 / 478.4 MB, free: 12.02 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.5841, allocations: 7.953 kB / 478.4 MB, free: 12.01 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.5841, allocations: 4.125 kB / 478.4 MB, free: 12.01 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5841, allocations: 7.938 kB / 478.4 MB, free: 12 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.5844, allocations: 222 kB / 478.6 MB, free: 11.76 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.074e-05/0.5846, allocations: 96.92 kB / 478.7 MB, free: 11.64 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.5846, allocations: 3.953 kB / 478.7 MB, free: 11.64 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.5847, allocations: 7.984 kB / 478.7 MB, free: 11.63 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.5848, allocations: 4 kB / 478.7 MB, free: 11.63 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.5848, allocations: 8 kB / 478.7 MB, free: 11.62 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002213/0.585, allocations: 160.2 kB / 478.9 MB, free: 11.46 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5851, allocations: 0 / 478.9 MB, free: 11.46 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003676/0.5854, allocations: 32 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.001921/0.5874, allocations: 1.155 MB / 480.1 MB, free: 10.32 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.5876, 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.086e-06/0.5876, allocations: 0 / 480.1 MB, free: 10.27 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.399e-05/0.5877, allocations: 36 kB / 480.2 MB, free: 10.23 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.5881, allocations: 23.97 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.0007779/0.5889, allocations: 252.5 kB / 480.5 MB, free: 9.922 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.5893, allocations: 0.7082 MB / 481.2 MB, free: 9.188 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.018e-05/0.5894, allocations: 24.59 kB / 481.2 MB, free: 9.164 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.809e-05/0.5895, allocations: 39.42 kB / 481.2 MB, free: 9.125 MB / 410.8 MB Notification: Performance of SimCode: time 9.12e-07/0.5895, allocations: 0 / 481.2 MB, free: 9.125 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.6127, allocations: 3.13 MB / 484.4 MB, free: 6.023 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/0.613, allocations: 186.5 kB / 484.5 MB, free: 5.801 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.966, 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.Test40_res.mat does not exist to compare? outputFormat=mat