Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.001e-05/4.033e-05, allocations: 11.94 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.507/0.6388, allocations: 89.28 MB / 499.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.6391, allocations: 73.16 kB / 499.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02436/0.6635, allocations: 5.494 MB / 0.4934 GB, free: 9.195 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.164e-06/0.6635, allocations: 0 / 0.4934 GB, free: 9.195 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.6636, allocations: 7.938 kB / 0.4934 GB, free: 9.188 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.000583/0.6642, allocations: 402.3 kB / 0.4938 GB, free: 8.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.6642, allocations: 8.031 kB / 0.4938 GB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.6643, allocations: 30.56 kB / 0.4938 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.6643, allocations: 11.91 kB / 0.4938 GB, free: 8.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.6647, allocations: 214.7 kB / 0.494 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.6648, allocations: 3.953 kB / 0.494 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.6648, allocations: 0 / 0.494 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.665, allocations: 57.67 kB / 0.4941 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.665, allocations: 3.938 kB / 0.4941 GB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.665, allocations: 7.984 kB / 0.4941 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.665, allocations: 7.938 kB / 0.4941 GB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.961e-05/0.6651, allocations: 20 kB / 0.4941 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.6656, allocations: 296.9 kB / 0.4944 GB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.6658, allocations: 54.62 kB / 0.4944 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.6659, allocations: 20.98 kB / 0.4945 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.6659, allocations: 4 kB / 0.4945 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.6661, allocations: 67.39 kB / 0.4945 GB, free: 7.828 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.6661, allocations: 0 / 0.4945 GB, free: 7.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000595/0.6667, allocations: 153.2 kB / 0.4947 GB, free: 7.672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.6668, allocations: 55.39 kB / 0.4947 GB, free: 7.605 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.667, allocations: 170 kB / 0.4949 GB, free: 7.438 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.6671, allocations: 29.7 kB / 0.4949 GB, free: 7.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.6671, allocations: 104.1 kB / 0.495 GB, free: 7.297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.6672, allocations: 19.72 kB / 0.495 GB, free: 7.277 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.6672, allocations: 0 / 0.495 GB, free: 7.277 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.6674, allocations: 326.8 kB / 0.4954 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.6675, allocations: 20 kB / 0.4954 GB, free: 6.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.6675, allocations: 37.64 kB / 0.4954 GB, free: 6.887 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.091e-05/0.6676, allocations: 20 kB / 0.4954 GB, free: 6.867 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6676, allocations: 4 kB / 0.4954 GB, free: 6.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002359/0.6679, allocations: 105.5 kB / 0.4955 GB, free: 6.754 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.6679, allocations: 4 kB / 0.4955 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6679, allocations: 0 / 0.4955 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.668, allocations: 4 kB / 0.4955 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.6681, allocations: 15.94 kB / 0.4956 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6682, allocations: 0 / 0.4956 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.713e-05/0.6683, allocations: 11.92 kB / 0.4956 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.6683, allocations: 4 kB / 0.4956 GB, free: 6.715 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.666e-05/0.6684, allocations: 113 kB / 0.4957 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.6684, allocations: 11.91 kB / 0.4957 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.6688, allocations: 114.6 kB / 0.4958 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.6688, allocations: 4.094 kB / 0.4958 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.6688, allocations: 3.938 kB / 0.4958 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6688, allocations: 0 / 0.4958 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.6695, allocations: 411.2 kB / 0.4962 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.6695, allocations: 4.031 kB / 0.4962 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.441e-05/0.6696, allocations: 11.94 kB / 0.4962 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.6696, allocations: 3.984 kB / 0.4962 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.6696, allocations: 4 kB / 0.4962 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6696, allocations: 0 / 0.4962 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6696, allocations: 0 / 0.4962 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.67, allocations: 226 kB / 0.4964 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.6701, allocations: 89 kB / 0.4965 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.6701, allocations: 12 kB / 0.4965 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.6703, allocations: 4 kB / 0.4965 GB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.6703, allocations: 11.94 kB / 0.4965 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.6703, allocations: 0 / 0.4965 GB, free: 5.602 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001936/0.6705, allocations: 143.9 kB / 0.4967 GB, free: 5.465 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6706, allocations: 0 / 0.4967 GB, free: 5.465 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003866/0.671, allocations: 31.98 kB / 0.4967 GB, free: 5.434 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.001848/0.6728, allocations: 1.183 MB / 0.4979 GB, free: 4.352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.673, allocations: 59.92 kB / 0.4979 GB, free: 4.293 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.6731, allocations: 0 / 0.4979 GB, free: 4.293 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.559e-05/0.6732, allocations: 31.94 kB / 0.498 GB, free: 4.262 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.6736, allocations: 27.94 kB / 0.498 GB, free: 4.234 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007411/0.6743, allocations: 219.9 kB / 0.4982 GB, free: 3.973 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.6747, allocations: 0.7162 MB / 0.4989 GB, free: 3.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.703e-05/0.6748, allocations: 12.42 kB / 0.4989 GB, free: 3.219 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/0.6749, allocations: 35.42 kB / 0.4989 GB, free: 3.184 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.675, allocations: 0 / 0.4989 GB, free: 3.184 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.6977, allocations: 2.98 MB / 0.5019 GB, free: 284 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/0.6981, allocations: 196.7 kB / 0.502 GB, free: 60 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.174, allocations: 7.938 kB / 0.502 GB, free: 52 kB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat