Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.646/2.646, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.114e-05/4.119e-05, allocations: 7.984 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 61.88 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5156/0.6447, allocations: 89.27 MB / 499.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.6451, allocations: 75.95 kB / 499.7 MB, free: 14.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02457/0.6696, allocations: 5.504 MB / 0.4934 GB, free: 9.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6697, allocations: 0 / 0.4934 GB, free: 9.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.6697, allocations: 4 kB / 0.4934 GB, free: 9.168 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005805/0.6703, allocations: 394.3 kB / 0.4938 GB, free: 8.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.6704, allocations: 8.031 kB / 0.4938 GB, free: 8.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.6704, allocations: 34.56 kB / 0.4938 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.6705, allocations: 15.89 kB / 0.4938 GB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.6709, allocations: 213.4 kB / 0.494 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.6709, allocations: 3.953 kB / 0.494 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.671, allocations: 3.984 kB / 0.494 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.6711, allocations: 53.69 kB / 0.4941 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6712, allocations: 0 / 0.4941 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.6712, allocations: 0 / 0.4941 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.6712, allocations: 0 / 0.4941 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.523e-05/0.6713, allocations: 27.98 kB / 0.4941 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/0.6718, allocations: 292.8 kB / 0.4944 GB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.672, allocations: 58.62 kB / 0.4944 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.6721, allocations: 20.97 kB / 0.4945 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.6721, allocations: 3.938 kB / 0.4945 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.6723, allocations: 71.41 kB / 0.4945 GB, free: 7.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.414e-06/0.6723, allocations: 0 / 0.4945 GB, free: 7.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006394/0.6729, allocations: 165.1 kB / 0.4947 GB, free: 7.652 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.673, allocations: 51.41 kB / 0.4947 GB, free: 7.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.6733, allocations: 166.9 kB / 0.4949 GB, free: 7.422 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.6733, allocations: 29.7 kB / 0.4949 GB, free: 7.387 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.6734, allocations: 100.1 kB / 0.495 GB, free: 7.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.6735, allocations: 23.7 kB / 0.4951 GB, free: 7.262 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.552e-06/0.6735, allocations: 4 kB / 0.4951 GB, free: 7.258 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6737, allocations: 326.8 kB / 0.4954 GB, free: 6.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.6737, allocations: 20 kB / 0.4954 GB, free: 6.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.6738, allocations: 33.66 kB / 0.4954 GB, free: 6.871 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.572e-05/0.6739, allocations: 23.98 kB / 0.4954 GB, free: 6.848 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6739, allocations: 0 / 0.4954 GB, free: 6.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002397/0.6742, allocations: 97.53 kB / 0.4955 GB, free: 6.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.6742, allocations: 10.66 kB / 0.4955 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6742, allocations: 0 / 0.4955 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.6743, allocations: 4 kB / 0.4955 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.6744, allocations: 19.92 kB / 0.4956 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.6745, allocations: 0 / 0.4956 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-05/0.6745, allocations: 7.938 kB / 0.4956 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.6746, allocations: 4 kB / 0.4956 GB, free: 6.703 MB / 410.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 9.706e-05/0.6747, allocations: 109.6 kB / 0.4957 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.6747, allocations: 19.89 kB / 0.4957 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.675, allocations: 110.2 kB / 0.4958 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6751, allocations: 4 kB / 0.4958 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.6751, allocations: 3.984 kB / 0.4958 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6751, allocations: 0 / 0.4958 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.6757, allocations: 407.3 kB / 0.4962 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6758, allocations: 0 / 0.4962 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.6758, allocations: 8.281 kB / 0.4962 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.6759, allocations: 4.031 kB / 0.4962 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.6759, allocations: 4 kB / 0.4962 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.6759, allocations: 7.875 kB / 0.4962 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6759, allocations: 0 / 0.4962 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.6762, allocations: 225.8 kB / 0.4964 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.6763, allocations: 89 kB / 0.4965 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.6764, allocations: 12 kB / 0.4965 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.6765, allocations: 4 kB / 0.4965 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.6766, allocations: 11.94 kB / 0.4966 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.6766, allocations: 0 / 0.4966 GB, free: 5.594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001955/0.6768, allocations: 147.2 kB / 0.4967 GB, free: 5.453 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6768, allocations: 3.938 kB / 0.4967 GB, free: 5.449 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000393/0.6772, allocations: 28 kB / 0.4967 GB, free: 5.422 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: 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.002104/0.6793, allocations: 1.176 MB / 0.4979 GB, free: 4.344 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.6797, allocations: 55.92 kB / 0.4979 GB, free: 4.289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.6797, allocations: 4.062 kB / 0.4979 GB, free: 4.285 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.6799, allocations: 35.92 kB / 0.498 GB, free: 4.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.6803, allocations: 34.58 kB / 0.498 GB, free: 4.219 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008327/0.6812, allocations: 219.8 kB / 0.4982 GB, free: 3.957 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.6815, allocations: 0.7082 MB / 0.4989 GB, free: 3.223 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.365e-05/0.6816, allocations: 24.77 kB / 0.4989 GB, free: 3.199 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.862e-05/0.6817, allocations: 35.42 kB / 0.499 GB, free: 3.164 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6817, allocations: 0 / 0.499 GB, free: 3.164 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.7045, allocations: 2.972 MB / 0.5019 GB, free: 276 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002964/0.7049, allocations: 189.5 kB / 0.502 GB, free: 52 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.292, allocations: 0 / 0.502 GB, free: 52 kB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat