Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.468/2.468, allocations: 235.2 MB / 242.3 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.73e-05, allocations: 4 kB / 299.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3907, allocations: 54.87 MB / 354.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.5422, allocations: 81.22 MB / 435.7 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.5426, allocations: 75.95 kB / 435.7 MB, free: 0.8984 MB / 362.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.019/0.5616, allocations: 4.302 MB / 440 MB, free: 12.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.5616, allocations: 4 kB / 440.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.5616, allocations: 0 / 440.1 MB, free: 12.59 MB / 378.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.000554/0.5622, allocations: 453.5 kB / 440.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5623, allocations: 12.03 kB / 440.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.5623, allocations: 7.906 kB / 440.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.5627, allocations: 206.9 kB / 440.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.5627, allocations: 3.938 kB / 440.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.5628, allocations: 4 kB / 440.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.171e-05/0.5629, allocations: 15.98 kB / 440.7 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.563, allocations: 41.69 kB / 440.8 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.563, allocations: 3.953 kB / 440.8 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.563, allocations: 4 kB / 440.8 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5631, allocations: 4 kB / 440.8 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.5633, allocations: 178.2 kB / 441 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.5635, allocations: 50.56 kB / 441 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/0.5636, allocations: 16.86 kB / 441 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.5636, allocations: 0 / 441 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.5637, allocations: 67.48 kB / 441.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.984e-06/0.5638, allocations: 0 / 441.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002626/0.564, allocations: 77.53 kB / 441.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.5641, allocations: 59.34 kB / 441.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.5643, allocations: 165.9 kB / 441.4 MB, free: 11.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.5644, allocations: 29.7 kB / 441.4 MB, free: 11.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.5644, allocations: 92.14 kB / 441.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.5645, allocations: 19.8 kB / 441.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.5645, allocations: 0 / 441.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.5647, allocations: 326.8 kB / 441.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.5648, allocations: 24 kB / 441.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.5649, allocations: 37.72 kB / 441.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.565, allocations: 27.98 kB / 441.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.565, allocations: 0 / 441.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003067/0.5653, allocations: 113.5 kB / 442.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.5654, allocations: 39.88 kB / 442.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5654, allocations: 4.031 kB / 442.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.5654, allocations: 0 / 442.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.5655, allocations: 12 kB / 442.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.5656, allocations: 0 / 442.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.5657, allocations: 15.86 kB / 442.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.5657, allocations: 15.94 kB / 442.1 MB, free: 10.29 MB / 378.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: 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 (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 9.079e-05/0.5658, allocations: 108.9 kB / 442.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001848/0.566, allocations: 81.5 kB / 442.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.5661, allocations: 7.906 kB / 442.3 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.5663, allocations: 94.19 kB / 442.4 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5663, allocations: 64 / 442.4 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.5663, allocations: 7.953 kB / 442.4 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5664, allocations: 0 / 442.4 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.5665, allocations: 162.2 kB / 442.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.5666, allocations: 0 / 442.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.5666, allocations: 4 kB / 442.6 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.5666, allocations: 3.984 kB / 442.6 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.5667, allocations: 4 kB / 442.6 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5667, allocations: 0 / 442.6 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.5667, allocations: 0 / 442.6 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.5669, allocations: 112.9 kB / 442.7 MB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.567, allocations: 96.91 kB / 442.8 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.5671, allocations: 3.984 kB / 442.8 MB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.5672, allocations: 8 kB / 442.8 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.5672, allocations: 4 kB / 442.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.5672, allocations: 0 / 442.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.5674, allocations: 143.3 kB / 443 MB, free: 9.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5674, allocations: 4 kB / 443 MB, free: 9.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003613/0.5678, allocations: 27.94 kB / 443 MB, free: 9.328 MB / 378.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: 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 (6): * Single equations (assignments): 4 * 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.001487/0.5693, allocations: 0.8796 MB / 443.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.5696, allocations: 147.3 kB / 444 MB, free: 8.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5696, allocations: 0 / 444 MB, free: 8.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.5697, allocations: 20.12 kB / 444 MB, free: 8.316 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.57, allocations: 20.11 kB / 444.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.5706, allocations: 191.4 kB / 444.2 MB, free: 8.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.5709, allocations: 0.7041 MB / 444.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.842e-05/0.571, allocations: 23.94 kB / 445 MB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.752e-05/0.5711, allocations: 27.42 kB / 445 MB, free: 7.297 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5712, allocations: 4 kB / 445 MB, free: 7.293 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04017/0.6113, allocations: 2.326 MB / 447.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000342/0.6117, allocations: 170.9 kB / 447.5 MB, free: 4.781 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.376/2.987, allocations: 4 kB / 447.5 MB, free: 4.777 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat