Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.627/2.627, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.492e-05/5.502e-05, allocations: 7.938 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1573, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5839/0.7412, allocations: 89.05 MB / 499.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.7416, allocations: 71.97 kB / 499.5 MB, free: 14.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02465/0.7663, allocations: 5.403 MB / 0.4931 GB, free: 9.426 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.7663, allocations: 0 / 0.4931 GB, free: 9.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.278e-05/0.7664, allocations: 4 kB / 0.4931 GB, free: 9.422 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008211/0.7672, allocations: 398.2 kB / 0.4935 GB, free: 8.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/0.7673, allocations: 8.031 kB / 0.4935 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.851e-05/0.7674, allocations: 30.56 kB / 0.4935 GB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.7675, allocations: 11.91 kB / 0.4935 GB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.7681, allocations: 210.8 kB / 0.4937 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.7681, allocations: 0 / 0.4937 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.7682, allocations: 7.953 kB / 0.4937 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.7684, allocations: 53.66 kB / 0.4938 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.7685, allocations: 0 / 0.4938 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.7685, allocations: 4 kB / 0.4938 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.7685, allocations: 4 kB / 0.4938 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.644e-05/0.7686, allocations: 15.94 kB / 0.4938 GB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.7689, allocations: 189.6 kB / 0.494 GB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.7691, allocations: 46.56 kB / 0.494 GB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.756e-05/0.7692, allocations: 20.86 kB / 0.494 GB, free: 8.281 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.7692, allocations: 3.953 kB / 0.494 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.7694, allocations: 71.42 kB / 0.4941 GB, free: 8.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.234e-06/0.7694, allocations: 0 / 0.4941 GB, free: 8.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003064/0.7698, allocations: 85.53 kB / 0.4942 GB, free: 8.105 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.7698, allocations: 55.39 kB / 0.4942 GB, free: 8.039 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.7702, allocations: 199.3 kB / 0.4944 GB, free: 7.836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.7702, allocations: 25.7 kB / 0.4944 GB, free: 7.805 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.7703, allocations: 104.1 kB / 0.4945 GB, free: 7.699 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.7704, allocations: 11.91 kB / 0.4946 GB, free: 7.688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.7704, allocations: 0 / 0.4946 GB, free: 7.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.7706, allocations: 330.8 kB / 0.4949 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.161e-05/0.7706, allocations: 12 kB / 0.4949 GB, free: 7.344 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.7707, allocations: 21.72 kB / 0.4949 GB, free: 7.316 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.303e-05/0.7708, allocations: 19.98 kB / 0.4949 GB, free: 7.297 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7708, allocations: 0 / 0.4949 GB, free: 7.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002106/0.771, allocations: 85.44 kB / 0.495 GB, free: 7.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.7711, allocations: 7.953 kB / 0.495 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.7711, allocations: 4 kB / 0.495 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.7711, allocations: 0 / 0.495 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.7713, allocations: 8 kB / 0.495 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7713, allocations: 0 / 0.495 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.049e-05/0.7714, allocations: 11.98 kB / 0.495 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.7714, allocations: 4 kB / 0.495 GB, free: 7.172 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 (7): * Single equations (assignments): 7 * 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.974e-05/0.7715, allocations: 104.9 kB / 0.4951 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.7716, allocations: 15.94 kB / 0.4952 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.7718, allocations: 90.62 kB / 0.4952 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.7719, allocations: 0 / 0.4952 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7719, allocations: 4 kB / 0.4952 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.7719, allocations: 3.984 kB / 0.4953 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.7721, allocations: 201.5 kB / 0.4954 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7722, allocations: 0 / 0.4954 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.044e-05/0.7722, allocations: 8 kB / 0.4955 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.7722, allocations: 0 / 0.4955 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.7723, allocations: 0 / 0.4955 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.7723, allocations: 11.89 kB / 0.4955 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7723, allocations: 0 / 0.4955 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.7725, allocations: 117.1 kB / 0.4956 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.7727, allocations: 96.91 kB / 0.4957 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.7727, allocations: 0 / 0.4957 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.7728, allocations: 8 kB / 0.4957 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.7729, allocations: 11.94 kB / 0.4957 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.7729, allocations: 0 / 0.4957 GB, free: 6.414 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000218/0.7731, allocations: 162.8 kB / 0.4958 GB, free: 6.258 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.7731, allocations: 3.938 kB / 0.4958 GB, free: 6.254 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000319/0.7734, allocations: 24 kB / 0.4959 GB, free: 6.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001706/0.7752, allocations: 0.9406 MB / 0.4968 GB, free: 5.379 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.7754, allocations: 35.98 kB / 0.4968 GB, free: 5.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7754, allocations: 0 / 0.4968 GB, free: 5.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.7755, allocations: 23.94 kB / 0.4968 GB, free: 5.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.7759, allocations: 28 kB / 0.4969 GB, free: 5.293 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007279/0.7766, allocations: 223.6 kB / 0.4971 GB, free: 5.039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.777, allocations: 0.7082 MB / 0.4978 GB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.585e-05/0.7771, allocations: 20.41 kB / 0.4978 GB, free: 4.285 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.767e-05/0.7772, allocations: 27.44 kB / 0.4978 GB, free: 4.258 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7772, allocations: 4 kB / 0.4978 GB, free: 4.254 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.8, allocations: 2.832 MB / 0.5006 GB, free: 1.496 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/0.8004, allocations: 201.8 kB / 0.5008 GB, free: 1.266 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.317, allocations: 0 / 0.5008 GB, free: 1.266 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat