Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 3.143/3.143, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.202e-05/4.211e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1508, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5918/0.7426, allocations: 89.5 MB / 499.9 MB, free: 14.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.743, allocations: 68.91 kB / 499.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02784/0.7709, allocations: 5.932 MB / 0.494 GB, free: 8.484 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7709, allocations: 0 / 0.494 GB, free: 8.484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.7709, allocations: 4 kB / 0.494 GB, free: 8.48 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.0006347/0.7716, allocations: 396.9 kB / 0.4944 GB, free: 8.051 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.7716, allocations: 8.031 kB / 0.4944 GB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.7717, allocations: 30.56 kB / 0.4944 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.7718, allocations: 11.84 kB / 0.4944 GB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.7722, allocations: 214.8 kB / 0.4946 GB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.7722, allocations: 0 / 0.4946 GB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.7723, allocations: 8 kB / 0.4947 GB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.7725, allocations: 67.39 kB / 0.4947 GB, free: 7.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.7725, allocations: 0 / 0.4947 GB, free: 7.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.7725, allocations: 0 / 0.4947 GB, free: 7.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.7726, allocations: 4 kB / 0.4947 GB, free: 7.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.621e-05/0.7726, allocations: 27.86 kB / 0.4947 GB, free: 7.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.7732, allocations: 284.9 kB / 0.495 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.7734, allocations: 54.69 kB / 0.4951 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.7734, allocations: 16.98 kB / 0.4951 GB, free: 7.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.7735, allocations: 3.984 kB / 0.4951 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.7737, allocations: 79.33 kB / 0.4952 GB, free: 7.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.477e-06/0.7737, allocations: 0 / 0.4952 GB, free: 7.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009169/0.7747, allocations: 137.4 kB / 0.4953 GB, free: 6.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.7748, allocations: 85.09 kB / 0.4954 GB, free: 6.879 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007118/0.7756, allocations: 151.4 kB / 0.4955 GB, free: 6.727 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.843e-05/0.7757, allocations: 29.7 kB / 0.4956 GB, free: 6.691 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.7759, allocations: 100 kB / 0.4956 GB, free: 6.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.677e-05/0.776, allocations: 23.66 kB / 0.4957 GB, free: 6.566 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.776, allocations: 3.938 kB / 0.4957 GB, free: 6.562 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003271/0.7764, allocations: 326.8 kB / 0.496 GB, free: 6.234 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.7765, allocations: 16 kB / 0.496 GB, free: 6.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.7767, allocations: 42.56 kB / 0.496 GB, free: 6.168 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.778e-05/0.7768, allocations: 20 kB / 0.4961 GB, free: 6.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7768, allocations: 0 / 0.4961 GB, free: 6.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003092/0.7771, allocations: 105.5 kB / 0.4962 GB, free: 6.039 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.7771, allocations: 8.062 kB / 0.4962 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.7772, allocations: 0 / 0.4962 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.7772, allocations: 0 / 0.4962 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.7774, allocations: 16 kB / 0.4962 GB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.7774, allocations: 3.953 kB / 0.4962 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.7775, allocations: 7.984 kB / 0.4962 GB, free: 6.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.7775, allocations: 4 kB / 0.4962 GB, free: 6 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 0.0001138/0.7777, allocations: 105 kB / 0.4963 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.7777, allocations: 7.906 kB / 0.4963 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.7781, allocations: 122.2 kB / 0.4964 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.7781, allocations: 0 / 0.4964 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7781, allocations: 0 / 0.4964 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.7782, allocations: 3.953 kB / 0.4964 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/0.7789, allocations: 391.3 kB / 0.4968 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7789, allocations: 4 kB / 0.4968 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.361e-05/0.779, allocations: 12 kB / 0.4968 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.779, allocations: 7.969 kB / 0.4968 GB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.7791, allocations: 11.97 kB / 0.4968 GB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.7791, allocations: 7.891 kB / 0.4968 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7791, allocations: 0 / 0.4968 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.7794, allocations: 218.1 kB / 0.4971 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.7795, allocations: 88.95 kB / 0.4971 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.7796, allocations: 11.94 kB / 0.4971 GB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.7797, allocations: 8 kB / 0.4972 GB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.7798, allocations: 4 kB / 0.4972 GB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.7798, allocations: 4.172 kB / 0.4972 GB, free: 4.898 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.78, allocations: 123.3 kB / 0.4973 GB, free: 4.777 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.78, allocations: 0 / 0.4973 GB, free: 4.777 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004719/0.7805, allocations: 35.94 kB / 0.4973 GB, free: 4.742 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.002289/0.7828, allocations: 1.225 MB / 0.4985 GB, free: 3.633 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.7832, allocations: 55.94 kB / 0.4986 GB, free: 3.578 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7832, allocations: 0 / 0.4986 GB, free: 3.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.7833, allocations: 35.92 kB / 0.4986 GB, free: 3.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.7839, allocations: 23.92 kB / 0.4986 GB, free: 3.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/0.7848, allocations: 204.5 kB / 0.4988 GB, free: 3.277 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.7853, allocations: 0.7004 MB / 0.4995 GB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.7854, allocations: 16.53 kB / 0.4995 GB, free: 2.535 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.7855, allocations: 31.42 kB / 0.4995 GB, free: 2.504 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.7856, allocations: 4 kB / 0.4995 GB, free: 2.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.8145, allocations: 3.081 MB / 0.5026 GB, free: 15.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/0.8149, allocations: 190.9 kB / 0.5027 GB, free: 15.28 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.501, allocations: 7.938 kB / 0.5027 GB, free: 15.27 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat