Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.589/2.589, allocations: 270 MB / 283.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.083e-05/5.13e-05, allocations: 4 kB / 348.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.413, allocations: 61.88 MB / 410.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1876/0.6006, allocations: 89.28 MB / 499.7 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.601, allocations: 75.95 kB / 499.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02612/0.6271, allocations: 5.454 MB / 0.4933 GB, free: 11.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6272, allocations: 0 / 0.4933 GB, free: 11.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.6272, allocations: 4 kB / 0.4934 GB, free: 11.64 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.0006098/0.6278, allocations: 390.1 kB / 0.4937 GB, free: 11.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.6279, allocations: 12.03 kB / 0.4937 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.628, allocations: 38.56 kB / 0.4938 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.628, allocations: 7.906 kB / 0.4938 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.6284, allocations: 213.9 kB / 0.494 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.6285, allocations: 3.953 kB / 0.494 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.6285, allocations: 4 kB / 0.494 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.6287, allocations: 57.66 kB / 0.494 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.6287, allocations: 0 / 0.494 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.6287, allocations: 0 / 0.494 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.6288, allocations: 0 / 0.494 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.6289, allocations: 23.92 kB / 0.4941 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.6294, allocations: 296.8 kB / 0.4944 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.6296, allocations: 58.69 kB / 0.4944 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.6297, allocations: 16.98 kB / 0.4944 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.6297, allocations: 3.938 kB / 0.4944 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.6299, allocations: 75.33 kB / 0.4945 GB, free: 10.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.246e-06/0.6299, allocations: 0 / 0.4945 GB, free: 10.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000695/0.6306, allocations: 145.4 kB / 0.4946 GB, free: 10.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.6307, allocations: 63.33 kB / 0.4947 GB, free: 10.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.631, allocations: 153.4 kB / 0.4948 GB, free: 9.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.631, allocations: 29.7 kB / 0.4949 GB, free: 9.875 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.6311, allocations: 100 kB / 0.495 GB, free: 9.773 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.6312, allocations: 27.64 kB / 0.495 GB, free: 9.746 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.6312, allocations: 4 kB / 0.495 GB, free: 9.742 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.6314, allocations: 330.7 kB / 0.4953 GB, free: 9.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.6314, allocations: 20 kB / 0.4953 GB, free: 9.391 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.6315, allocations: 29.72 kB / 0.4954 GB, free: 9.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.201e-05/0.6316, allocations: 23.98 kB / 0.4954 GB, free: 9.332 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6316, allocations: 0 / 0.4954 GB, free: 9.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000263/0.6319, allocations: 93.53 kB / 0.4955 GB, free: 9.234 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.632, allocations: 8.031 kB / 0.4955 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.632, allocations: 0 / 0.4955 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.632, allocations: 4 kB / 0.4955 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.6322, allocations: 19.98 kB / 0.4955 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.6322, allocations: 0 / 0.4955 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-05/0.6323, allocations: 4 kB / 0.4955 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.6323, allocations: 0 / 0.4955 GB, free: 9.199 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.0001147/0.6324, allocations: 116.9 kB / 0.4956 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.6325, allocations: 11.84 kB / 0.4956 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.6328, allocations: 114.3 kB / 0.4957 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6329, allocations: 0 / 0.4957 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6329, allocations: 0 / 0.4957 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6329, allocations: 4 kB / 0.4957 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006995/0.6336, allocations: 403.2 kB / 0.4961 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.6336, allocations: 3.984 kB / 0.4961 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.6337, allocations: 12.22 kB / 0.4961 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.6337, allocations: 4.031 kB / 0.4961 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.6338, allocations: 8 kB / 0.4962 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.6338, allocations: 3.938 kB / 0.4962 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6338, allocations: 0 / 0.4962 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.6342, allocations: 213.9 kB / 0.4964 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.6343, allocations: 93 kB / 0.4965 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.6343, allocations: 8 kB / 0.4965 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.6345, allocations: 192 / 0.4965 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.6345, allocations: 15.94 kB / 0.4965 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.6346, allocations: 8 kB / 0.4965 GB, free: 8.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000182/0.6348, allocations: 133.9 kB / 0.4966 GB, free: 7.961 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6348, allocations: 0 / 0.4966 GB, free: 7.961 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003988/0.6352, allocations: 35.88 kB / 0.4966 GB, free: 7.926 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.002037/0.6372, allocations: 1.171 MB / 0.4978 GB, free: 6.871 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.6375, allocations: 59.92 kB / 0.4978 GB, free: 6.812 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.6376, allocations: 4.062 kB / 0.4978 GB, free: 6.809 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.6377, allocations: 40.02 kB / 0.4979 GB, free: 6.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.6381, allocations: 32.06 kB / 0.4979 GB, free: 6.738 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.6389, allocations: 208.8 kB / 0.4981 GB, free: 6.488 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.6393, allocations: 0.7043 MB / 0.4988 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.6394, allocations: 20.47 kB / 0.4988 GB, free: 5.738 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.6395, allocations: 35.42 kB / 0.4989 GB, free: 5.703 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6396, allocations: 0 / 0.4989 GB, free: 5.703 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.6681, allocations: 2.906 MB / 0.5017 GB, free: 2.871 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/0.6684, allocations: 189.7 kB / 0.5019 GB, free: 2.652 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.23, allocations: 0 / 0.5019 GB, free: 2.652 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat