Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.169e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3887, allocations: 54.86 MB / 354.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.5469, allocations: 81.42 MB / 435.9 MB, free: 13.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.5473, allocations: 71.97 kB / 435.9 MB, free: 13.68 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/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.02343/0.5707, allocations: 5.044 MB / 441 MB, free: 8.629 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5707, allocations: 0 / 441 MB, free: 8.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.5708, allocations: 7.938 kB / 441 MB, free: 8.621 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006717/0.5715, allocations: 485.4 kB / 441.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.5715, allocations: 12.03 kB / 441.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.5716, allocations: 15.81 kB / 441.5 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.572, allocations: 214.9 kB / 441.7 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.5721, allocations: 0 / 441.7 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.5721, allocations: 11.91 kB / 441.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001538/0.5723, allocations: 35.98 kB / 441.8 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.5725, allocations: 77.55 kB / 441.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.5725, allocations: 0 / 441.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.5725, allocations: 0 / 441.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5726, allocations: 4 kB / 441.8 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.5731, allocations: 313.4 kB / 442.1 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.5734, allocations: 82.77 kB / 442.2 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.5735, allocations: 24.86 kB / 442.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.5735, allocations: 3.953 kB / 442.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.5737, allocations: 67.39 kB / 442.3 MB, free: 7.137 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.003e-06/0.5737, allocations: 0 / 442.3 MB, free: 7.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007722/0.5745, allocations: 213.5 kB / 442.5 MB, free: 6.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.5746, allocations: 55.34 kB / 442.6 MB, free: 6.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.5749, allocations: 224 kB / 442.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.575, allocations: 29.7 kB / 442.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.544e-05/0.5751, allocations: 112 kB / 442.9 MB, free: 6.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.5752, allocations: 31.55 kB / 443 MB, free: 6.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.5752, allocations: 0 / 443 MB, free: 6.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5753, allocations: 326.8 kB / 443.3 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.5755, allocations: 40 kB / 443.3 MB, free: 6.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.5757, allocations: 61.7 kB / 443.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.576, allocations: 59.91 kB / 443.4 MB, free: 5.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.576, allocations: 0 / 443.4 MB, free: 5.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006612/0.5767, allocations: 169.4 kB / 443.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.355e-05/0.5768, allocations: 38.31 kB / 443.6 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5768, allocations: 0 / 443.6 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.5768, allocations: 0 / 443.6 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.5771, allocations: 27.98 kB / 443.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5771, allocations: 0 / 443.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.5773, allocations: 8.031 kB / 443.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.5773, allocations: 11.94 kB / 443.7 MB, free: 5.699 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 (14): * Single equations (assignments): 13 * 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 0.0001347/0.5775, allocations: 109.9 kB / 443.8 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004532/0.578, allocations: 133.4 kB / 443.9 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.578, allocations: 15.81 kB / 443.9 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000609/0.5787, allocations: 151.4 kB / 444.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5787, allocations: 0 / 444.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.5787, allocations: 4 kB / 444.1 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.5787, allocations: 7.984 kB / 444.1 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.5799, allocations: 455.8 kB / 444.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5799, allocations: 3.938 kB / 444.5 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.5801, allocations: 16 kB / 444.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.5801, allocations: 0 / 444.6 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.5801, allocations: 4 kB / 444.6 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5802, allocations: 0 / 444.6 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.5802, allocations: 3.984 kB / 444.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.5807, allocations: 257.8 kB / 444.8 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.5809, allocations: 108.9 kB / 444.9 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.581, allocations: 0 / 444.9 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.5812, allocations: 8 kB / 444.9 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.5813, allocations: 7.984 kB / 444.9 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.5813, allocations: 12 kB / 445 MB, free: 4.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003344/0.5817, allocations: 175.2 kB / 445.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5817, allocations: 0 / 445.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00068/0.5824, allocations: 47.84 kB / 445.2 MB, free: 4.102 MB / 378.7 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 (13): * Single equations (assignments): 11 * 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.002554/0.585, allocations: 1.14 MB / 446.3 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005387/0.5855, allocations: 187.3 kB / 446.5 MB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5856, allocations: 8 kB / 446.5 MB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.5857, allocations: 40 kB / 446.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.5863, allocations: 27.92 kB / 446.6 MB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.5877, allocations: 288.8 kB / 446.9 MB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.5898, allocations: 0.7275 MB / 447.6 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.59, allocations: 28.86 kB / 447.6 MB, free: 1.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.5902, allocations: 51.41 kB / 447.7 MB, free: 1.594 MB / 378.7 MB Notification: Performance of SimCode: time 1.153e-06/0.5903, allocations: 0 / 447.7 MB, free: 1.594 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08488/0.6752, allocations: 3.291 MB / 451 MB, free: 14.3 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003161/0.6755, allocations: 181.6 kB / 451.1 MB, free: 14.1 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.505/3.181, allocations: 0 / 451.1 MB, free: 14.1 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat