Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.613/2.613, allocations: 270 MB / 283.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.617e-05, allocations: 4 kB / 348.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4399, allocations: 61.87 MB / 410.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2175/0.6575, allocations: 89.54 MB / 499.9 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004151/0.658, allocations: 75.95 kB / 500 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03952/0.6975, allocations: 8.183 MB / 0.4963 GB, free: 8.797 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6976, allocations: 0 / 0.4963 GB, free: 8.797 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.069e-05/0.6976, allocations: 4 kB / 0.4963 GB, free: 8.793 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008953/0.6985, allocations: 0.5027 MB / 0.4967 GB, free: 8.246 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.6986, allocations: 8.031 kB / 0.4968 GB, free: 8.238 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.86e-05/0.6987, allocations: 38.56 kB / 0.4968 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.054e-05/0.6987, allocations: 23.72 kB / 0.4968 GB, free: 8.168 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/0.6994, allocations: 299.8 kB / 0.4971 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.6995, allocations: 4 kB / 0.4971 GB, free: 7.828 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.6995, allocations: 11.98 kB / 0.4971 GB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.6998, allocations: 107.3 kB / 0.4972 GB, free: 7.699 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.6999, allocations: 4 kB / 0.4972 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.6999, allocations: 0 / 0.4972 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.6999, allocations: 0 / 0.4972 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.7001, allocations: 47.97 kB / 0.4973 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000925/0.701, allocations: 0.4928 MB / 0.4977 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.7015, allocations: 121.2 kB / 0.4979 GB, free: 6.965 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.7016, allocations: 45.78 kB / 0.4979 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.7017, allocations: 0 / 0.4979 GB, free: 6.914 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.702, allocations: 113.1 kB / 0.498 GB, free: 6.785 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.702, allocations: 0 / 0.498 GB, free: 6.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001431/0.7034, allocations: 440.2 kB / 0.4984 GB, free: 6.348 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.7035, allocations: 81.11 kB / 0.4985 GB, free: 6.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007413/0.7043, allocations: 390.6 kB / 0.4989 GB, free: 5.863 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.7043, allocations: 33.7 kB / 0.4989 GB, free: 5.824 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.7045, allocations: 156.5 kB / 0.4991 GB, free: 5.668 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.7046, allocations: 67.08 kB / 0.4991 GB, free: 5.602 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.7046, allocations: 7.938 kB / 0.4991 GB, free: 5.594 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.7048, allocations: 346.8 kB / 0.4995 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.705, allocations: 55.98 kB / 0.4995 GB, free: 5.191 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.7052, allocations: 88.3 kB / 0.4996 GB, free: 5.094 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.7054, allocations: 60.2 kB / 0.4997 GB, free: 5.035 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7054, allocations: 0 / 0.4997 GB, free: 5.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005836/0.706, allocations: 229 kB / 0.4999 GB, free: 4.805 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.7061, allocations: 8 kB / 0.4999 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7061, allocations: 3.984 kB / 0.4999 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.7061, allocations: 8.062 kB / 0.4999 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.7064, allocations: 43.92 kB / 0.4999 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.7065, allocations: 4 kB / 0.4999 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.7066, allocations: 8 kB / 0.5 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.7067, allocations: 11.98 kB / 0.5 GB, free: 4.719 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000126/0.7068, allocations: 116.9 kB / 0.5001 GB, free: 4.598 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.7069, allocations: 35.58 kB / 0.5001 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007684/0.7077, allocations: 268.2 kB / 0.5004 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.7077, allocations: 4 kB / 0.5004 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.7077, allocations: 0 / 0.5004 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.7077, allocations: 3.984 kB / 0.5004 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.7093, allocations: 0.7819 MB / 0.5011 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.7093, allocations: 4 kB / 0.5011 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.7095, allocations: 35.86 kB / 0.5012 GB, free: 3.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.7095, allocations: 4 kB / 0.5012 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.7096, allocations: 8 kB / 0.5012 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.7096, allocations: 4 kB / 0.5012 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7096, allocations: 0 / 0.5012 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007494/0.7103, allocations: 490.6 kB / 0.5017 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.7105, allocations: 128.7 kB / 0.5018 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.7106, allocations: 8 kB / 0.5018 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.7109, allocations: 11.98 kB / 0.5018 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.711, allocations: 15.98 kB / 0.5018 GB, free: 2.656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.711, allocations: 15.98 kB / 0.5018 GB, free: 2.641 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005525/0.7116, allocations: 310.1 kB / 0.5021 GB, free: 2.336 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7116, allocations: 4 kB / 0.5021 GB, free: 2.332 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005445/0.7121, allocations: 68 kB / 0.5022 GB, free: 2.266 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002678/0.7148, allocations: 1.786 MB / 0.5039 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005234/0.7154, allocations: 155.7 kB / 0.5041 GB, free: 448 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.7154, allocations: 0 / 0.5041 GB, free: 448 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.7157, allocations: 76.23 kB / 0.5042 GB, free: 372 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/0.7164, allocations: 49.25 kB / 0.5042 GB, free: 320 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.7181, allocations: 0.5372 MB / 0.5047 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.7187, allocations: 0.7834 MB / 0.5055 GB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.7189, allocations: 53.98 kB / 0.5055 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.7192, allocations: 99.39 kB / 0.5056 GB, free: 14.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7192, allocations: 0 / 0.5056 GB, free: 14.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.7508, allocations: 6.051 MB / 0.5116 GB, free: 8.801 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003348/0.7512, allocations: 198 kB / 0.5117 GB, free: 8.574 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/3.478, allocations: 0 / 0.5117 GB, free: 8.574 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat