Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.01e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4015, allocations: 58.84 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.5628, allocations: 87.59 MB / 469.9 MB, free: 4.918 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.5631, allocations: 71.97 kB / 470 MB, free: 4.848 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02336/0.5865, allocations: 5.174 MB / 475.1 MB, free: 15.67 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5865, allocations: 0 / 475.1 MB, free: 15.67 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.5866, allocations: 0 / 475.1 MB, free: 15.67 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.0005702/0.5871, allocations: 398.1 kB / 475.5 MB, free: 15.23 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.5872, allocations: 8.031 kB / 475.5 MB, free: 15.23 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/0.5873, allocations: 38.56 kB / 475.6 MB, free: 15.18 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.5873, allocations: 7.906 kB / 475.6 MB, free: 15.17 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.5877, allocations: 206.3 kB / 475.8 MB, free: 14.93 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5878, allocations: 12 kB / 475.8 MB, free: 14.92 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.5878, allocations: 0 / 475.8 MB, free: 14.92 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.588, allocations: 53.67 kB / 475.9 MB, free: 14.86 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.588, allocations: 4 kB / 475.9 MB, free: 14.86 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.588, allocations: 0 / 475.9 MB, free: 14.86 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.588, allocations: 0 / 475.9 MB, free: 14.86 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.5881, allocations: 23.92 kB / 475.9 MB, free: 14.84 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.5886, allocations: 292.8 kB / 476.2 MB, free: 14.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.5888, allocations: 54.69 kB / 476.2 MB, free: 14.44 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.5889, allocations: 20.98 kB / 476.2 MB, free: 14.41 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.5889, allocations: 0 / 476.2 MB, free: 14.41 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.5891, allocations: 67.33 kB / 476.3 MB, free: 14.34 MB / 410.8 MB Notification: Performance of pre-optimization done (n=6): time 2.354e-06/0.5891, allocations: 0 / 476.3 MB, free: 14.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0006254/0.5897, allocations: 161.2 kB / 476.5 MB, free: 14.17 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5898, allocations: 55.34 kB / 476.5 MB, free: 14.11 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.59, allocations: 157.4 kB / 476.7 MB, free: 13.95 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.5901, allocations: 29.7 kB / 476.7 MB, free: 13.91 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.5902, allocations: 104.1 kB / 476.8 MB, free: 13.8 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.5902, allocations: 31.58 kB / 476.8 MB, free: 13.77 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.5902, allocations: 4 kB / 476.8 MB, free: 13.77 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5904, allocations: 322.8 kB / 477.2 MB, free: 13.45 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.741e-05/0.5904, allocations: 24 kB / 477.2 MB, free: 13.42 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.5905, allocations: 29.72 kB / 477.2 MB, free: 13.39 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.5906, allocations: 19.98 kB / 477.2 MB, free: 13.37 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5906, allocations: 0 / 477.2 MB, free: 13.37 MB / 410.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002332/0.5909, allocations: 93.72 kB / 477.3 MB, free: 13.27 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.5909, allocations: 11.98 kB / 477.3 MB, free: 13.26 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5909, allocations: 0 / 477.3 MB, free: 13.26 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.591, allocations: 4 kB / 477.3 MB, free: 13.25 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.5911, allocations: 16.03 kB / 477.3 MB, free: 13.24 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.5911, allocations: 7.953 kB / 477.4 MB, free: 13.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.5912, allocations: 4 kB / 477.4 MB, free: 13.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.5913, allocations: 7.984 kB / 477.4 MB, free: 13.22 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.138e-05/0.5914, allocations: 118.5 kB / 477.5 MB, free: 13.1 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.5914, allocations: 7.906 kB / 477.5 MB, free: 13.09 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.5918, allocations: 118.1 kB / 477.6 MB, free: 12.97 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.5918, allocations: 0 / 477.6 MB, free: 12.97 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5918, allocations: 4 kB / 477.6 MB, free: 12.97 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5918, allocations: 3.953 kB / 477.6 MB, free: 12.96 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005971/0.5924, allocations: 399.3 kB / 478 MB, free: 12.52 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5924, allocations: 4 kB / 478 MB, free: 12.51 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.5925, allocations: 8 kB / 478 MB, free: 12.5 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.5925, allocations: 0 / 478 MB, free: 12.5 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.5926, allocations: 7.953 kB / 478 MB, free: 12.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.5926, allocations: 4.172 kB / 478 MB, free: 12.49 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5926, allocations: 288 / 478 MB, free: 12.49 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.5929, allocations: 222 kB / 478.2 MB, free: 12.25 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.593, allocations: 96.91 kB / 478.3 MB, free: 12.14 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.593, allocations: 3.953 kB / 478.3 MB, free: 12.13 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.5932, allocations: 7.938 kB / 478.3 MB, free: 12.12 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.5932, allocations: 7.984 kB / 478.4 MB, free: 12.12 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.5933, allocations: 12 kB / 478.4 MB, free: 12.11 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001635/0.5934, allocations: 133.1 kB / 478.5 MB, free: 11.98 MB / 410.8 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5934, allocations: 3.938 kB / 478.5 MB, free: 11.97 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000388/0.5938, allocations: 31.94 kB / 478.5 MB, free: 11.94 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.001861/0.5957, allocations: 1.146 MB / 479.7 MB, free: 10.84 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.596, allocations: 55.94 kB / 479.7 MB, free: 10.78 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.596, allocations: 0 / 479.7 MB, free: 10.78 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.658e-05/0.5961, allocations: 28 kB / 479.8 MB, free: 10.75 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.5966, allocations: 31.84 kB / 479.8 MB, free: 10.72 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.5973, allocations: 220.7 kB / 480 MB, free: 10.46 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.5977, allocations: 0.7045 MB / 480.7 MB, free: 9.73 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.018e-05/0.5978, allocations: 16.55 kB / 480.7 MB, free: 9.715 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.253e-05/0.5979, allocations: 31.42 kB / 480.8 MB, free: 9.684 MB / 410.8 MB Notification: Performance of SimCode: time 1.442e-06/0.5979, allocations: 0 / 480.8 MB, free: 9.684 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.6309, allocations: 2.923 MB / 483.7 MB, free: 6.789 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003251/0.6313, allocations: 182.4 kB / 483.9 MB, free: 6.57 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/2.941, allocations: 0 / 483.9 MB, free: 6.57 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat