Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.527/2.527, allocations: 270 MB / 283.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.899e-05/5.911e-05, allocations: 11.17 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1447, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5291/0.6739, allocations: 89.34 MB / 499.7 MB, free: 14.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.6743, allocations: 71.95 kB / 499.8 MB, free: 14.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02867/0.703, allocations: 5.989 MB / 0.4939 GB, free: 8.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.703, allocations: 0 / 0.4939 GB, free: 8.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.703, allocations: 8 kB / 0.4939 GB, free: 8.543 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006915/0.7038, allocations: 422.1 kB / 0.4943 GB, free: 8.086 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.7038, allocations: 12.03 kB / 0.4943 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/0.7039, allocations: 30.56 kB / 0.4944 GB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.704, allocations: 15.81 kB / 0.4944 GB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.7044, allocations: 219.6 kB / 0.4946 GB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.7045, allocations: 7.953 kB / 0.4946 GB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.7045, allocations: 4 kB / 0.4946 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.7047, allocations: 65.61 kB / 0.4947 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.7048, allocations: 0 / 0.4947 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.7048, allocations: 0 / 0.4947 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7048, allocations: 0 / 0.4947 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.747e-05/0.7049, allocations: 27.98 kB / 0.4947 GB, free: 7.652 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.7055, allocations: 316.7 kB / 0.495 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.7059, allocations: 66.5 kB / 0.4951 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.7059, allocations: 16.98 kB / 0.4951 GB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.706, allocations: 0 / 0.4951 GB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.7062, allocations: 67.39 kB / 0.4951 GB, free: 7.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.7062, allocations: 0 / 0.4951 GB, free: 7.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008655/0.7071, allocations: 213.1 kB / 0.4953 GB, free: 6.906 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.7072, allocations: 51.41 kB / 0.4954 GB, free: 6.844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.7076, allocations: 235 kB / 0.4956 GB, free: 6.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.7076, allocations: 29.7 kB / 0.4956 GB, free: 6.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.7077, allocations: 112.1 kB / 0.4957 GB, free: 6.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.7078, allocations: 39.45 kB / 0.4958 GB, free: 6.418 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.7078, allocations: 0 / 0.4958 GB, free: 6.418 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.708, allocations: 330.8 kB / 0.4961 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.7081, allocations: 31.98 kB / 0.4961 GB, free: 6.055 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.7082, allocations: 45.72 kB / 0.4962 GB, free: 6.004 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.7083, allocations: 31.92 kB / 0.4962 GB, free: 5.973 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7083, allocations: 0 / 0.4962 GB, free: 5.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003582/0.7087, allocations: 117.6 kB / 0.4963 GB, free: 5.852 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.7087, allocations: 4 kB / 0.4963 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.7087, allocations: 4 kB / 0.4963 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.7088, allocations: 0 / 0.4963 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.7089, allocations: 27.92 kB / 0.4963 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.709, allocations: 480 / 0.4963 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.7091, allocations: 12.03 kB / 0.4964 GB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.7091, allocations: 11.89 kB / 0.4964 GB, free: 5.793 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 (13): * Single equations (assignments): 13 * 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.0001142/0.7093, allocations: 109 kB / 0.4965 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.7093, allocations: 19.8 kB / 0.4965 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/0.7098, allocations: 151.1 kB / 0.4966 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.7098, allocations: 0 / 0.4966 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7098, allocations: 3.938 kB / 0.4966 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7098, allocations: 0 / 0.4966 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000909/0.7108, allocations: 476.1 kB / 0.4971 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.7108, allocations: 0 / 0.4971 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.7109, allocations: 19.92 kB / 0.4971 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.711, allocations: 4 kB / 0.4971 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.711, allocations: 0 / 0.4971 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.711, allocations: 7.953 kB / 0.4971 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.711, allocations: 0 / 0.4971 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.7115, allocations: 260.5 kB / 0.4974 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.7116, allocations: 104.9 kB / 0.4975 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.7116, allocations: 4 kB / 0.4975 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.7118, allocations: 4.094 kB / 0.4975 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.7119, allocations: 19.86 kB / 0.4975 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.7119, allocations: 8 kB / 0.4975 GB, free: 4.496 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002871/0.7122, allocations: 179.4 kB / 0.4977 GB, free: 4.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7122, allocations: 0 / 0.4977 GB, free: 4.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004613/0.7127, allocations: 43.94 kB / 0.4977 GB, free: 4.277 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002376/0.7151, allocations: 1.339 MB / 0.499 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.7155, allocations: 75.86 kB / 0.4991 GB, free: 2.984 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7155, allocations: 4 kB / 0.4991 GB, free: 2.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.7156, allocations: 35.94 kB / 0.4991 GB, free: 2.945 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.7161, allocations: 32.34 kB / 0.4992 GB, free: 2.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.7172, allocations: 298 kB / 0.4995 GB, free: 2.582 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.7176, allocations: 0.7238 MB / 0.5002 GB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.7178, allocations: 28.69 kB / 0.5002 GB, free: 1.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.7179, allocations: 51.41 kB / 0.5002 GB, free: 1.754 MB / 410.7 MB Notification: Performance of SimCode: time 1.933e-06/0.7179, allocations: 0 / 0.5002 GB, free: 1.754 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.748, allocations: 3.616 MB / 0.5038 GB, free: 14.21 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/0.7484, allocations: 197.2 kB / 0.504 GB, free: 13.99 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.371, allocations: 4 kB / 0.504 GB, free: 13.98 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat