Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.935/1.935, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.658e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.101, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.4963, allocations: 77.46 MB / 399.3 MB, free: 12.13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.4966, allocations: 71.95 kB / 399.4 MB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01856/0.5152, allocations: 3.951 MB / 403.4 MB, free: 8.125 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5152, allocations: 0 / 403.4 MB, free: 8.125 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.5153, allocations: 4 kB / 403.4 MB, free: 8.121 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001089/0.5164, allocations: 0.546 MB / 403.9 MB, free: 7.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5164, allocations: 8.031 kB / 403.9 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.5165, allocations: 42.55 kB / 403.9 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.5166, allocations: 11.91 kB / 404 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.517, allocations: 227.5 kB / 404.2 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.517, allocations: 4 kB / 404.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.5171, allocations: 8 kB / 404.2 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.5173, allocations: 89.66 kB / 404.3 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5174, allocations: 3.938 kB / 404.3 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.5174, allocations: 0 / 404.3 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5174, allocations: 0 / 404.3 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.5176, allocations: 47.98 kB / 404.3 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.5187, allocations: 416.6 kB / 404.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.5191, allocations: 94.61 kB / 404.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.5193, allocations: 41.02 kB / 404.9 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.5193, allocations: 3.984 kB / 404.9 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.5196, allocations: 99.23 kB / 405 MB, free: 6.305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.745e-06/0.5196, allocations: 0 / 405 MB, free: 6.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004411/0.52, allocations: 125.4 kB / 405.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.5201, allocations: 51.41 kB / 405.1 MB, free: 6.113 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.5204, allocations: 182.3 kB / 405.3 MB, free: 5.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.5205, allocations: 33.64 kB / 405.4 MB, free: 5.891 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.5206, allocations: 120 kB / 405.5 MB, free: 5.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.5207, allocations: 23.7 kB / 405.5 MB, free: 5.746 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.5207, allocations: 0 / 405.5 MB, free: 5.746 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.5209, allocations: 326.8 kB / 405.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.5211, allocations: 44 kB / 405.9 MB, free: 5.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.5213, allocations: 53.7 kB / 405.9 MB, free: 5.316 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.5215, allocations: 111.3 kB / 406 MB, free: 5.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5216, allocations: 0 / 406 MB, free: 5.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000545/0.5221, allocations: 213.7 kB / 406.2 MB, free: 4.969 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.771e-05/0.5222, allocations: 67.39 kB / 406.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.5222, allocations: 0 / 406.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5222, allocations: 0 / 406.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.5226, allocations: 35.92 kB / 406.3 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.5226, allocations: 8.031 kB / 406.3 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.5229, allocations: 35.81 kB / 406.4 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.523, allocations: 8 kB / 406.4 MB, free: 4.805 MB / 330.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: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * 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.0001245/0.5231, allocations: 116.9 kB / 406.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.5232, allocations: 15.81 kB / 406.5 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.5236, allocations: 131.1 kB / 406.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.5236, allocations: 4 kB / 406.6 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.5236, allocations: 7.938 kB / 406.6 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5236, allocations: 0 / 406.6 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.5239, allocations: 225.6 kB / 406.9 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.524, allocations: 0 / 406.9 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.5243, allocations: 31.97 kB / 406.9 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.5243, allocations: 4 kB / 406.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.5243, allocations: 11.94 kB / 406.9 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.5243, allocations: 0 / 406.9 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5243, allocations: 0 / 406.9 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.5249, allocations: 197.3 kB / 407.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.525, allocations: 92.95 kB / 407.2 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.5251, allocations: 4 kB / 407.2 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.5254, allocations: 28.03 kB / 407.2 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/0.5255, allocations: 20.06 kB / 407.3 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.5256, allocations: 11.94 kB / 407.3 MB, free: 3.824 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.5258, allocations: 141.2 kB / 407.4 MB, free: 3.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5258, allocations: 0 / 407.4 MB, free: 3.688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.5262, allocations: 59.88 kB / 407.5 MB, free: 3.629 MB / 330.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: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001581/0.5278, allocations: 0.9413 MB / 408.4 MB, free: 2.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.5282, allocations: 214.7 kB / 408.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5283, allocations: 0 / 408.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.5284, allocations: 51.86 kB / 408.7 MB, free: 2.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.5288, allocations: 32.17 kB / 408.7 MB, free: 2.395 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.5298, allocations: 269.7 kB / 409 MB, free: 2.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.5301, allocations: 0.7236 MB / 409.7 MB, free: 1.344 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001276/0.5303, allocations: 16.77 kB / 409.7 MB, free: 1.328 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.5304, allocations: 39.42 kB / 409.7 MB, free: 1.289 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5304, allocations: 0 / 409.7 MB, free: 1.289 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.5605, allocations: 3.926 MB / 413.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.5607, allocations: 187.7 kB / 413.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/2.944, allocations: 7.938 kB / 413.9 MB, free: 13.19 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat