Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.564/2.564, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.118e-05/4.124e-05, allocations: 7.984 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5116/0.6415, allocations: 89.27 MB / 499.7 MB, free: 14.67 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.6418, allocations: 73.47 kB / 499.7 MB, free: 14.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02568/0.6675, allocations: 5.821 MB / 0.4937 GB, free: 8.789 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.6676, allocations: 0 / 0.4937 GB, free: 8.789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.6676, allocations: 0 / 0.4937 GB, free: 8.789 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.0005921/0.6682, allocations: 414.2 kB / 0.4941 GB, free: 8.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.6683, allocations: 8.031 kB / 0.4941 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.716e-05/0.6684, allocations: 42.48 kB / 0.4941 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.6684, allocations: 15.81 kB / 0.4942 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.6688, allocations: 230.5 kB / 0.4944 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.6689, allocations: 7.953 kB / 0.4944 GB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.6689, allocations: 4 kB / 0.4944 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.6691, allocations: 49.69 kB / 0.4944 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6691, allocations: 3.938 kB / 0.4944 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.6691, allocations: 3.984 kB / 0.4944 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.6691, allocations: 0 / 0.4944 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.849e-05/0.6692, allocations: 20 kB / 0.4945 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.6698, allocations: 312.8 kB / 0.4948 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.67, allocations: 54.62 kB / 0.4948 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.6701, allocations: 16.98 kB / 0.4948 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.6701, allocations: 11.98 kB / 0.4948 GB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.6703, allocations: 59.41 kB / 0.4949 GB, free: 7.387 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 4.769e-06/0.6703, allocations: 7.922 kB / 0.4949 GB, free: 7.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006763/0.671, allocations: 169.1 kB / 0.4951 GB, free: 7.207 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.6711, allocations: 51.41 kB / 0.4951 GB, free: 7.145 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.6715, allocations: 233.8 kB / 0.4953 GB, free: 6.902 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.6715, allocations: 29.7 kB / 0.4954 GB, free: 6.867 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.6716, allocations: 112.1 kB / 0.4955 GB, free: 6.754 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.6717, allocations: 31.62 kB / 0.4955 GB, free: 6.723 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.6717, allocations: 0 / 0.4955 GB, free: 6.723 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6719, allocations: 326.8 kB / 0.4958 GB, free: 6.395 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-05/0.6719, allocations: 27.94 kB / 0.4958 GB, free: 6.367 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/0.672, allocations: 29.72 kB / 0.4959 GB, free: 6.332 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.933e-05/0.6721, allocations: 23.98 kB / 0.4959 GB, free: 6.309 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.6721, allocations: 4 kB / 0.4959 GB, free: 6.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002874/0.6724, allocations: 93.5 kB / 0.496 GB, free: 6.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.6725, allocations: 11.98 kB / 0.496 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6725, allocations: 0 / 0.496 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.6725, allocations: 3.938 kB / 0.496 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.6727, allocations: 16.03 kB / 0.496 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.6727, allocations: 4 kB / 0.496 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.651e-05/0.6729, allocations: 3.984 kB / 0.496 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.6729, allocations: 8 kB / 0.496 GB, free: 6.16 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 0.0001095/0.673, allocations: 111.5 kB / 0.4961 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.6731, allocations: 15.81 kB / 0.4962 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.6735, allocations: 119.5 kB / 0.4963 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.6735, allocations: 96 / 0.4963 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6735, allocations: 7.938 kB / 0.4963 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6735, allocations: 4 kB / 0.4963 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007371/0.6743, allocations: 435.2 kB / 0.4967 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.6743, allocations: 0 / 0.4967 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.6744, allocations: 8 kB / 0.4967 GB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.6744, allocations: 0 / 0.4967 GB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.6744, allocations: 8 kB / 0.4967 GB, free: 5.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6745, allocations: 3.938 kB / 0.4967 GB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6745, allocations: 4.031 kB / 0.4967 GB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.6748, allocations: 221.8 kB / 0.4969 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.6749, allocations: 100.9 kB / 0.497 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.675, allocations: 8 kB / 0.497 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.6751, allocations: 3.984 kB / 0.497 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.6752, allocations: 15.89 kB / 0.4971 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.6752, allocations: 4 kB / 0.4971 GB, free: 4.996 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003052/0.6755, allocations: 196.2 kB / 0.4972 GB, free: 4.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6756, allocations: 0 / 0.4972 GB, free: 4.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004209/0.676, allocations: 39.92 kB / 0.4973 GB, free: 4.766 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.002107/0.6781, allocations: 1.174 MB / 0.4984 GB, free: 3.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.6784, allocations: 59.92 kB / 0.4985 GB, free: 3.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6785, allocations: 0 / 0.4985 GB, free: 3.633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.6786, allocations: 28 kB / 0.4985 GB, free: 3.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.679, allocations: 31.84 kB / 0.4985 GB, free: 3.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009331/0.68, allocations: 292.4 kB / 0.4988 GB, free: 3.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.6803, allocations: 0.7238 MB / 0.4995 GB, free: 2.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.6805, allocations: 20.41 kB / 0.4995 GB, free: 2.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.6806, allocations: 43.42 kB / 0.4996 GB, free: 2.434 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6806, allocations: 4 kB / 0.4996 GB, free: 2.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.7072, allocations: 3.416 MB / 0.5029 GB, free: 15.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003391/0.7076, allocations: 193.2 kB / 0.5031 GB, free: 14.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.184, allocations: 0 / 0.5031 GB, free: 14.88 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat