Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 270 MB / 283.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.214e-05/4.203e-05, allocations: 11.23 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1825, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5261/0.7087, allocations: 90.98 MB / 0.4896 GB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004061/0.7092, allocations: 73.34 kB / 0.4897 GB, free: 13.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03452/0.7438, allocations: 4.935 MB / 0.4945 GB, free: 8.117 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7438, allocations: 0 / 0.4945 GB, free: 8.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.7438, allocations: 0 / 0.4945 GB, free: 8.117 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00117/0.745, allocations: 0.5441 MB / 0.495 GB, free: 7.516 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.7451, allocations: 8.031 kB / 0.495 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.437e-05/0.7452, allocations: 38.56 kB / 0.4951 GB, free: 7.461 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.7452, allocations: 16.03 kB / 0.4951 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.7457, allocations: 251.5 kB / 0.4953 GB, free: 7.156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.7458, allocations: 11.95 kB / 0.4953 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.7458, allocations: 4 kB / 0.4953 GB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.7462, allocations: 124.1 kB / 0.4955 GB, free: 7.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.7462, allocations: 0 / 0.4955 GB, free: 7.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.7462, allocations: 4 kB / 0.4955 GB, free: 7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.7462, allocations: 4 kB / 0.4955 GB, free: 6.996 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.7465, allocations: 55.92 kB / 0.4955 GB, free: 6.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.7477, allocations: 0.5829 MB / 0.4961 GB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004402/0.7482, allocations: 103.8 kB / 0.4962 GB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.7483, allocations: 48.83 kB / 0.4962 GB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.7484, allocations: 3.984 kB / 0.4962 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002881/0.7487, allocations: 104 kB / 0.4963 GB, free: 6.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 3.096e-06/0.7487, allocations: 0 / 0.4963 GB, free: 6.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004518/0.7492, allocations: 141.3 kB / 0.4965 GB, free: 5.879 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.7492, allocations: 63.34 kB / 0.4965 GB, free: 5.805 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.7496, allocations: 210 kB / 0.4967 GB, free: 5.594 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.7496, allocations: 25.7 kB / 0.4968 GB, free: 5.562 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.7497, allocations: 124.4 kB / 0.4969 GB, free: 5.434 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.7498, allocations: 35.55 kB / 0.4969 GB, free: 5.398 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.7498, allocations: 4 kB / 0.4969 GB, free: 5.395 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.75, allocations: 330.8 kB / 0.4972 GB, free: 5.062 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.7501, allocations: 40 kB / 0.4973 GB, free: 5.023 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.7503, allocations: 82.69 kB / 0.4973 GB, free: 4.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.7505, allocations: 69.62 kB / 0.4974 GB, free: 4.855 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7505, allocations: 0 / 0.4974 GB, free: 4.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004892/0.751, allocations: 195.1 kB / 0.4976 GB, free: 4.652 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.7511, allocations: 37.73 kB / 0.4976 GB, free: 4.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.7511, allocations: 0 / 0.4976 GB, free: 4.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.7511, allocations: 4 kB / 0.4976 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.7515, allocations: 43.91 kB / 0.4977 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.7515, allocations: 3.953 kB / 0.4977 GB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.7519, allocations: 35.97 kB / 0.4977 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.7519, allocations: 4 kB / 0.4977 GB, free: 4.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001185/0.752, allocations: 124.4 kB / 0.4978 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.7521, allocations: 23.72 kB / 0.4979 GB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.7526, allocations: 147.1 kB / 0.498 GB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.7526, allocations: 7.938 kB / 0.498 GB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.7526, allocations: 3.984 kB / 0.498 GB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.7526, allocations: 3.953 kB / 0.498 GB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.7529, allocations: 237.5 kB / 0.4982 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7529, allocations: 0 / 0.4982 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.7532, allocations: 35.97 kB / 0.4983 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.7533, allocations: 0 / 0.4983 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.7533, allocations: 0 / 0.4983 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.7533, allocations: 0 / 0.4983 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.7533, allocations: 4 kB / 0.4983 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/0.7539, allocations: 232.8 kB / 0.4985 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.842e-05/0.754, allocations: 96.86 kB / 0.4986 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.7541, allocations: 4 kB / 0.4986 GB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.7545, allocations: 27.97 kB / 0.4986 GB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.7546, allocations: 19.97 kB / 0.4986 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.7546, allocations: 8.047 kB / 0.4987 GB, free: 3.465 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.7548, allocations: 168.6 kB / 0.4988 GB, free: 3.301 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7549, allocations: 0 / 0.4988 GB, free: 3.301 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.7553, allocations: 43.94 kB / 0.4989 GB, free: 3.258 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002031/0.7573, allocations: 1.085 MB / 0.4999 GB, free: 2.266 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004672/0.7578, allocations: 155.3 kB / 0.5001 GB, free: 2.102 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7578, allocations: 0 / 0.5001 GB, free: 2.102 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.758, allocations: 56.17 kB / 0.5001 GB, free: 2.047 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.7585, allocations: 39.95 kB / 0.5002 GB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.7596, allocations: 297.9 kB / 0.5004 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.76, allocations: 0.7322 MB / 0.5012 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.7602, allocations: 21.33 kB / 0.5012 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.7603, allocations: 59.41 kB / 0.5012 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/0.7604, allocations: 0 / 0.5012 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.7899, allocations: 4.332 MB / 0.5055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003692/0.7903, allocations: 189 kB / 0.5056 GB, free: 12.37 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.746/3.537, allocations: 4.062 kB / 0.5056 GB, free: 12.37 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat