Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.804/2.804, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.183e-05/5.194e-05, allocations: 8 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4101, allocations: 54.86 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.6028, allocations: 81.36 MB / 435.8 MB, free: 13.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.6031, allocations: 63.97 kB / 435.8 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.02391/0.6271, allocations: 4.381 MB / 440.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6271, allocations: 0 / 440.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.6271, 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.0007161/0.6279, allocations: 461.5 kB / 440.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.6279, allocations: 11.97 kB / 440.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.52e-05/0.628, allocations: 30.56 kB / 440.7 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.6281, allocations: 11.91 kB / 440.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.6285, allocations: 210.7 kB / 440.9 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.6286, allocations: 4 kB / 440.9 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.6286, allocations: 4 kB / 440.9 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001102/0.6287, allocations: 20 kB / 441 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.6289, allocations: 57.62 kB / 441 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6289, allocations: 0 / 441 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.629, allocations: 0 / 441 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.629, allocations: 3.938 kB / 441 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.6295, allocations: 289.3 kB / 441.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.6297, allocations: 54.69 kB / 441.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.6298, allocations: 16.98 kB / 441.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.6298, allocations: 0 / 441.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.6301, allocations: 75.28 kB / 441.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.585e-06/0.6301, allocations: 0 / 441.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006988/0.6308, allocations: 141.4 kB / 441.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.6308, allocations: 55.41 kB / 441.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.6311, allocations: 165.2 kB / 441.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.6312, allocations: 29.7 kB / 441.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.6313, allocations: 108.1 kB / 441.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.6313, allocations: 19.72 kB / 442 MB, free: 7.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.6314, allocations: 0 / 442 MB, free: 7.348 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.6316, allocations: 322.8 kB / 442.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.6317, allocations: 31.94 kB / 442.3 MB, free: 6.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.6319, allocations: 61.64 kB / 442.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.632, allocations: 31.98 kB / 442.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.632, allocations: 0 / 442.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004308/0.6325, allocations: 133.5 kB / 442.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.671e-05/0.6326, allocations: 37.64 kB / 442.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.6326, allocations: 4 kB / 442.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6326, allocations: 0 / 442.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.6328, allocations: 16.19 kB / 442.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.6328, allocations: 11.98 kB / 442.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.633, allocations: 8.031 kB / 442.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.633, allocations: 4 kB / 442.6 MB, free: 6.672 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.0001166/0.6331, allocations: 105.1 kB / 442.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.6332, allocations: 15.75 kB / 442.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.6337, allocations: 114.2 kB / 442.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.6337, allocations: 4 kB / 442.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.6337, allocations: 0 / 442.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6337, allocations: 0 / 442.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009103/0.6347, allocations: 379.8 kB / 443.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6347, allocations: 0 / 443.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.6348, allocations: 11.98 kB / 443.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.6349, allocations: 7.953 kB / 443.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.6349, allocations: 0 / 443.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.6349, allocations: 4.094 kB / 443.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6349, allocations: 0 / 443.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004862/0.6354, allocations: 218 kB / 443.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.6356, allocations: 104.9 kB / 443.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.6357, allocations: 0 / 443.5 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.636, allocations: 7.938 kB / 443.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.636, allocations: 11.97 kB / 443.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.6361, allocations: 0 / 443.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002596/0.6364, allocations: 139.2 kB / 443.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.6364, allocations: 4 kB / 443.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007918/0.6372, allocations: 32 kB / 443.7 MB, free: 5.426 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.002706/0.6399, allocations: 1.12 MB / 444.9 MB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005104/0.6405, allocations: 155.3 kB / 445 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6405, allocations: 4 kB / 445 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.6406, allocations: 27.94 kB / 445 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.6412, allocations: 20.11 kB / 445.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.6423, allocations: 207.5 kB / 445.3 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.6428, allocations: 0.7119 MB / 446 MB, free: 3.172 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.643, allocations: 8.438 kB / 446 MB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.6431, allocations: 35.42 kB / 446 MB, free: 3.129 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6432, allocations: 0 / 446 MB, free: 3.129 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/0.7593, allocations: 2.726 MB / 448.7 MB, free: 412 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003958/0.7598, allocations: 170.9 kB / 448.9 MB, free: 216 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.94/3.7, allocations: 0 / 448.9 MB, free: 216 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