Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.85e-05/3.852e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.145, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5056/0.6507, allocations: 89.12 MB / 499.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.651, allocations: 72.59 kB / 499.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02829/0.6793, allocations: 6.645 MB / 0.4943 GB, free: 8.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6793, allocations: 0 / 0.4943 GB, free: 8.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.31e-05/0.6794, allocations: 8 kB / 0.4944 GB, free: 8.148 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.000968/0.6804, allocations: 0.5987 MB / 0.4949 GB, free: 7.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.6804, allocations: 8.031 kB / 0.4949 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.043e-05/0.6805, allocations: 38.56 kB / 0.495 GB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.6806, allocations: 47.34 kB / 0.495 GB, free: 7.402 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.6818, allocations: 494.9 kB / 0.4955 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.6819, allocations: 4 kB / 0.4955 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.6819, allocations: 7.984 kB / 0.4955 GB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.6822, allocations: 83.38 kB / 0.4956 GB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.6822, allocations: 0 / 0.4956 GB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.6822, allocations: 3.984 kB / 0.4956 GB, free: 6.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.6822, allocations: 4 kB / 0.4956 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.6824, allocations: 27.98 kB / 0.4956 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.6829, allocations: 378.3 kB / 0.496 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.6832, allocations: 105.2 kB / 0.4961 GB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.6834, allocations: 49.73 kB / 0.4961 GB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.6834, allocations: 0 / 0.4961 GB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/0.6837, allocations: 101 kB / 0.4962 GB, free: 6.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.6837, allocations: 4 kB / 0.4962 GB, free: 6.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005259/0.6842, allocations: 169 kB / 0.4964 GB, free: 5.848 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.6843, allocations: 81.09 kB / 0.4965 GB, free: 5.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.6864, allocations: 0.9305 MB / 0.4974 GB, free: 4.809 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.6864, allocations: 29.7 kB / 0.4974 GB, free: 4.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.6867, allocations: 228.1 kB / 0.4976 GB, free: 4.547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.6868, allocations: 35.64 kB / 0.4977 GB, free: 4.512 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.6868, allocations: 0 / 0.4977 GB, free: 4.512 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.687, allocations: 370.8 kB / 0.498 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.6871, allocations: 28 kB / 0.498 GB, free: 4.113 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.6872, allocations: 51.42 kB / 0.4981 GB, free: 4.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.6874, allocations: 36.05 kB / 0.4981 GB, free: 4.016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.6874, allocations: 4 kB / 0.4981 GB, free: 4.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004154/0.6878, allocations: 164.9 kB / 0.4983 GB, free: 3.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.6878, allocations: 4 kB / 0.4983 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6879, allocations: 4 kB / 0.4983 GB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.6879, allocations: 3.938 kB / 0.4983 GB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.6881, allocations: 23.98 kB / 0.4983 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.6881, allocations: 0 / 0.4983 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.6883, allocations: 15.98 kB / 0.4983 GB, free: 3.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.6884, allocations: 7.984 kB / 0.4983 GB, free: 3.785 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.0001091/0.6885, allocations: 123.5 kB / 0.4985 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.6886, allocations: 59.3 kB / 0.4985 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005098/0.6892, allocations: 189.6 kB / 0.4987 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6892, allocations: 0 / 0.4987 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6892, allocations: 0 / 0.4987 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.6892, allocations: 0 / 0.4987 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.6897, allocations: 393.2 kB / 0.4991 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6898, allocations: 4.188 kB / 0.4991 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.6899, allocations: 16 kB / 0.4991 GB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.669e-06/0.6899, allocations: 7.938 kB / 0.4991 GB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.6899, allocations: 4 kB / 0.4991 GB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.6899, allocations: 4 kB / 0.4991 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6899, allocations: 0 / 0.4991 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.6904, allocations: 219.5 kB / 0.4993 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003946/0.6908, allocations: 192.5 kB / 0.4995 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.199e-05/0.6909, allocations: 4 kB / 0.4995 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.6911, allocations: 15.98 kB / 0.4995 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.6912, allocations: 19.86 kB / 0.4995 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.6912, allocations: 4 kB / 0.4995 GB, free: 2.445 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001458/0.6927, allocations: 0.7435 MB / 0.5003 GB, free: 1.703 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6927, allocations: 0 / 0.5003 GB, free: 1.703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004957/0.6932, allocations: 79.98 kB / 0.5003 GB, free: 1.625 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.00194/0.6952, allocations: 1.137 MB / 0.5015 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.6955, allocations: 79.92 kB / 0.5015 GB, free: 500 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6955, allocations: 0 / 0.5015 GB, free: 500 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.6956, allocations: 43.98 kB / 0.5016 GB, free: 456 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/0.6962, allocations: 54.06 kB / 0.5016 GB, free: 400 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.6985, allocations: 0.8941 MB / 0.5025 GB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.6991, allocations: 0.8585 MB / 0.5033 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.6994, allocations: 90.94 kB / 0.5034 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.6997, allocations: 155.4 kB / 0.5036 GB, free: 14.33 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6997, allocations: 0 / 0.5036 GB, free: 14.33 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04149/0.7412, allocations: 9.014 MB / 0.5124 GB, free: 5.395 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/0.7416, allocations: 186.4 kB / 0.5126 GB, free: 5.172 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.472, allocations: 0 / 0.5126 GB, free: 5.172 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat