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.864/1.864, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.906e-05/4.908e-05, allocations: 4 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4005/0.5012, allocations: 77.47 MB / 399.4 MB, free: 12.13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5015, allocations: 67.97 kB / 399.4 MB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01878/0.5203, allocations: 3.952 MB / 403.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5203, allocations: 0 / 403.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.5204, allocations: 4 kB / 403.4 MB, free: 8.117 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.001138/0.5215, allocations: 0.546 MB / 403.9 MB, free: 7.508 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.5216, allocations: 12.03 kB / 403.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.5216, allocations: 34.56 kB / 404 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.914e-05/0.5217, allocations: 11.91 kB / 404 MB, free: 7.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.5221, allocations: 227.5 kB / 404.2 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.5222, allocations: 8 kB / 404.2 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.5222, allocations: 11.98 kB / 404.2 MB, free: 7.156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.5225, allocations: 81.66 kB / 404.3 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.5225, allocations: 0 / 404.3 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.5225, allocations: 4 kB / 404.3 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.5226, allocations: 4 kB / 404.3 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.5227, allocations: 39.94 kB / 404.4 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.5238, allocations: 424.6 kB / 404.8 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.5243, allocations: 90.62 kB / 404.9 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.5244, allocations: 44.83 kB / 404.9 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.5245, allocations: 0 / 404.9 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.5247, allocations: 107.4 kB / 405 MB, free: 6.297 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.5247, allocations: 0 / 405 MB, free: 6.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004076/0.5252, allocations: 117.4 kB / 405.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.5252, allocations: 55.41 kB / 405.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.5255, allocations: 182.3 kB / 405.4 MB, free: 5.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.5256, allocations: 33.7 kB / 405.4 MB, free: 5.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.214e-05/0.5257, allocations: 116 kB / 405.5 MB, free: 5.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.5257, allocations: 23.72 kB / 405.5 MB, free: 5.746 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.5258, allocations: 0 / 405.5 MB, free: 5.746 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5259, allocations: 330.8 kB / 405.8 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.5261, allocations: 36 kB / 405.9 MB, free: 5.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.5263, allocations: 61.7 kB / 405.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.5265, allocations: 103.3 kB / 406 MB, free: 5.199 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5265, allocations: 0 / 406 MB, free: 5.199 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005039/0.527, allocations: 217 kB / 406.3 MB, free: 4.969 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/0.5271, allocations: 63.39 kB / 406.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.5271, allocations: 4 kB / 406.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5271, allocations: 0 / 406.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.5275, allocations: 43.89 kB / 406.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5275, allocations: 0 / 406.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.5278, allocations: 35.83 kB / 406.4 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.5279, allocations: 11.98 kB / 406.4 MB, free: 4.801 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.0001161/0.528, allocations: 113 kB / 406.5 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.528, allocations: 11.81 kB / 406.5 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.5285, allocations: 143 kB / 406.7 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.5285, allocations: 0 / 406.7 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.5285, allocations: 3.953 kB / 406.7 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5285, allocations: 4 kB / 406.7 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.5288, allocations: 221.6 kB / 406.9 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5288, allocations: 0 / 406.9 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.5291, allocations: 31.97 kB / 406.9 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.5292, allocations: 4 kB / 406.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.5292, allocations: 4 kB / 406.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5292, allocations: 0 / 406.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5292, allocations: 0 / 406.9 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.5298, allocations: 201.5 kB / 407.1 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.5299, allocations: 96.84 kB / 407.2 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.5299, allocations: 0 / 407.2 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.5302, allocations: 36.03 kB / 407.3 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/0.5303, allocations: 23.91 kB / 407.3 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.5304, allocations: 0 / 407.3 MB, free: 3.828 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002017/0.5306, allocations: 145.2 kB / 407.4 MB, free: 3.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5306, allocations: 0 / 407.4 MB, free: 3.688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003865/0.531, allocations: 51.89 kB / 407.5 MB, free: 3.637 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.001626/0.5326, allocations: 0.946 MB / 408.4 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004559/0.5331, allocations: 210.8 kB / 408.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5331, allocations: 0 / 408.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.5333, allocations: 39.94 kB / 408.7 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.5337, allocations: 40.16 kB / 408.7 MB, free: 2.406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009296/0.5347, allocations: 269.6 kB / 409 MB, free: 2.105 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.535, allocations: 0.7236 MB / 409.7 MB, free: 1.355 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.5352, allocations: 16.77 kB / 409.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.5353, allocations: 43.41 kB / 409.8 MB, free: 1.297 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5353, allocations: 0 / 409.8 MB, free: 1.297 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.5665, allocations: 3.916 MB / 413.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/0.5668, allocations: 194.4 kB / 413.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/2.925, allocations: 0 / 413.9 MB, free: 13.21 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