Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.549/2.549, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.93e-05/3.929e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4115, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.579, allocations: 87.63 MB / 469.9 MB, free: 4.781 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.5794, allocations: 75.95 kB / 470 MB, free: 4.707 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02403/0.6034, allocations: 5.378 MB / 475.4 MB, free: 15.32 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6035, allocations: 0 / 475.4 MB, free: 15.32 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.6035, allocations: 8 kB / 475.4 MB, free: 15.32 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005674/0.6041, allocations: 402.1 kB / 475.8 MB, free: 14.88 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.6042, allocations: 8.031 kB / 475.8 MB, free: 14.87 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.6042, allocations: 38.56 kB / 475.8 MB, free: 14.82 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.6043, allocations: 7.906 kB / 475.8 MB, free: 14.82 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.6047, allocations: 219.4 kB / 476.1 MB, free: 14.56 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.6047, allocations: 7.938 kB / 476.1 MB, free: 14.55 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.6048, allocations: 0 / 476.1 MB, free: 14.55 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.6049, allocations: 53.67 kB / 476.1 MB, free: 14.49 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.605, allocations: 0 / 476.1 MB, free: 14.49 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.605, allocations: 0 / 476.1 MB, free: 14.49 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.605, allocations: 4 kB / 476.1 MB, free: 14.49 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.6051, allocations: 16 kB / 476.1 MB, free: 14.47 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.6056, allocations: 300.9 kB / 476.4 MB, free: 14.13 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.6057, allocations: 58.61 kB / 476.5 MB, free: 14.06 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.083e-05/0.6058, allocations: 20.98 kB / 476.5 MB, free: 14.04 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.6058, allocations: 0 / 476.5 MB, free: 14.04 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.606, allocations: 67.39 kB / 476.6 MB, free: 13.96 MB / 410.8 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.606, allocations: 4 kB / 476.6 MB, free: 13.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0005981/0.6067, allocations: 157.2 kB / 476.7 MB, free: 13.8 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.6067, allocations: 51.41 kB / 476.8 MB, free: 13.73 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.607, allocations: 186.4 kB / 477 MB, free: 13.54 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.607, allocations: 29.7 kB / 477 MB, free: 13.5 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.6071, allocations: 104.1 kB / 477.1 MB, free: 13.4 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.6072, allocations: 23.66 kB / 477.1 MB, free: 13.38 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.6072, allocations: 3.938 kB / 477.1 MB, free: 13.37 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6073, allocations: 326.8 kB / 477.4 MB, free: 13.04 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/0.6074, allocations: 23.98 kB / 477.5 MB, free: 13.02 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.423e-05/0.6075, allocations: 33.66 kB / 477.5 MB, free: 12.98 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.492e-05/0.6076, allocations: 23.98 kB / 477.5 MB, free: 12.96 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6076, allocations: 3.938 kB / 477.5 MB, free: 12.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002348/0.6079, allocations: 97.58 kB / 477.6 MB, free: 12.85 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6079, allocations: 4 kB / 477.6 MB, free: 12.85 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6079, allocations: 32 / 477.6 MB, free: 12.85 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6079, allocations: 8 kB / 477.6 MB, free: 12.84 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.6081, allocations: 15.98 kB / 477.6 MB, free: 12.82 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.6081, allocations: 8.078 kB / 477.7 MB, free: 12.82 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.6082, allocations: 8 kB / 477.7 MB, free: 12.81 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.6082, allocations: 8 kB / 477.7 MB, free: 12.8 MB / 410.8 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 (10): * Single equations (assignments): 10 * 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 8.565e-05/0.6083, allocations: 103 kB / 477.8 MB, free: 12.7 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.6084, allocations: 15.81 kB / 477.8 MB, free: 12.68 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.6087, allocations: 123.1 kB / 477.9 MB, free: 12.55 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6087, allocations: 0 / 477.9 MB, free: 12.55 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6088, allocations: 0 / 477.9 MB, free: 12.55 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.6088, allocations: 7.938 kB / 477.9 MB, free: 12.55 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.6094, allocations: 407.5 kB / 478.3 MB, free: 12.09 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6094, allocations: 0 / 478.3 MB, free: 12.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.6095, allocations: 8 kB / 478.3 MB, free: 12.08 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6095, allocations: 0 / 478.3 MB, free: 12.08 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.6096, allocations: 7.953 kB / 478.3 MB, free: 12.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6096, allocations: 4.109 kB / 478.3 MB, free: 12.07 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6096, allocations: 3.984 kB / 478.3 MB, free: 12.07 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.6099, allocations: 221.8 kB / 478.6 MB, free: 11.82 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.61, allocations: 93.39 kB / 478.6 MB, free: 11.71 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.6101, allocations: 3.953 kB / 478.6 MB, free: 11.71 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.6102, allocations: 11.98 kB / 478.7 MB, free: 11.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.6102, allocations: 8 kB / 478.7 MB, free: 11.69 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.6103, allocations: 3.938 kB / 478.7 MB, free: 11.69 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002016/0.6105, allocations: 152.9 kB / 478.8 MB, free: 11.54 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6105, allocations: 0 / 478.8 MB, free: 11.54 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000395/0.6109, allocations: 39.86 kB / 478.9 MB, free: 11.5 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001858/0.6128, allocations: 1.155 MB / 480 MB, free: 10.39 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.613, allocations: 51.98 kB / 480.1 MB, free: 10.34 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.613, allocations: 0 / 480.1 MB, free: 10.34 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.181e-05/0.6131, allocations: 31.94 kB / 480.1 MB, free: 10.31 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.6135, allocations: 27.92 kB / 480.1 MB, free: 10.29 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.6143, allocations: 236.3 kB / 480.4 MB, free: 10.02 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.6147, allocations: 0.7121 MB / 481.1 MB, free: 9.277 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.448e-05/0.6148, allocations: 16.55 kB / 481.1 MB, free: 9.262 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.883e-05/0.6149, allocations: 35.42 kB / 481.1 MB, free: 9.227 MB / 410.8 MB Notification: Performance of SimCode: time 6.52e-07/0.6149, allocations: 3.938 kB / 481.1 MB, free: 9.223 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.6454, allocations: 3.061 MB / 484.2 MB, free: 6.191 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003474/0.6458, allocations: 191.2 kB / 484.4 MB, free: 5.965 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/2.98, allocations: 0 / 484.4 MB, free: 5.965 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat