Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.597/2.597, allocations: 270 MB / 283.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.508e-05/4.512e-05, allocations: 8 kB / 348.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4577, allocations: 61.86 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.649, allocations: 89.24 MB / 499.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.6494, allocations: 71.97 kB / 499.7 MB, free: 1.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02661/0.676, allocations: 5.305 MB / 0.4931 GB, free: 11.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6761, allocations: 4 kB / 0.4932 GB, free: 11.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.6761, allocations: 4 kB / 0.4932 GB, free: 11.86 MB / 426.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.0006249/0.6767, allocations: 394.2 kB / 0.4935 GB, free: 11.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.6768, allocations: 12.03 kB / 0.4935 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.6769, allocations: 34.56 kB / 0.4936 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.6769, allocations: 7.906 kB / 0.4936 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.6774, allocations: 200.9 kB / 0.4938 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.6774, allocations: 11.95 kB / 0.4938 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.6774, allocations: 7.938 kB / 0.4938 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.6776, allocations: 57.61 kB / 0.4938 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.6776, allocations: 0 / 0.4938 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.6777, allocations: 7.938 kB / 0.4939 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6777, allocations: 0 / 0.4939 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.6778, allocations: 16 kB / 0.4939 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.6783, allocations: 284.9 kB / 0.4941 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.6785, allocations: 66.67 kB / 0.4942 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.422e-05/0.6786, allocations: 20.92 kB / 0.4942 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.6786, allocations: 0 / 0.4942 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.6788, allocations: 67.39 kB / 0.4943 GB, free: 10.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.455e-06/0.6788, allocations: 0 / 0.4943 GB, free: 10.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007146/0.6795, allocations: 157.3 kB / 0.4944 GB, free: 10.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.6796, allocations: 55.41 kB / 0.4945 GB, free: 10.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.6799, allocations: 150.3 kB / 0.4946 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.6799, allocations: 29.7 kB / 0.4947 GB, free: 10.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.68, allocations: 96.12 kB / 0.4948 GB, free: 10.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.68, allocations: 19.72 kB / 0.4948 GB, free: 9.988 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.6801, allocations: 0 / 0.4948 GB, free: 9.988 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6802, allocations: 330.8 kB / 0.4951 GB, free: 9.656 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.581e-05/0.6803, allocations: 16 kB / 0.4951 GB, free: 9.641 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.65e-05/0.6804, allocations: 41.7 kB / 0.4951 GB, free: 9.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.474e-05/0.6805, allocations: 20 kB / 0.4952 GB, free: 9.574 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6805, allocations: 0 / 0.4952 GB, free: 9.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002791/0.6808, allocations: 101.6 kB / 0.4953 GB, free: 9.469 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6808, allocations: 4 kB / 0.4953 GB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6808, allocations: 4 kB / 0.4953 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.6809, allocations: 4 kB / 0.4953 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.681, allocations: 12 kB / 0.4953 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.6811, allocations: 0 / 0.4953 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.6812, allocations: 12.02 kB / 0.4953 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.6812, allocations: 8 kB / 0.4953 GB, free: 9.426 MB / 426.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.0001012/0.6813, allocations: 108.9 kB / 0.4954 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.6814, allocations: 11.81 kB / 0.4954 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.6817, allocations: 126.3 kB / 0.4955 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6817, allocations: 0 / 0.4955 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6818, allocations: 0 / 0.4955 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6818, allocations: 4 kB / 0.4955 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/0.6824, allocations: 391.3 kB / 0.4959 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6825, allocations: 3.938 kB / 0.4959 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.6826, allocations: 15.94 kB / 0.4959 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.6826, allocations: 0 / 0.4959 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.6826, allocations: 4 kB / 0.4959 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.6826, allocations: 4 kB / 0.4959 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6826, allocations: 0 / 0.4959 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.683, allocations: 221.9 kB / 0.4962 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.54e-05/0.6831, allocations: 92.91 kB / 0.4962 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.6831, allocations: 4 kB / 0.4962 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.6833, allocations: 8 kB / 0.4963 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.6834, allocations: 7.938 kB / 0.4963 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.6834, allocations: 4 kB / 0.4963 GB, free: 8.328 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.6836, allocations: 127.8 kB / 0.4964 GB, free: 8.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6836, allocations: 0 / 0.4964 GB, free: 8.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003788/0.684, allocations: 31.98 kB / 0.4964 GB, free: 8.172 MB / 426.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.002074/0.6861, allocations: 1.17 MB / 0.4976 GB, free: 7.121 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.6864, allocations: 59.92 kB / 0.4976 GB, free: 7.062 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6864, allocations: 3.938 kB / 0.4976 GB, free: 7.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.6865, allocations: 31.94 kB / 0.4977 GB, free: 7.027 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.687, allocations: 24.25 kB / 0.4977 GB, free: 7.004 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.6878, allocations: 204.7 kB / 0.4979 GB, free: 6.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.6882, allocations: 0.7004 MB / 0.4986 GB, free: 6.035 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000109/0.6883, allocations: 20.52 kB / 0.4986 GB, free: 6.016 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.6884, allocations: 35.42 kB / 0.4986 GB, free: 5.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6884, allocations: 0 / 0.4986 GB, free: 5.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.7166, allocations: 2.831 MB / 0.5014 GB, free: 3.219 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/0.717, allocations: 193.1 kB / 0.5016 GB, free: 2.996 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/3.422, allocations: 0 / 0.5016 GB, free: 2.996 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat