Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.489/2.489, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.269e-05, allocations: 11.17 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1656, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5397/0.7053, allocations: 89.39 MB / 499.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/0.7057, allocations: 71.97 kB / 499.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03537/0.7411, allocations: 6.305 MB / 0.4943 GB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.7411, allocations: 0 / 0.4943 GB, free: 8.242 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.7411, allocations: 0 / 0.4943 GB, free: 8.242 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000678/0.7418, allocations: 437.9 kB / 0.4947 GB, free: 7.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.7419, allocations: 16.03 kB / 0.4947 GB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.347e-05/0.742, allocations: 34.56 kB / 0.4947 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.742, allocations: 19.81 kB / 0.4948 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.7425, allocations: 230.6 kB / 0.495 GB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.7425, allocations: 7.953 kB / 0.495 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.7426, allocations: 8 kB / 0.495 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.7428, allocations: 65.67 kB / 0.495 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.7428, allocations: 3.906 kB / 0.4951 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.7429, allocations: 0 / 0.4951 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.7429, allocations: 8 kB / 0.4951 GB, free: 7.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.743, allocations: 35.97 kB / 0.4951 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.7437, allocations: 348.6 kB / 0.4954 GB, free: 6.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.744, allocations: 74.55 kB / 0.4955 GB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.7442, allocations: 24.86 kB / 0.4955 GB, free: 6.793 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.7442, allocations: 4 kB / 0.4955 GB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.7444, allocations: 79.33 kB / 0.4956 GB, free: 6.699 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.475e-06/0.7444, allocations: 0 / 0.4956 GB, free: 6.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009715/0.7454, allocations: 268.9 kB / 0.4959 GB, free: 6.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.7455, allocations: 59.36 kB / 0.4959 GB, free: 6.359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.7459, allocations: 230.2 kB / 0.4961 GB, free: 6.121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.7459, allocations: 29.7 kB / 0.4962 GB, free: 6.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.551e-05/0.746, allocations: 124.1 kB / 0.4963 GB, free: 5.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/0.7461, allocations: 47.44 kB / 0.4963 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.7461, allocations: 0 / 0.4963 GB, free: 5.914 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.7463, allocations: 326.8 kB / 0.4966 GB, free: 5.586 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.7464, allocations: 39.98 kB / 0.4967 GB, free: 5.547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.7466, allocations: 54.42 kB / 0.4967 GB, free: 5.488 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.7467, allocations: 44.11 kB / 0.4968 GB, free: 5.445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.7467, allocations: 0 / 0.4968 GB, free: 5.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000403/0.7471, allocations: 165.3 kB / 0.4969 GB, free: 5.277 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.7472, allocations: 4 kB / 0.4969 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7472, allocations: 0 / 0.4969 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.7472, allocations: 4 kB / 0.4969 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.7474, allocations: 31.92 kB / 0.497 GB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.7475, allocations: 4 kB / 0.497 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-05/0.7476, allocations: 3.953 kB / 0.497 GB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.7476, allocations: 4 kB / 0.497 GB, free: 5.227 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 (16): * Single equations (assignments): 16 * 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.0001108/0.7477, allocations: 113.6 kB / 0.4971 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.7478, allocations: 15.81 kB / 0.4971 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.7484, allocations: 195.4 kB / 0.4973 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.7484, allocations: 4 kB / 0.4973 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7484, allocations: 0 / 0.4973 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.7484, allocations: 7.938 kB / 0.4973 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.7495, allocations: 0.5312 MB / 0.4978 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7495, allocations: 4 kB / 0.4978 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.7496, allocations: 19.98 kB / 0.4978 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.7497, allocations: 7.953 kB / 0.4978 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.7497, allocations: 4 kB / 0.4979 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.7497, allocations: 7.938 kB / 0.4979 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7497, allocations: 0 / 0.4979 GB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.7502, allocations: 292.4 kB / 0.4981 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.7504, allocations: 100.9 kB / 0.4982 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.7504, allocations: 12 kB / 0.4982 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.7506, allocations: 7.984 kB / 0.4983 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.7506, allocations: 7.984 kB / 0.4983 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.7507, allocations: 16 kB / 0.4983 GB, free: 3.766 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002918/0.751, allocations: 184.5 kB / 0.4985 GB, free: 3.586 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.751, allocations: 0 / 0.4985 GB, free: 3.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004365/0.7514, allocations: 43.94 kB / 0.4985 GB, free: 3.543 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 (16): * Single equations (assignments): 14 * 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.002362/0.7538, allocations: 1.375 MB / 0.4998 GB, free: 2.285 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003833/0.7542, allocations: 99.98 kB / 0.4999 GB, free: 2.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.7543, allocations: 3.938 kB / 0.4999 GB, free: 2.184 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.7544, allocations: 51.94 kB / 0.5 GB, free: 2.133 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.7549, allocations: 32.09 kB / 0.5 GB, free: 2.098 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.756, allocations: 342.1 kB / 0.5003 GB, free: 1.723 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.7564, allocations: 0.7321 MB / 0.5011 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.7566, allocations: 25.19 kB / 0.5011 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.7568, allocations: 67.39 kB / 0.5011 GB, free: 0.875 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.7568, allocations: 0 / 0.5011 GB, free: 0.875 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0536/0.8104, allocations: 3.966 MB / 0.505 GB, free: 12.99 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003668/0.8109, allocations: 191 kB / 0.5052 GB, free: 12.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.325, allocations: 3.938 kB / 0.5052 GB, free: 12.77 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat