Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.598/2.598, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.609e-05/4.618e-05, allocations: 15.17 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1746, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5535/0.7281, allocations: 89.26 MB / 499.6 MB, free: 14.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.7285, allocations: 77.08 kB / 499.7 MB, free: 14.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03244/0.7609, allocations: 5.685 MB / 0.4935 GB, free: 8.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.761, allocations: 0 / 0.4935 GB, free: 8.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.761, allocations: 4 kB / 0.4935 GB, free: 8.926 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.0006201/0.7617, allocations: 402.2 kB / 0.4939 GB, free: 8.488 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.7617, allocations: 12.03 kB / 0.4939 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.7618, allocations: 38.55 kB / 0.494 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.7618, allocations: 11.81 kB / 0.494 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.7623, allocations: 214.9 kB / 0.4942 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.7623, allocations: 7.953 kB / 0.4942 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.7623, allocations: 0 / 0.4942 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.7625, allocations: 53.62 kB / 0.4943 GB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.7625, allocations: 4 kB / 0.4943 GB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.7626, allocations: 3.984 kB / 0.4943 GB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.7626, allocations: 3.938 kB / 0.4943 GB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.873e-05/0.7627, allocations: 27.94 kB / 0.4943 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.7632, allocations: 304.8 kB / 0.4946 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.7634, allocations: 58.62 kB / 0.4946 GB, free: 7.648 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/0.7635, allocations: 20.97 kB / 0.4947 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.7635, allocations: 0 / 0.4947 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.7637, allocations: 71.39 kB / 0.4947 GB, free: 7.543 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.7637, allocations: 0 / 0.4947 GB, free: 7.543 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006315/0.7643, allocations: 153.2 kB / 0.4949 GB, free: 7.387 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.7644, allocations: 55.39 kB / 0.4949 GB, free: 7.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.7648, allocations: 202.4 kB / 0.4951 GB, free: 7.109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.7649, allocations: 25.7 kB / 0.4951 GB, free: 7.078 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.7649, allocations: 116 kB / 0.4953 GB, free: 6.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.765, allocations: 15.81 kB / 0.4953 GB, free: 6.945 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.765, allocations: 8 kB / 0.4953 GB, free: 6.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7652, allocations: 326.8 kB / 0.4956 GB, free: 6.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.7652, allocations: 20 kB / 0.4956 GB, free: 6.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.945e-05/0.7654, allocations: 33.7 kB / 0.4956 GB, free: 6.551 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.98e-05/0.7654, allocations: 19.98 kB / 0.4957 GB, free: 6.531 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7655, allocations: 0 / 0.4957 GB, free: 6.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002557/0.7657, allocations: 105.4 kB / 0.4958 GB, free: 6.422 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.7658, allocations: 10.69 kB / 0.4958 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7658, allocations: 0 / 0.4958 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.7658, allocations: 4 kB / 0.4958 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.766, allocations: 19.98 kB / 0.4958 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.766, allocations: 0 / 0.4958 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.594e-05/0.7661, allocations: 4 kB / 0.4958 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.7661, allocations: 4 kB / 0.4958 GB, free: 6.383 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.872e-05/0.7662, allocations: 112.9 kB / 0.4959 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.7663, allocations: 15.81 kB / 0.4959 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.7666, allocations: 119.1 kB / 0.496 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.7666, allocations: 288 / 0.496 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.7667, allocations: 0 / 0.496 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.7667, allocations: 3.984 kB / 0.496 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.7674, allocations: 419.3 kB / 0.4964 GB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.7674, allocations: 3.938 kB / 0.4964 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.207e-05/0.7675, allocations: 12.17 kB / 0.4965 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.7675, allocations: 11.97 kB / 0.4965 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.7675, allocations: 4 kB / 0.4965 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7675, allocations: 0 / 0.4965 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.7676, allocations: 4 kB / 0.4965 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.7679, allocations: 221.8 kB / 0.4967 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.61e-05/0.768, allocations: 100.9 kB / 0.4968 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.7681, allocations: 4 kB / 0.4968 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.7682, allocations: 4 kB / 0.4968 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.7683, allocations: 15.94 kB / 0.4968 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.7683, allocations: 0 / 0.4968 GB, free: 5.234 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002484/0.7686, allocations: 172.3 kB / 0.497 GB, free: 5.066 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7686, allocations: 0 / 0.497 GB, free: 5.066 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004158/0.769, allocations: 31.92 kB / 0.497 GB, free: 5.035 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.001955/0.771, allocations: 1.168 MB / 0.4981 GB, free: 3.965 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.7712, allocations: 59.92 kB / 0.4982 GB, free: 3.906 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.7712, allocations: 4.062 kB / 0.4982 GB, free: 3.902 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.469e-05/0.7714, allocations: 27.94 kB / 0.4982 GB, free: 3.875 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.7718, allocations: 32.06 kB / 0.4983 GB, free: 3.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.7726, allocations: 256.6 kB / 0.4985 GB, free: 3.551 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.773, allocations: 0.716 MB / 0.4992 GB, free: 2.809 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.772e-05/0.7732, allocations: 28.89 kB / 0.4992 GB, free: 2.781 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.7733, allocations: 39.42 kB / 0.4993 GB, free: 2.742 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7733, allocations: 0 / 0.4993 GB, free: 2.742 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.8026, allocations: 3.206 MB / 0.5024 GB, free: 15.61 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003371/0.803, allocations: 193.2 kB / 0.5026 GB, free: 15.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.98/3.783, allocations: 0 / 0.5026 GB, free: 15.39 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat