Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.893/1.893, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.673e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.0987, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/0.4921, allocations: 75.78 MB / 397.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.4924, allocations: 67.95 kB / 397.7 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0196/0.512, allocations: 4.531 MB / 402.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5121, allocations: 0 / 402.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.5121, allocations: 0 / 402.3 MB, free: 9.234 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005701/0.5127, allocations: 435.9 kB / 402.7 MB, free: 8.758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.5128, allocations: 12.03 kB / 402.7 MB, free: 8.746 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.5128, allocations: 42.55 kB / 402.8 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.5129, allocations: 15.77 kB / 402.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.5132, allocations: 198.9 kB / 403 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.5133, allocations: 8 kB / 403 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.5133, allocations: 4 kB / 403 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.5135, allocations: 49.67 kB / 403 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5135, allocations: 8 kB / 403 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.5135, allocations: 0 / 403 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5135, allocations: 0 / 403 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.5137, allocations: 35.86 kB / 403.1 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.5142, allocations: 316.9 kB / 403.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.5144, allocations: 46.56 kB / 403.4 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.5145, allocations: 20.94 kB / 403.4 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.5145, allocations: 4 kB / 403.4 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.5147, allocations: 71.33 kB / 403.5 MB, free: 7.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.033e-06/0.5147, allocations: 0 / 403.5 MB, free: 7.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005499/0.5153, allocations: 133.1 kB / 403.6 MB, free: 7.676 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.5153, allocations: 59.39 kB / 403.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.5157, allocations: 209.8 kB / 403.9 MB, free: 7.391 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.5157, allocations: 29.7 kB / 403.9 MB, free: 7.355 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.5158, allocations: 108.1 kB / 404 MB, free: 7.246 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.5159, allocations: 23.73 kB / 404.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.5159, allocations: 0 / 404.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5161, allocations: 327.2 kB / 404.4 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.004e-05/0.5162, allocations: 27.94 kB / 404.4 MB, free: 6.867 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.5163, allocations: 28 kB / 404.4 MB, free: 6.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.5164, allocations: 61.67 kB / 404.5 MB, free: 6.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.5164, allocations: 0 / 404.5 MB, free: 6.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003293/0.5167, allocations: 147.2 kB / 404.6 MB, free: 6.617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.5168, allocations: 33.7 kB / 404.7 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.5168, allocations: 0 / 404.7 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5168, allocations: 3.938 kB / 404.7 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.517, allocations: 19.94 kB / 404.7 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.517, allocations: 0 / 404.7 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.5171, allocations: 8 kB / 404.7 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.5171, allocations: 4 kB / 404.7 MB, free: 6.543 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 8.6e-05/0.5172, allocations: 105 kB / 404.8 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.5173, allocations: 11.81 kB / 404.8 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.5176, allocations: 119.1 kB / 404.9 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.5176, allocations: 4 kB / 404.9 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.5177, allocations: 7.953 kB / 405 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5177, allocations: 4.078 kB / 405 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.5183, allocations: 398.5 kB / 405.3 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5183, allocations: 0 / 405.3 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.099e-05/0.5184, allocations: 11.98 kB / 405.4 MB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.5184, allocations: 3.938 kB / 405.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.5185, allocations: 11.95 kB / 405.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.5185, allocations: 256 / 405.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5185, allocations: 0 / 405.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.5188, allocations: 199.6 kB / 405.6 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.703e-05/0.5189, allocations: 101 kB / 405.7 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.5189, allocations: 4 kB / 405.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5191, allocations: 3.953 kB / 405.7 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.5191, allocations: 11.98 kB / 405.7 MB, free: 5.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.5192, allocations: 4 kB / 405.7 MB, free: 5.457 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002608/0.5194, allocations: 167.2 kB / 405.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5194, allocations: 4 kB / 405.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004258/0.5199, allocations: 43.92 kB / 405.9 MB, free: 5.246 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001561/0.5215, allocations: 0.9627 MB / 406.9 MB, free: 4.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.5218, allocations: 119.4 kB / 407 MB, free: 4.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5218, allocations: 0 / 407 MB, free: 4.188 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-05/0.5219, allocations: 36.08 kB / 407 MB, free: 4.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.5223, allocations: 24.27 kB / 407 MB, free: 4.125 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000813/0.5231, allocations: 263.2 kB / 407.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.5235, allocations: 0.7199 MB / 408 MB, free: 3.086 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.5236, allocations: 16.66 kB / 408 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.5238, allocations: 39.42 kB / 408.1 MB, free: 3.027 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5238, allocations: 0 / 408.1 MB, free: 3.027 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.5512, allocations: 3.182 MB / 411.3 MB, free: 15.9 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/0.5516, allocations: 193.1 kB / 411.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/2.878, allocations: 64 / 411.4 MB, free: 15.67 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat