Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.95e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.5485, allocations: 75.76 MB / 397.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.5489, allocations: 75.94 kB / 397.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01856/0.5674, allocations: 4.222 MB / 402 MB, free: 9.559 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5675, allocations: 0 / 402 MB, free: 9.559 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.5675, allocations: 4 kB / 402 MB, free: 9.555 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005659/0.5681, allocations: 431.8 kB / 402.4 MB, free: 9.082 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5682, allocations: 8.031 kB / 402.4 MB, free: 9.074 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.5682, allocations: 34.56 kB / 402.4 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.5683, allocations: 7.906 kB / 402.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.5686, allocations: 198.9 kB / 402.6 MB, free: 8.789 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.5686, allocations: 4 kB / 402.6 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.5687, allocations: 4 kB / 402.6 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.5688, allocations: 49.69 kB / 402.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.5688, allocations: 0 / 402.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.5688, allocations: 0 / 402.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.5689, allocations: 0 / 402.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.095e-05/0.5689, allocations: 19.92 kB / 402.7 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.5694, allocations: 304.7 kB / 403 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.5697, allocations: 46.5 kB / 403 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.5698, allocations: 12.86 kB / 403.1 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.5698, allocations: 4 kB / 403.1 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.5699, allocations: 59.42 kB / 403.1 MB, free: 8.215 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.264e-06/0.57, allocations: 0 / 403.1 MB, free: 8.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000478/0.5705, allocations: 113.3 kB / 403.2 MB, free: 8.098 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.5705, allocations: 51.41 kB / 403.3 MB, free: 8.035 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.5708, allocations: 182.5 kB / 403.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.5709, allocations: 37.7 kB / 403.5 MB, free: 7.801 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.571, allocations: 104 kB / 403.6 MB, free: 7.695 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.571, allocations: 15.75 kB / 403.6 MB, free: 7.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/0.571, allocations: 7.938 kB / 403.6 MB, free: 7.672 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5712, allocations: 322.8 kB / 403.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.5713, allocations: 27.92 kB / 404 MB, free: 7.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/0.5713, allocations: 20 kB / 404 MB, free: 7.301 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.5715, allocations: 53.69 kB / 404 MB, free: 7.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5715, allocations: 0 / 404 MB, free: 7.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003037/0.5718, allocations: 135.2 kB / 404.2 MB, free: 7.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/0.5718, allocations: 33.69 kB / 404.2 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5719, allocations: 4 kB / 404.2 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5719, allocations: 0 / 404.2 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.572, allocations: 12 kB / 404.2 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.572, allocations: 3.953 kB / 404.2 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.21e-05/0.5721, allocations: 4 kB / 404.2 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.5721, allocations: 0 / 404.2 MB, free: 7.035 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 (7): * Single equations (assignments): 6 * 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.857e-05/0.5722, allocations: 109.4 kB / 404.3 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.5723, allocations: 15.84 kB / 404.3 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.5726, allocations: 98.67 kB / 404.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5726, allocations: 0 / 404.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5726, allocations: 0 / 404.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.5726, allocations: 3.953 kB / 404.4 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/0.5732, allocations: 366.6 kB / 404.8 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5732, allocations: 0 / 404.8 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/0.5732, allocations: 4 kB / 404.8 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.5733, allocations: 15.97 kB / 404.8 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.5733, allocations: 0 / 404.8 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.5733, allocations: 3.953 kB / 404.8 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5733, allocations: 0 / 404.8 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.5736, allocations: 171.4 kB / 405 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.5736, allocations: 93 kB / 405.1 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.5737, allocations: 8 kB / 405.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.5738, allocations: 0 / 405.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.5739, allocations: 15.94 kB / 405.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.5739, allocations: 0 / 405.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.5741, allocations: 160.9 kB / 405.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5741, allocations: 0 / 405.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004129/0.5746, allocations: 31.94 kB / 405.3 MB, free: 5.855 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 (6): * Single equations (assignments): 5 * 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.001436/0.576, allocations: 0.9596 MB / 406.3 MB, free: 4.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.5763, allocations: 111.4 kB / 406.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5763, allocations: 0 / 406.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.5764, allocations: 23.94 kB / 406.4 MB, free: 4.785 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.5768, allocations: 23.88 kB / 406.4 MB, free: 4.762 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.5775, allocations: 219.6 kB / 406.6 MB, free: 4.516 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.5779, allocations: 0.7082 MB / 407.3 MB, free: 3.781 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.593e-05/0.5779, allocations: 12 kB / 407.3 MB, free: 3.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.891e-05/0.578, allocations: 31.42 kB / 407.4 MB, free: 3.738 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5781, allocations: 0 / 407.4 MB, free: 3.738 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.6061, allocations: 2.859 MB / 410.2 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.6064, allocations: 202.4 kB / 410.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/2.987, allocations: 0 / 410.4 MB, free: 0.6953 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat