Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.468/2.468, allocations: 270 MB / 283.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.478e-05/5.483e-05, allocations: 11.98 kB / 348.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4372, allocations: 61.87 MB / 410.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1709/0.6082, allocations: 89.39 MB / 499.8 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.6085, allocations: 71.97 kB / 499.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0275/0.636, allocations: 6.302 MB / 0.4943 GB, free: 10.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6361, allocations: 0 / 0.4943 GB, free: 10.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.6361, allocations: 4 kB / 0.4943 GB, free: 10.69 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006743/0.6368, allocations: 434 kB / 0.4947 GB, free: 10.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.6368, allocations: 8.031 kB / 0.4947 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.928e-05/0.6369, allocations: 38.56 kB / 0.4947 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.637, allocations: 11.81 kB / 0.4947 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.6374, allocations: 226.7 kB / 0.495 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.6375, allocations: 15.95 kB / 0.495 GB, free: 9.875 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.6375, allocations: 7.938 kB / 0.495 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.6377, allocations: 69.61 kB / 0.4951 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.6377, allocations: 3.906 kB / 0.4951 GB, free: 9.789 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.6378, allocations: 7.984 kB / 0.4951 GB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6378, allocations: 0 / 0.4951 GB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.6379, allocations: 39.98 kB / 0.4951 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.6386, allocations: 344.7 kB / 0.4954 GB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.6389, allocations: 82.48 kB / 0.4955 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.639, allocations: 24.86 kB / 0.4955 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.6391, allocations: 4 kB / 0.4955 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.6393, allocations: 71.38 kB / 0.4956 GB, free: 9.152 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 2.185e-06/0.6393, allocations: 0 / 0.4956 GB, free: 9.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009496/0.6402, allocations: 272.9 kB / 0.4959 GB, free: 8.879 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.6403, allocations: 55.36 kB / 0.4959 GB, free: 8.812 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.6407, allocations: 229.6 kB / 0.4961 GB, free: 8.574 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.6407, allocations: 29.7 kB / 0.4962 GB, free: 8.539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/0.6408, allocations: 116 kB / 0.4963 GB, free: 8.422 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.6409, allocations: 43.45 kB / 0.4963 GB, free: 8.379 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.6409, allocations: 0 / 0.4963 GB, free: 8.379 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.6411, allocations: 330.8 kB / 0.4966 GB, free: 8.047 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.6412, allocations: 43.98 kB / 0.4967 GB, free: 8.004 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.6413, allocations: 51.83 kB / 0.4967 GB, free: 7.949 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.6415, allocations: 52.66 kB / 0.4968 GB, free: 7.898 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6415, allocations: 0 / 0.4968 GB, free: 7.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003774/0.6419, allocations: 157.3 kB / 0.4969 GB, free: 7.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.6419, allocations: 8 kB / 0.4969 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6419, allocations: 0 / 0.4969 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.6419, allocations: 0 / 0.4969 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.6421, allocations: 35.95 kB / 0.497 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.6422, allocations: 0 / 0.497 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.419e-05/0.6423, allocations: 7.953 kB / 0.497 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.6423, allocations: 8 kB / 0.497 GB, free: 7.68 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 (16): * Single equations (assignments): 16 * 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 9.665e-05/0.6424, allocations: 112.9 kB / 0.4971 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.6425, allocations: 15.8 kB / 0.4971 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.643, allocations: 183.2 kB / 0.4973 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.643, allocations: 3.984 kB / 0.4973 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.643, allocations: 4 kB / 0.4973 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.6431, allocations: 3.953 kB / 0.4973 GB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000935/0.644, allocations: 0.5314 MB / 0.4978 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.644, allocations: 0 / 0.4978 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.6442, allocations: 27.98 kB / 0.4978 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.6442, allocations: 4.016 kB / 0.4978 GB, free: 6.723 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.6442, allocations: 8 kB / 0.4978 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6442, allocations: 0 / 0.4978 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.6443, allocations: 4 kB / 0.4979 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.6447, allocations: 297.7 kB / 0.4981 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.6449, allocations: 108.9 kB / 0.4982 GB, free: 6.262 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.6449, allocations: 4 kB / 0.4982 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.6451, allocations: 7.984 kB / 0.4983 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.6451, allocations: 15.98 kB / 0.4983 GB, free: 6.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.6452, allocations: 4 kB / 0.4983 GB, free: 6.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002669/0.6454, allocations: 184.5 kB / 0.4984 GB, free: 6.051 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6454, allocations: 0 / 0.4984 GB, free: 6.051 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004397/0.6459, allocations: 47.94 kB / 0.4985 GB, free: 6.004 MB / 426.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 (16): * Single equations (assignments): 14 * 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.002202/0.6481, allocations: 1.382 MB / 0.4998 GB, free: 4.754 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.6485, allocations: 99.92 kB / 0.4999 GB, free: 4.656 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6485, allocations: 8.062 kB / 0.4999 GB, free: 4.648 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.6486, allocations: 51.92 kB / 0.5 GB, free: 4.598 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.6491, allocations: 28.17 kB / 0.5 GB, free: 4.566 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009702/0.6501, allocations: 334.2 kB / 0.5003 GB, free: 4.199 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.6504, allocations: 0.7322 MB / 0.5011 GB, free: 3.441 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000131/0.6506, allocations: 29.19 kB / 0.5011 GB, free: 3.414 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.6507, allocations: 55.41 kB / 0.5011 GB, free: 3.359 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6508, allocations: 0 / 0.5011 GB, free: 3.359 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.6813, allocations: 3.974 MB / 0.505 GB, free: 15.46 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003303/0.6817, allocations: 188.9 kB / 0.5052 GB, free: 15.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.29, allocations: 0 / 0.5052 GB, free: 15.25 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat