Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.893/2.893, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.716e-05/4.728e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4277, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.6276, allocations: 81.39 MB / 435.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.628, allocations: 67.97 kB / 435.9 MB, free: 13.63 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.02501/0.653, allocations: 4.467 MB / 440.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.653, allocations: 0 / 440.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.6531, allocations: 4 kB / 440.3 MB, free: 9.156 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.0007317/0.6538, allocations: 470.3 kB / 440.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.6539, allocations: 8.031 kB / 440.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.544e-05/0.654, allocations: 34.56 kB / 440.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.654, allocations: 7.906 kB / 440.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.6545, allocations: 206.7 kB / 441.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.6545, allocations: 7.938 kB / 441.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.6546, allocations: 4 kB / 441.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001178/0.6547, allocations: 19.98 kB / 441.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.6549, allocations: 57.58 kB / 441.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6549, allocations: 4 kB / 441.1 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.6549, allocations: 4 kB / 441.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6549, allocations: 0 / 441.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.6555, allocations: 301.3 kB / 441.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.6557, allocations: 50.69 kB / 441.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.6558, allocations: 16.98 kB / 441.5 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.6558, allocations: 4 kB / 441.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.6561, allocations: 75.28 kB / 441.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.176e-06/0.6561, allocations: 0 / 441.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007724/0.6569, allocations: 141.5 kB / 441.7 MB, free: 7.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.6569, allocations: 55.41 kB / 441.8 MB, free: 7.527 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.6572, allocations: 161.2 kB / 441.9 MB, free: 7.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.6573, allocations: 29.7 kB / 442 MB, free: 7.328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.6574, allocations: 112 kB / 442.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.6574, allocations: 19.7 kB / 442.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.6575, allocations: 0 / 442.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6576, allocations: 326.8 kB / 442.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.6577, allocations: 32 kB / 442.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.6579, allocations: 51.48 kB / 442.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.6581, allocations: 35.97 kB / 442.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6581, allocations: 4 kB / 442.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004647/0.6586, allocations: 133.5 kB / 442.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.714e-05/0.6587, allocations: 37.66 kB / 442.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.6587, allocations: 0 / 442.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.6587, allocations: 0 / 442.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.6589, allocations: 15.98 kB / 442.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.659, allocations: 4 kB / 442.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.6591, allocations: 4 kB / 442.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.6592, allocations: 8 kB / 442.7 MB, free: 6.531 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.0001289/0.6593, allocations: 109 kB / 442.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.6594, allocations: 15.8 kB / 442.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.6598, allocations: 114.3 kB / 443 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.6598, allocations: 96 / 443 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6598, allocations: 3.938 kB / 443 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.6599, allocations: 3.984 kB / 443 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007347/0.6606, allocations: 375.8 kB / 443.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6607, allocations: 4.031 kB / 443.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.6608, allocations: 8 kB / 443.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.6608, allocations: 11.89 kB / 443.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.6608, allocations: 0 / 443.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6608, allocations: 0 / 443.4 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.6609, allocations: 4 kB / 443.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.6612, allocations: 214 kB / 443.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.6614, allocations: 105 kB / 443.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.6614, allocations: 7.984 kB / 443.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.6616, allocations: 4 kB / 443.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.6617, allocations: 7.984 kB / 443.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.6617, allocations: 4 kB / 443.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001992/0.6619, allocations: 127.2 kB / 443.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6619, allocations: 0 / 443.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004789/0.6624, allocations: 43.98 kB / 443.9 MB, free: 5.281 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.001991/0.6644, allocations: 1.109 MB / 445 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.6649, allocations: 167.2 kB / 445.1 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6649, allocations: 0 / 445.1 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.665, allocations: 27.94 kB / 445.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.6655, allocations: 19.98 kB / 445.2 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008981/0.6664, allocations: 211.6 kB / 445.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.6668, allocations: 0.7041 MB / 446.1 MB, free: 3.039 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.6669, allocations: 16.56 kB / 446.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.667, allocations: 35.42 kB / 446.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.667, allocations: 0 / 446.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05749/0.7245, allocations: 2.722 MB / 448.9 MB, free: 272 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004176/0.725, allocations: 174.9 kB / 449 MB, free: 72 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.987/3.712, allocations: 0 / 449 MB, free: 72 kB / 378.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:_D_cse1,_D_whenCondition1,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.timeScaled),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time