Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.651/2.651, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.429e-05/4.437e-05, allocations: 7.938 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.153, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5077/0.6608, allocations: 89.05 MB / 499.4 MB, free: 14.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.6611, allocations: 75.95 kB / 499.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02456/0.6857, allocations: 5.289 MB / 0.4929 GB, free: 9.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6858, allocations: 0 / 0.4929 GB, free: 9.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.6858, allocations: 4 kB / 0.493 GB, free: 9.566 MB / 410.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.0006153/0.6864, allocations: 390.2 kB / 0.4933 GB, free: 9.141 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.6865, allocations: 8.031 kB / 0.4933 GB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/0.6866, allocations: 34.56 kB / 0.4934 GB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.6866, allocations: 7.906 kB / 0.4934 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.687, allocations: 206.9 kB / 0.4936 GB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.6871, allocations: 0 / 0.4936 GB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.6871, allocations: 11.89 kB / 0.4936 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.6873, allocations: 49.67 kB / 0.4936 GB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.6873, allocations: 0 / 0.4936 GB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.6873, allocations: 3.984 kB / 0.4936 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6873, allocations: 0 / 0.4936 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.6874, allocations: 12 kB / 0.4936 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.6877, allocations: 189.6 kB / 0.4938 GB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.6879, allocations: 46.64 kB / 0.4939 GB, free: 8.469 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.688, allocations: 20.94 kB / 0.4939 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.688, allocations: 7.891 kB / 0.4939 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.6882, allocations: 67.33 kB / 0.494 GB, free: 8.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.984e-06/0.6882, allocations: 3.938 kB / 0.494 GB, free: 8.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000281/0.6885, allocations: 77.59 kB / 0.494 GB, free: 8.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.6886, allocations: 55.41 kB / 0.4941 GB, free: 8.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.6889, allocations: 170 kB / 0.4943 GB, free: 8.039 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.6889, allocations: 29.7 kB / 0.4943 GB, free: 8.004 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.689, allocations: 104.1 kB / 0.4944 GB, free: 7.898 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.689, allocations: 15.73 kB / 0.4944 GB, free: 7.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.689, allocations: 0 / 0.4944 GB, free: 7.883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.6892, allocations: 326.8 kB / 0.4947 GB, free: 7.555 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.457e-05/0.6893, allocations: 19.92 kB / 0.4947 GB, free: 7.535 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.477e-05/0.6894, allocations: 33.7 kB / 0.4948 GB, free: 7.496 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.688e-05/0.6895, allocations: 12 kB / 0.4948 GB, free: 7.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.6895, allocations: 0 / 0.4948 GB, free: 7.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000214/0.6897, allocations: 81.64 kB / 0.4948 GB, free: 7.398 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.6897, allocations: 11.95 kB / 0.4949 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.6897, allocations: 0 / 0.4949 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6898, allocations: 0 / 0.4949 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.6899, allocations: 11.94 kB / 0.4949 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.6899, allocations: 4.031 kB / 0.4949 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.251e-05/0.69, allocations: 7.984 kB / 0.4949 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.6901, allocations: 4 kB / 0.4949 GB, free: 7.359 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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 0.0001123/0.6902, allocations: 105 kB / 0.495 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.6902, allocations: 11.91 kB / 0.495 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.6905, allocations: 93.62 kB / 0.4951 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6906, allocations: 0 / 0.4951 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6906, allocations: 0 / 0.4951 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.6906, allocations: 4 kB / 0.4951 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.6908, allocations: 193.6 kB / 0.4953 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.6908, allocations: 0 / 0.4953 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.6909, allocations: 7.984 kB / 0.4953 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.6909, allocations: 0 / 0.4953 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.6909, allocations: 0 / 0.4953 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.691, allocations: 3.953 kB / 0.4953 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.691, allocations: 4 kB / 0.4953 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.6912, allocations: 105 kB / 0.4954 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.6914, allocations: 104.9 kB / 0.4955 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.6914, allocations: 0 / 0.4955 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.6915, allocations: 7.984 kB / 0.4955 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.6915, allocations: 3.953 kB / 0.4955 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.6916, allocations: 4.188 kB / 0.4955 GB, free: 6.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001946/0.6918, allocations: 143.8 kB / 0.4956 GB, free: 6.484 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6918, allocations: 0 / 0.4956 GB, free: 6.484 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.6921, allocations: 27.94 kB / 0.4957 GB, free: 6.457 MB / 410.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: 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 (6): * Single equations (assignments): 4 * 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.001752/0.6939, allocations: 0.9558 MB / 0.4966 GB, free: 5.594 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.6942, allocations: 43.92 kB / 0.4966 GB, free: 5.551 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6942, allocations: 0 / 0.4966 GB, free: 5.551 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.6943, allocations: 20 kB / 0.4967 GB, free: 5.531 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.6946, allocations: 31.88 kB / 0.4967 GB, free: 5.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006499/0.6953, allocations: 202.6 kB / 0.4969 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.6957, allocations: 0.7121 MB / 0.4976 GB, free: 4.527 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.752e-05/0.6958, allocations: 12.42 kB / 0.4976 GB, free: 4.516 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.6959, allocations: 35.42 kB / 0.4976 GB, free: 4.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6959, allocations: 0 / 0.4976 GB, free: 4.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05014/0.746, allocations: 2.684 MB / 0.5002 GB, free: 1.871 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003244/0.7464, allocations: 197.7 kB / 0.5004 GB, free: 1.645 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.154, allocations: 0 / 0.5004 GB, free: 1.645 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat