Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.573/2.573, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.869e-05/3.885e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1373, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5052/0.6426, allocations: 89.23 MB / 499.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.6429, allocations: 79.94 kB / 499.7 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0236/0.6666, allocations: 5.415 MB / 0.4933 GB, free: 9.246 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6666, allocations: 0 / 0.4933 GB, free: 9.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.6666, allocations: 4 kB / 0.4933 GB, free: 9.242 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005794/0.6672, allocations: 405 kB / 0.4936 GB, free: 8.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.6673, allocations: 8.031 kB / 0.4937 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.093e-05/0.6673, allocations: 34.56 kB / 0.4937 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.6674, allocations: 7.906 kB / 0.4937 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.6678, allocations: 210.8 kB / 0.4939 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.6678, allocations: 3.953 kB / 0.4939 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.6679, allocations: 12 kB / 0.4939 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.668, allocations: 49.67 kB / 0.494 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.668, allocations: 0 / 0.494 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.6681, allocations: 4 kB / 0.494 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.6681, allocations: 7.875 kB / 0.494 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/0.6682, allocations: 19.94 kB / 0.494 GB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.6686, allocations: 288.9 kB / 0.4943 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.6688, allocations: 62.69 kB / 0.4943 GB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.157e-05/0.6689, allocations: 16.98 kB / 0.4943 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.6689, allocations: 4 kB / 0.4943 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.6691, allocations: 71.33 kB / 0.4944 GB, free: 7.891 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.6691, allocations: 0 / 0.4944 GB, free: 7.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.6697, allocations: 153.2 kB / 0.4946 GB, free: 7.734 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.6697, allocations: 55.41 kB / 0.4946 GB, free: 7.668 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.67, allocations: 178 kB / 0.4948 GB, free: 7.492 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.67, allocations: 25.7 kB / 0.4948 GB, free: 7.461 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.6701, allocations: 96.14 kB / 0.4949 GB, free: 7.363 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.6702, allocations: 27.64 kB / 0.4949 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.6702, allocations: 0 / 0.4949 GB, free: 7.336 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6703, allocations: 330.8 kB / 0.4952 GB, free: 7.004 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.6704, allocations: 16 kB / 0.4953 GB, free: 6.988 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.6705, allocations: 41.7 kB / 0.4953 GB, free: 6.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/0.6706, allocations: 24.06 kB / 0.4953 GB, free: 6.918 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.6706, allocations: 0 / 0.4953 GB, free: 6.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000249/0.6708, allocations: 105.4 kB / 0.4954 GB, free: 6.809 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.6709, allocations: 4 kB / 0.4954 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6709, allocations: 4 kB / 0.4954 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.6709, allocations: 0 / 0.4954 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.6711, allocations: 12 kB / 0.4954 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.6711, allocations: 0 / 0.4954 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.6712, allocations: 15.95 kB / 0.4954 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.6712, allocations: 8 kB / 0.4955 GB, free: 6.766 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 (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 8.414e-05/0.6713, allocations: 104.9 kB / 0.4956 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.6714, allocations: 11.91 kB / 0.4956 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.6717, allocations: 118.2 kB / 0.4957 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6717, allocations: 288 / 0.4957 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.6717, allocations: 0 / 0.4957 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6717, allocations: 0 / 0.4957 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.6723, allocations: 411.2 kB / 0.4961 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.6724, allocations: 0 / 0.4961 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.6724, allocations: 11.94 kB / 0.4961 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.6725, allocations: 7.984 kB / 0.4961 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.6725, allocations: 3.984 kB / 0.4961 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.6725, allocations: 3.938 kB / 0.4961 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6725, allocations: 0 / 0.4961 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.6728, allocations: 225.9 kB / 0.4963 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.6729, allocations: 93.02 kB / 0.4964 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.673, allocations: 3.984 kB / 0.4964 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.6731, allocations: 7.938 kB / 0.4964 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.6732, allocations: 11.94 kB / 0.4964 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.6732, allocations: 4 kB / 0.4964 GB, free: 5.656 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001825/0.6734, allocations: 143.9 kB / 0.4966 GB, free: 5.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6734, allocations: 0 / 0.4966 GB, free: 5.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003872/0.6738, allocations: 31.98 kB / 0.4966 GB, free: 5.488 MB / 410.7 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.002023/0.6758, allocations: 1.174 MB / 0.4977 GB, free: 4.414 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.6761, allocations: 59.92 kB / 0.4978 GB, free: 4.355 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6761, allocations: 0 / 0.4978 GB, free: 4.355 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.6763, allocations: 27.94 kB / 0.4978 GB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.6767, allocations: 35.88 kB / 0.4979 GB, free: 4.293 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.6775, allocations: 220.1 kB / 0.4981 GB, free: 4.031 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.6779, allocations: 0.7043 MB / 0.4988 GB, free: 3.301 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.84e-05/0.678, allocations: 20.7 kB / 0.4988 GB, free: 3.281 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/0.6781, allocations: 35.42 kB / 0.4988 GB, free: 3.246 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6781, allocations: 0 / 0.4988 GB, free: 3.246 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.7009, allocations: 2.989 MB / 0.5017 GB, free: 344 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003197/0.7013, allocations: 189.7 kB / 0.5019 GB, free: 120 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/3.335, allocations: 0 / 0.5019 GB, free: 120 kB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat