Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.815/2.815, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.934e-05/4.951e-05, allocations: 8 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4154, allocations: 54.86 MB / 354.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1745/0.59, allocations: 81.39 MB / 435.8 MB, free: 13.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.5904, allocations: 71.97 kB / 435.9 MB, free: 13.69 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.02462/0.615, allocations: 4.412 MB / 440.3 MB, free: 9.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.615, allocations: 0 / 440.3 MB, free: 9.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.6151, allocations: 4 kB / 440.3 MB, free: 9.266 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.0007411/0.6158, allocations: 469.4 kB / 440.8 MB, free: 8.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.6159, allocations: 12.02 kB / 440.8 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/0.616, allocations: 30.56 kB / 440.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.616, allocations: 11.91 kB / 440.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000434/0.6165, allocations: 200.2 kB / 441 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.6165, allocations: 3.984 kB / 441 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.6166, allocations: 8 kB / 441 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001099/0.6167, allocations: 12 kB / 441 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.6169, allocations: 61.62 kB / 441.1 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.617, allocations: 3.938 kB / 441.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.617, allocations: 0 / 441.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.617, allocations: 4 kB / 441.1 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.6176, allocations: 281.5 kB / 441.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.6178, allocations: 54.67 kB / 441.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.6179, allocations: 20.98 kB / 441.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.6179, allocations: 0 / 441.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.6181, allocations: 75.28 kB / 441.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.324e-06/0.6182, allocations: 0 / 441.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007156/0.6189, allocations: 149.3 kB / 441.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.619, allocations: 55.41 kB / 441.7 MB, free: 7.648 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.6192, allocations: 149.5 kB / 441.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.6193, allocations: 37.69 kB / 441.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.6194, allocations: 92.14 kB / 442 MB, free: 7.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.6194, allocations: 31.58 kB / 442 MB, free: 7.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.6195, allocations: 7.938 kB / 442 MB, free: 7.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6196, allocations: 318.8 kB / 442.3 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.6198, allocations: 32 kB / 442.4 MB, free: 6.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.6199, allocations: 45.72 kB / 442.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.6201, allocations: 39.97 kB / 442.5 MB, free: 6.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6201, allocations: 0 / 442.5 MB, free: 6.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004406/0.6206, allocations: 137.5 kB / 442.6 MB, free: 6.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/0.6206, allocations: 37.66 kB / 442.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6207, allocations: 0 / 442.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.6207, allocations: 0 / 442.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.6209, allocations: 23.98 kB / 442.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.6209, allocations: 0 / 442.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.6211, allocations: 8.094 kB / 442.7 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.6211, allocations: 4 kB / 442.7 MB, free: 6.656 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.0001153/0.6212, allocations: 109.1 kB / 442.8 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.6213, allocations: 19.83 kB / 442.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.6217, allocations: 118.2 kB / 442.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6217, allocations: 0 / 442.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6217, allocations: 0 / 442.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6218, allocations: 3.984 kB / 442.9 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.6225, allocations: 367.9 kB / 443.3 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6225, allocations: 4 kB / 443.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.6226, allocations: 11.98 kB / 443.3 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.6226, allocations: 3.953 kB / 443.3 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.6226, allocations: 4 kB / 443.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6227, allocations: 3.938 kB / 443.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6227, allocations: 0 / 443.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.6231, allocations: 214 kB / 443.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.6232, allocations: 104.9 kB / 443.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.6233, allocations: 0 / 443.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.6234, allocations: 7.984 kB / 443.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.6235, allocations: 4 kB / 443.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.6235, allocations: 4 kB / 443.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.6237, allocations: 127.2 kB / 443.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.6237, allocations: 0 / 443.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004751/0.6242, allocations: 31.94 kB / 443.8 MB, free: 5.434 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.002153/0.6264, allocations: 1.115 MB / 444.9 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.6268, allocations: 155.3 kB / 445 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6268, allocations: 0 / 445 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.627, allocations: 35.92 kB / 445.1 MB, free: 4.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.6274, allocations: 17.41 kB / 445.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008588/0.6283, allocations: 215.6 kB / 445.3 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.6288, allocations: 0.704 MB / 446 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.6289, allocations: 12.42 kB / 446 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.629, allocations: 31.42 kB / 446.1 MB, free: 3.145 MB / 378.7 MB Notification: Performance of SimCode: time 1.512e-06/0.6291, allocations: 0 / 446.1 MB, free: 3.145 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05416/0.6832, allocations: 2.655 MB / 448.7 MB, free: 500 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003785/0.6837, allocations: 170.9 kB / 448.9 MB, free: 304 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.997/3.681, allocations: 0 / 448.9 MB, free: 304 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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time