Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.515/2.515, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.27e-05/5.282e-05, allocations: 11.94 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1364, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5399/0.6763, allocations: 89.23 MB / 499.6 MB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.6767, allocations: 71.97 kB / 499.7 MB, free: 14.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0247/0.7014, allocations: 5.317 MB / 0.4931 GB, free: 9.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.668e-06/0.7014, allocations: 0 / 0.4931 GB, free: 9.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.7015, allocations: 7.938 kB / 0.4932 GB, free: 9.363 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.0005953/0.7021, allocations: 388.9 kB / 0.4935 GB, free: 8.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.7021, allocations: 12.03 kB / 0.4935 GB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.239e-05/0.7022, allocations: 34.56 kB / 0.4936 GB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.7023, allocations: 7.906 kB / 0.4936 GB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.7027, allocations: 214.5 kB / 0.4938 GB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.7027, allocations: 7.953 kB / 0.4938 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.7027, allocations: 0 / 0.4938 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.7029, allocations: 53.67 kB / 0.4938 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.7029, allocations: 0 / 0.4938 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.7029, allocations: 8 kB / 0.4939 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.703, allocations: 0 / 0.4939 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.703, allocations: 23.92 kB / 0.4939 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.7036, allocations: 280.9 kB / 0.4941 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.7037, allocations: 62.62 kB / 0.4942 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/0.7038, allocations: 28.97 kB / 0.4942 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.7038, allocations: 0 / 0.4942 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.704, allocations: 67.39 kB / 0.4943 GB, free: 8.027 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.704, allocations: 0 / 0.4943 GB, free: 8.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006192/0.7047, allocations: 157.1 kB / 0.4944 GB, free: 7.867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.7047, allocations: 55.39 kB / 0.4945 GB, free: 7.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.7049, allocations: 146.1 kB / 0.4946 GB, free: 7.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.705, allocations: 29.7 kB / 0.4947 GB, free: 7.609 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.7051, allocations: 100.1 kB / 0.4948 GB, free: 7.508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.7051, allocations: 23.7 kB / 0.4948 GB, free: 7.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.7051, allocations: 4 kB / 0.4948 GB, free: 7.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.7053, allocations: 326.8 kB / 0.4951 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.7053, allocations: 16 kB / 0.4951 GB, free: 7.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-05/0.7054, allocations: 41.64 kB / 0.4952 GB, free: 7.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/0.7055, allocations: 19.98 kB / 0.4952 GB, free: 7.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7055, allocations: 8 kB / 0.4952 GB, free: 7.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000232/0.7058, allocations: 89.59 kB / 0.4953 GB, free: 6.969 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.7058, allocations: 4 kB / 0.4953 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.7058, allocations: 0 / 0.4953 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7059, allocations: 4 kB / 0.4953 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.706, allocations: 19.92 kB / 0.4953 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.706, allocations: 0 / 0.4953 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.7061, allocations: 8 kB / 0.4953 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.7062, allocations: 0 / 0.4953 GB, free: 6.934 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.286e-05/0.7063, allocations: 117 kB / 0.4954 GB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.7063, allocations: 11.81 kB / 0.4954 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.7066, allocations: 118.2 kB / 0.4955 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.7067, allocations: 0 / 0.4955 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7067, allocations: 0 / 0.4955 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7067, allocations: 0 / 0.4955 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.7073, allocations: 403.3 kB / 0.4959 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7073, allocations: 4.031 kB / 0.4959 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.7074, allocations: 12 kB / 0.4959 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.7074, allocations: 3.938 kB / 0.4959 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.7075, allocations: 0 / 0.4959 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.7075, allocations: 0 / 0.4959 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.7075, allocations: 7.984 kB / 0.4959 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.7078, allocations: 222.1 kB / 0.4962 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.7079, allocations: 88.92 kB / 0.4962 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.7079, allocations: 8 kB / 0.4962 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.7081, allocations: 3.984 kB / 0.4963 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.7081, allocations: 8.141 kB / 0.4963 GB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.7082, allocations: 8 kB / 0.4963 GB, free: 5.828 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.7083, allocations: 130.4 kB / 0.4964 GB, free: 5.703 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7083, allocations: 0 / 0.4964 GB, free: 5.703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.7087, allocations: 28 kB / 0.4964 GB, free: 5.676 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.00186/0.7106, allocations: 1.159 MB / 0.4976 GB, free: 4.613 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.7108, allocations: 55.92 kB / 0.4976 GB, free: 4.559 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.7109, allocations: 4 kB / 0.4976 GB, free: 4.555 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.711, allocations: 24 kB / 0.4976 GB, free: 4.531 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.7114, allocations: 38.61 kB / 0.4977 GB, free: 4.496 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000727/0.7121, allocations: 208.3 kB / 0.4979 GB, free: 4.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.7125, allocations: 0.7084 MB / 0.4986 GB, free: 3.516 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.305e-05/0.7126, allocations: 20.83 kB / 0.4986 GB, free: 3.496 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.29e-05/0.7127, allocations: 31.42 kB / 0.4986 GB, free: 3.465 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/0.7127, allocations: 0 / 0.4986 GB, free: 3.465 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.7396, allocations: 2.831 MB / 0.5014 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003654/0.7401, allocations: 192.4 kB / 0.5016 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.414, allocations: 4 kB / 0.5016 GB, free: 500 kB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat