Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.102e-05, allocations: 8 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3875, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.5381, allocations: 81.35 MB / 435.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.5384, allocations: 67.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.02054/0.559, allocations: 4.384 MB / 440.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.559, allocations: 0 / 440.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.5591, allocations: 4 kB / 440.2 MB, free: 9.289 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006169/0.5597, allocations: 454.2 kB / 440.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.5597, allocations: 8.031 kB / 440.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.028e-05/0.5599, allocations: 15.91 kB / 440.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.5603, allocations: 206.7 kB / 440.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.5603, allocations: 4 kB / 440.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.5603, allocations: 8 kB / 440.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/0.5605, allocations: 15.98 kB / 440.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.5606, allocations: 49.69 kB / 441 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.5606, allocations: 11.89 kB / 441 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.5607, allocations: 3.984 kB / 441 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5607, allocations: 0 / 441 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.5612, allocations: 297.3 kB / 441.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.5613, allocations: 50.69 kB / 441.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.5614, allocations: 20.92 kB / 441.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.5614, allocations: 4 kB / 441.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.5616, allocations: 71.28 kB / 441.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.5616, allocations: 0 / 441.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006293/0.5623, allocations: 145.4 kB / 441.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.5623, allocations: 51.41 kB / 441.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.5626, allocations: 165.2 kB / 441.8 MB, free: 7.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.5626, allocations: 29.69 kB / 441.8 MB, free: 7.516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.5627, allocations: 100.1 kB / 441.9 MB, free: 7.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.5628, allocations: 23.7 kB / 441.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.5628, allocations: 0 / 441.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.563, allocations: 326.8 kB / 442.3 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.5631, allocations: 35.94 kB / 442.3 MB, free: 7.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.5632, allocations: 45.72 kB / 442.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.5634, allocations: 40.56 kB / 442.4 MB, free: 6.938 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5634, allocations: 0 / 442.4 MB, free: 6.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003833/0.5638, allocations: 125.6 kB / 442.5 MB, free: 6.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.163e-05/0.5639, allocations: 37.64 kB / 442.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5639, allocations: 7.984 kB / 442.6 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.5639, allocations: 4 kB / 442.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.5641, allocations: 15.98 kB / 442.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.5641, allocations: 0 / 442.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.5642, allocations: 4 kB / 442.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.5642, allocations: 8 kB / 442.6 MB, free: 6.727 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 (11): * Single equations (assignments): 10 * 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.0001167/0.5644, allocations: 113 kB / 442.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002464/0.5646, allocations: 97.58 kB / 442.8 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.5647, allocations: 15.84 kB / 442.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.565, allocations: 122.2 kB / 442.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.5651, allocations: 0 / 442.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5651, allocations: 3.938 kB / 442.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5651, allocations: 0 / 442.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006357/0.5657, allocations: 375.8 kB / 443.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5657, allocations: 0 / 443.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.088e-05/0.5658, allocations: 19.92 kB / 443.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5659, allocations: 0 / 443.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.5659, allocations: 4.406 kB / 443.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.5659, allocations: 4 kB / 443.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5659, allocations: 7.938 kB / 443.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.5663, allocations: 217.8 kB / 443.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.5664, allocations: 97 kB / 443.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.5665, allocations: 0 / 443.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.5666, allocations: 11.98 kB / 443.6 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.5667, allocations: 4 kB / 443.7 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.5667, allocations: 8 kB / 443.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.5669, allocations: 131.2 kB / 443.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5669, allocations: 0 / 443.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004647/0.5673, allocations: 39.98 kB / 443.8 MB, free: 5.363 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 (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.001832/0.5692, allocations: 1.11 MB / 444.9 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.5696, allocations: 159.3 kB / 445.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5696, allocations: 0 / 445.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.858e-05/0.5697, allocations: 27.94 kB / 445.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.5701, allocations: 19.98 kB / 445.1 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.5708, allocations: 211.9 kB / 445.3 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.5712, allocations: 0.7161 MB / 446.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.965e-05/0.5713, allocations: 12.42 kB / 446.1 MB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.5714, allocations: 35.36 kB / 446.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of SimCode: time 7.92e-07/0.5715, allocations: 0 / 446.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04473/0.6162, allocations: 2.638 MB / 448.7 MB, free: 444 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003383/0.6166, allocations: 174.9 kB / 448.9 MB, free: 244 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.451/3.067, allocations: 0 / 448.9 MB, free: 244 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat