Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.709/2.709, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.227e-05, allocations: 11.94 kB / 348.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1316, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5226/0.6542, allocations: 89.12 MB / 499.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004092/0.6547, allocations: 71.95 kB / 499.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03205/0.6868, allocations: 6.648 MB / 0.4943 GB, free: 8.105 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6869, allocations: 4 kB / 0.4943 GB, free: 8.102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.319e-05/0.6869, allocations: 8 kB / 0.4944 GB, free: 8.094 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.001054/0.688, allocations: 0.5948 MB / 0.4949 GB, free: 7.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.688, allocations: 8.031 kB / 0.4949 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.943e-05/0.6881, allocations: 42.55 kB / 0.495 GB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.6883, allocations: 51.34 kB / 0.495 GB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.6896, allocations: 487 kB / 0.4955 GB, free: 6.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.6897, allocations: 8 kB / 0.4955 GB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.6897, allocations: 4 kB / 0.4955 GB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.69, allocations: 83.31 kB / 0.4956 GB, free: 6.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.69, allocations: 3.938 kB / 0.4956 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.69, allocations: 0 / 0.4956 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.6901, allocations: 4 kB / 0.4956 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.6902, allocations: 27.98 kB / 0.4956 GB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.6909, allocations: 386.3 kB / 0.496 GB, free: 6.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.6911, allocations: 105.2 kB / 0.4961 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.6913, allocations: 37.72 kB / 0.4961 GB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.6913, allocations: 0 / 0.4961 GB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.6916, allocations: 105.2 kB / 0.4962 GB, free: 5.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.6916, allocations: 3.938 kB / 0.4962 GB, free: 5.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005564/0.6921, allocations: 165 kB / 0.4964 GB, free: 5.801 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.6922, allocations: 81.11 kB / 0.4965 GB, free: 5.703 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.6944, allocations: 0.9305 MB / 0.4974 GB, free: 4.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.6945, allocations: 29.7 kB / 0.4974 GB, free: 4.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.6947, allocations: 236.1 kB / 0.4976 GB, free: 4.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.71e-05/0.6948, allocations: 31.64 kB / 0.4977 GB, free: 4.461 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-06/0.6948, allocations: 0 / 0.4977 GB, free: 4.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.695, allocations: 366.8 kB / 0.498 GB, free: 4.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.6951, allocations: 31.98 kB / 0.498 GB, free: 4.062 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.6953, allocations: 51.38 kB / 0.4981 GB, free: 4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.6954, allocations: 48.09 kB / 0.4981 GB, free: 3.953 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6954, allocations: 0 / 0.4981 GB, free: 3.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004363/0.6959, allocations: 160.9 kB / 0.4983 GB, free: 3.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.6959, allocations: 8 kB / 0.4983 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.6959, allocations: 0 / 0.4983 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.6959, allocations: 0 / 0.4983 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.6962, allocations: 23.98 kB / 0.4983 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.6962, allocations: 3.938 kB / 0.4983 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.6964, allocations: 20 kB / 0.4983 GB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.6964, allocations: 4 kB / 0.4983 GB, free: 3.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001276/0.6966, allocations: 115.7 kB / 0.4985 GB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.6967, allocations: 59.3 kB / 0.4985 GB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005518/0.6973, allocations: 189.6 kB / 0.4987 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.6973, allocations: 0 / 0.4987 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6973, allocations: 0 / 0.4987 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.6973, allocations: 7.984 kB / 0.4987 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.6979, allocations: 393.1 kB / 0.4991 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6979, allocations: 4 kB / 0.4991 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.698, allocations: 8.25 kB / 0.4991 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.698, allocations: 3.953 kB / 0.4991 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.6981, allocations: 8 kB / 0.4991 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6981, allocations: 0 / 0.4991 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6981, allocations: 0 / 0.4991 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.6986, allocations: 226.9 kB / 0.4993 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.6991, allocations: 200.4 kB / 0.4995 GB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-05/0.6992, allocations: 7.938 kB / 0.4995 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.6994, allocations: 4 kB / 0.4995 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-05/0.6994, allocations: 11.98 kB / 0.4995 GB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.6995, allocations: 4 kB / 0.4995 GB, free: 2.402 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001637/0.7011, allocations: 0.7474 MB / 0.5003 GB, free: 1.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7012, allocations: 0 / 0.5003 GB, free: 1.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005648/0.7017, allocations: 80 kB / 0.5003 GB, free: 1.578 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002047/0.7038, allocations: 1.136 MB / 0.5014 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.7041, allocations: 75.92 kB / 0.5015 GB, free: 460 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7042, allocations: 0 / 0.5015 GB, free: 460 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.7043, allocations: 43.94 kB / 0.5016 GB, free: 416 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.705, allocations: 68.81 kB / 0.5016 GB, free: 348 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.7074, allocations: 0.8979 MB / 0.5025 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.7081, allocations: 0.8507 MB / 0.5033 GB, free: 14.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.7084, allocations: 86.95 kB / 0.5034 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/0.7088, allocations: 155.4 kB / 0.5036 GB, free: 14.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.163e-06/0.7088, allocations: 4 kB / 0.5036 GB, free: 14.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03858/0.7474, allocations: 9.011 MB / 0.5124 GB, free: 5.352 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000344/0.7478, allocations: 194.2 kB / 0.5126 GB, free: 5.125 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/3.429, allocations: 3.938 kB / 0.5126 GB, free: 5.121 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat