Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.473/2.473, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.275e-05/4.293e-05, allocations: 8 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.132, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5078/0.6398, allocations: 89.32 MB / 499.7 MB, free: 14.63 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.6402, allocations: 71.97 kB / 499.8 MB, free: 14.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02607/0.6663, allocations: 5.87 MB / 0.4938 GB, free: 8.699 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6663, allocations: 0 / 0.4938 GB, free: 8.699 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.6664, allocations: 0 / 0.4938 GB, free: 8.699 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006516/0.667, allocations: 410.2 kB / 0.4942 GB, free: 8.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.6671, allocations: 8.031 kB / 0.4942 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.783e-05/0.6671, allocations: 38.56 kB / 0.4942 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/0.6672, allocations: 11.81 kB / 0.4942 GB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.6676, allocations: 222.7 kB / 0.4945 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.6677, allocations: 7.953 kB / 0.4945 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-05/0.6678, allocations: 7.984 kB / 0.4945 GB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.6679, allocations: 61.67 kB / 0.4945 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.668, allocations: 0 / 0.4945 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.668, allocations: 0 / 0.4945 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.668, allocations: 0 / 0.4945 GB, free: 7.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.6681, allocations: 27.98 kB / 0.4946 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.6687, allocations: 308.7 kB / 0.4948 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.669, allocations: 54.56 kB / 0.4949 GB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.397e-05/0.6691, allocations: 28.97 kB / 0.4949 GB, free: 7.375 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.6691, allocations: 3.938 kB / 0.4949 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.6694, allocations: 67.47 kB / 0.495 GB, free: 7.293 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.745e-06/0.6694, allocations: 3.938 kB / 0.495 GB, free: 7.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008596/0.6702, allocations: 201.1 kB / 0.4952 GB, free: 7.086 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.6703, allocations: 59.34 kB / 0.4952 GB, free: 7.016 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.6707, allocations: 199.3 kB / 0.4954 GB, free: 6.812 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.6707, allocations: 29.7 kB / 0.4955 GB, free: 6.777 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.6708, allocations: 104.1 kB / 0.4956 GB, free: 6.672 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.6709, allocations: 35.55 kB / 0.4956 GB, free: 6.637 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.6709, allocations: 4 kB / 0.4956 GB, free: 6.633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6711, allocations: 322.8 kB / 0.4959 GB, free: 6.309 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.6712, allocations: 28 kB / 0.4959 GB, free: 6.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.6713, allocations: 53.64 kB / 0.496 GB, free: 6.223 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.6714, allocations: 31.98 kB / 0.496 GB, free: 6.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6714, allocations: 0 / 0.496 GB, free: 6.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003562/0.6718, allocations: 121.4 kB / 0.4961 GB, free: 6.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.6718, allocations: 6.656 kB / 0.4961 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6718, allocations: 0 / 0.4961 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.6719, allocations: 4 kB / 0.4961 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.672, allocations: 19.98 kB / 0.4962 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.6721, allocations: 0 / 0.4962 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.34e-05/0.6722, allocations: 11.98 kB / 0.4962 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.6722, allocations: 11.98 kB / 0.4962 GB, free: 6.016 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 (13): * Single equations (assignments): 13 * 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.0001172/0.6723, allocations: 113.6 kB / 0.4963 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.6724, allocations: 15.75 kB / 0.4963 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.6728, allocations: 135.2 kB / 0.4964 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.6729, allocations: 7.984 kB / 0.4964 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6729, allocations: 0 / 0.4964 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.6729, allocations: 0 / 0.4964 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008446/0.6737, allocations: 471.9 kB / 0.4969 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6738, allocations: 0 / 0.4969 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.6739, allocations: 19.98 kB / 0.4969 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.6739, allocations: 0 / 0.4969 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.674, allocations: 4 kB / 0.4969 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.674, allocations: 7.953 kB / 0.4969 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.674, allocations: 0 / 0.4969 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.6744, allocations: 264.9 kB / 0.4972 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.6745, allocations: 100.9 kB / 0.4973 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.6746, allocations: 7.984 kB / 0.4973 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.6747, allocations: 4 kB / 0.4973 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.6748, allocations: 15.98 kB / 0.4973 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.6748, allocations: 4 kB / 0.4973 GB, free: 4.738 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000228/0.6751, allocations: 158.8 kB / 0.4975 GB, free: 4.586 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6751, allocations: 0 / 0.4975 GB, free: 4.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004123/0.6755, allocations: 39.92 kB / 0.4975 GB, free: 4.547 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002234/0.6777, allocations: 1.343 MB / 0.4988 GB, free: 3.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.6781, allocations: 75.88 kB / 0.4989 GB, free: 3.242 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.6781, allocations: 4 kB / 0.4989 GB, free: 3.238 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.6783, allocations: 47.91 kB / 0.4989 GB, free: 3.191 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.6787, allocations: 28.62 kB / 0.499 GB, free: 3.168 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009171/0.6796, allocations: 274 kB / 0.4992 GB, free: 2.859 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.6801, allocations: 0.716 MB / 0.4999 GB, free: 2.117 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.6802, allocations: 24.53 kB / 0.4999 GB, free: 2.094 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.6804, allocations: 47.42 kB / 0.5 GB, free: 2.047 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/0.6804, allocations: 0 / 0.5 GB, free: 2.047 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.7086, allocations: 3.429 MB / 0.5033 GB, free: 14.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/0.7089, allocations: 189.4 kB / 0.5035 GB, free: 14.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.742/3.451, allocations: 0 / 0.5035 GB, free: 14.47 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat