Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.649/2.649, allocations: 270 MB / 283.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.055e-05/5.078e-05, allocations: 8 kB / 348.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4184, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.5851, allocations: 89.28 MB / 499.7 MB, free: 1.219 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.5855, allocations: 71.97 kB / 499.7 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02653/0.612, allocations: 5.497 MB / 0.4934 GB, free: 11.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6121, allocations: 7.938 kB / 0.4934 GB, free: 11.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.6121, allocations: 4 kB / 0.4934 GB, free: 11.63 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.0005755/0.6127, allocations: 398.3 kB / 0.4938 GB, free: 11.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.6128, allocations: 8.031 kB / 0.4938 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.6128, allocations: 30.56 kB / 0.4938 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.6129, allocations: 11.91 kB / 0.4938 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.6133, allocations: 219.6 kB / 0.494 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.6134, allocations: 7.891 kB / 0.494 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.6134, allocations: 12 kB / 0.494 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.6136, allocations: 53.67 kB / 0.4941 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.6137, allocations: 0 / 0.4941 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.6137, allocations: 0 / 0.4941 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.6138, allocations: 0 / 0.4941 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.6139, allocations: 16 kB / 0.4941 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007587/0.6147, allocations: 296.9 kB / 0.4944 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.615, allocations: 62.62 kB / 0.4945 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.6151, allocations: 20.92 kB / 0.4945 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.6151, allocations: 0 / 0.4945 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.6154, allocations: 67.39 kB / 0.4945 GB, free: 10.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.717e-06/0.6154, allocations: 0 / 0.4945 GB, free: 10.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000917/0.6164, allocations: 153.2 kB / 0.4947 GB, free: 10.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.6164, allocations: 55.41 kB / 0.4947 GB, free: 10.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.6169, allocations: 176.9 kB / 0.4949 GB, free: 9.879 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.617, allocations: 25.7 kB / 0.4949 GB, free: 9.848 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.6171, allocations: 96.14 kB / 0.495 GB, free: 9.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.6172, allocations: 23.7 kB / 0.495 GB, free: 9.727 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.6172, allocations: 0 / 0.495 GB, free: 9.727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.6175, allocations: 330.8 kB / 0.4954 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.6176, allocations: 16 kB / 0.4954 GB, free: 9.379 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.6178, allocations: 37.66 kB / 0.4954 GB, free: 9.336 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.618, allocations: 27.97 kB / 0.4954 GB, free: 9.309 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.618, allocations: 4 kB / 0.4954 GB, free: 9.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000448/0.6185, allocations: 97.48 kB / 0.4955 GB, free: 9.203 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.6185, allocations: 4 kB / 0.4955 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.6185, allocations: 3.984 kB / 0.4955 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.6186, allocations: 4 kB / 0.4956 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.6188, allocations: 15.94 kB / 0.4956 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.6188, allocations: 0 / 0.4956 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.619, allocations: 19.95 kB / 0.4956 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.619, allocations: 4 kB / 0.4956 GB, free: 9.152 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.0001244/0.6192, allocations: 106.9 kB / 0.4957 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.6192, allocations: 11.91 kB / 0.4957 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/0.6197, allocations: 114.2 kB / 0.4958 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.6198, allocations: 7.938 kB / 0.4958 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6198, allocations: 0 / 0.4958 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.6198, allocations: 0 / 0.4958 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.621, allocations: 411.3 kB / 0.4962 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.621, allocations: 288 / 0.4962 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.6212, allocations: 8 kB / 0.4962 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.996e-06/0.6212, allocations: 0 / 0.4962 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.6212, allocations: 11.92 kB / 0.4962 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6213, allocations: 0 / 0.4962 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6213, allocations: 0 / 0.4962 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.6218, allocations: 225.8 kB / 0.4964 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.6219, allocations: 93.02 kB / 0.4965 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.622, allocations: 4.172 kB / 0.4965 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.6222, allocations: 8 kB / 0.4965 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.6223, allocations: 11.95 kB / 0.4966 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.6223, allocations: 3.984 kB / 0.4966 GB, free: 8.047 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002569/0.6226, allocations: 144.6 kB / 0.4967 GB, free: 7.906 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6226, allocations: 0 / 0.4967 GB, free: 7.906 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000595/0.6232, allocations: 31.98 kB / 0.4967 GB, free: 7.875 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.002964/0.6262, allocations: 1.179 MB / 0.4979 GB, free: 6.812 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003058/0.6265, allocations: 59.92 kB / 0.4979 GB, free: 6.754 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6266, allocations: 3.938 kB / 0.4979 GB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.6267, allocations: 24 kB / 0.498 GB, free: 6.727 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.6273, allocations: 30.78 kB / 0.498 GB, free: 6.699 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.6284, allocations: 228.9 kB / 0.4982 GB, free: 6.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.6289, allocations: 0.7043 MB / 0.4989 GB, free: 5.699 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.6291, allocations: 16.41 kB / 0.4989 GB, free: 5.684 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.6292, allocations: 35.42 kB / 0.4989 GB, free: 5.648 MB / 426.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6293, allocations: 0 / 0.4989 GB, free: 5.648 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.6582, allocations: 2.988 MB / 0.5019 GB, free: 2.734 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003182/0.6586, allocations: 189.7 kB / 0.502 GB, free: 2.516 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/3.165, allocations: 0 / 0.502 GB, free: 2.516 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat