Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.75/2.75, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.456e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4034, allocations: 54.87 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1783/0.5818, allocations: 81.38 MB / 435.8 MB, free: 13.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.5821, allocations: 67.95 kB / 435.9 MB, free: 13.7 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.02493/0.6071, allocations: 4.589 MB / 440.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6071, allocations: 0 / 440.5 MB, free: 9.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.6071, allocations: 4 kB / 440.5 MB, free: 9.094 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.0007429/0.6079, allocations: 470.1 kB / 440.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.608, allocations: 8.031 kB / 440.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.608, allocations: 34.55 kB / 441 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.6081, allocations: 11.91 kB / 441 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.6086, allocations: 207.6 kB / 441.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.6086, allocations: 7.938 kB / 441.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.6087, allocations: 4 kB / 441.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001152/0.6088, allocations: 19.98 kB / 441.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.609, allocations: 57.62 kB / 441.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.609, allocations: 0 / 441.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.609, allocations: 0 / 441.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.609, allocations: 4 kB / 441.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.6096, allocations: 293.3 kB / 441.6 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.6098, allocations: 54.62 kB / 441.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.89e-05/0.6099, allocations: 16.98 kB / 441.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.6099, allocations: 0 / 441.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.6102, allocations: 75.34 kB / 441.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.525e-06/0.6102, allocations: 0 / 441.7 MB, free: 7.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007321/0.6109, allocations: 169.3 kB / 441.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.611, allocations: 55.41 kB / 441.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.6113, allocations: 185.5 kB / 442.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.6114, allocations: 25.7 kB / 442.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.6115, allocations: 108 kB / 442.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.6115, allocations: 23.7 kB / 442.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.6115, allocations: 0 / 442.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6117, allocations: 322.8 kB / 442.6 MB, free: 6.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.6118, allocations: 32 kB / 442.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.612, allocations: 59.53 kB / 442.7 MB, free: 6.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.6122, allocations: 31.98 kB / 442.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6122, allocations: 0 / 442.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004478/0.6126, allocations: 133.5 kB / 442.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.6127, allocations: 41.64 kB / 442.9 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6127, allocations: 0 / 442.9 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.6128, allocations: 0 / 442.9 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.613, allocations: 12 kB / 442.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.613, allocations: 16.03 kB / 442.9 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.6131, allocations: 8.078 kB / 442.9 MB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.6132, allocations: 7.938 kB / 442.9 MB, free: 6.406 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.0001168/0.6133, allocations: 112.9 kB / 443 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.6133, allocations: 11.81 kB / 443 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.6138, allocations: 119.4 kB / 443.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.6138, allocations: 0 / 443.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.6138, allocations: 0 / 443.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.6138, allocations: 8 kB / 443.2 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007573/0.6146, allocations: 379.9 kB / 443.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6146, allocations: 0 / 443.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.655e-05/0.6147, allocations: 8 kB / 443.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.6148, allocations: 3.953 kB / 443.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.6148, allocations: 4 kB / 443.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6148, allocations: 0 / 443.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6148, allocations: 0 / 443.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.6152, allocations: 221.9 kB / 443.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.6153, allocations: 101 kB / 443.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.6154, allocations: 3.984 kB / 443.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.6156, allocations: 4 kB / 443.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.6157, allocations: 7.984 kB / 443.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.6157, allocations: 16.12 kB / 443.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002118/0.6159, allocations: 139.2 kB / 444 MB, free: 5.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.616, allocations: 4 kB / 444 MB, free: 5.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000488/0.6165, allocations: 35.94 kB / 444.1 MB, free: 5.148 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.002025/0.6185, allocations: 1.126 MB / 445.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003995/0.6189, allocations: 151.4 kB / 445.3 MB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.6189, allocations: 4.062 kB / 445.3 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.6191, allocations: 31.92 kB / 445.4 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.6195, allocations: 27.84 kB / 445.4 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000902/0.6204, allocations: 235.7 kB / 445.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.6208, allocations: 0.7119 MB / 446.3 MB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.6209, allocations: 24.62 kB / 446.4 MB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.621, allocations: 35.41 kB / 446.4 MB, free: 2.801 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6211, allocations: 0 / 446.4 MB, free: 2.801 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04821/0.6693, allocations: 2.865 MB / 449.3 MB, free: 15.93 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003921/0.6697, allocations: 179.3 kB / 449.4 MB, free: 15.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.922/3.592, allocations: 0 / 449.4 MB, free: 15.73 MB / 394.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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time