Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.967/2.967, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.687e-05/4.703e-05, allocations: 8 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4563, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.6869, allocations: 81.38 MB / 435.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/0.6873, allocations: 75.95 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.02875/0.716, allocations: 4.581 MB / 440.5 MB, free: 9.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7161, allocations: 3.938 kB / 440.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.043e-05/0.7162, allocations: 4 kB / 440.5 MB, free: 9.039 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.0008933/0.7171, allocations: 482 kB / 440.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/0.7172, allocations: 12.03 kB / 440.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.7172, allocations: 30.56 kB / 441 MB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.535e-05/0.7173, allocations: 7.906 kB / 441 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.7179, allocations: 211.6 kB / 441.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.7179, allocations: 0 / 441.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.718, allocations: 4 kB / 441.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001391/0.7181, allocations: 19.94 kB / 441.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.7183, allocations: 57.62 kB / 441.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.7183, allocations: 4 kB / 441.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.7184, allocations: 0 / 441.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.7184, allocations: 0 / 441.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006775/0.7191, allocations: 301.3 kB / 441.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.7193, allocations: 46.7 kB / 441.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.375e-05/0.7194, allocations: 28.91 kB / 441.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.7194, allocations: 0 / 441.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.7197, allocations: 71.34 kB / 441.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.7197, allocations: 0 / 441.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007769/0.7205, allocations: 149.3 kB / 441.9 MB, free: 7.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.7206, allocations: 55.41 kB / 441.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.7209, allocations: 189.5 kB / 442.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.721, allocations: 25.7 kB / 442.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.7211, allocations: 116 kB / 442.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.7212, allocations: 19.72 kB / 442.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.7212, allocations: 0 / 442.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.7214, allocations: 322.8 kB / 442.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.7216, allocations: 28 kB / 442.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.7218, allocations: 51.67 kB / 442.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.7221, allocations: 39.98 kB / 442.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7221, allocations: 4 kB / 442.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007734/0.7229, allocations: 129.5 kB / 442.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.006e-05/0.723, allocations: 41.64 kB / 442.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.7231, allocations: 4 kB / 442.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.7231, allocations: 0 / 442.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.7234, allocations: 15.98 kB / 442.9 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.7234, allocations: 4 kB / 442.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.7236, allocations: 4 kB / 442.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.7236, allocations: 4.188 kB / 442.9 MB, free: 6.371 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.0001474/0.7238, allocations: 116.9 kB / 443 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.7239, allocations: 11.91 kB / 443 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.7244, allocations: 131.4 kB / 443.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.7244, allocations: 0 / 443.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.7244, allocations: 0 / 443.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.7245, allocations: 0 / 443.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000884/0.7254, allocations: 379.9 kB / 443.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.7254, allocations: 8.031 kB / 443.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.7255, allocations: 11.94 kB / 443.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.961e-05/0.7256, allocations: 3.953 kB / 443.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.7256, allocations: 4 kB / 443.5 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.7257, allocations: 3.984 kB / 443.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.7257, allocations: 0 / 443.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000426/0.7261, allocations: 217.9 kB / 443.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.7263, allocations: 105 kB / 443.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.7263, allocations: 0 / 443.9 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.7265, allocations: 7.984 kB / 443.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.7266, allocations: 7.984 kB / 443.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.7266, allocations: 3.938 kB / 443.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002445/0.7269, allocations: 147.2 kB / 444 MB, free: 5.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7269, allocations: 0 / 444 MB, free: 5.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005419/0.7275, allocations: 43.92 kB / 444.1 MB, free: 5.09 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.00305/0.7305, allocations: 1.12 MB / 445.2 MB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006453/0.7312, allocations: 155.3 kB / 445.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.7313, allocations: 4 kB / 445.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.7314, allocations: 27.94 kB / 445.4 MB, free: 3.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.7319, allocations: 26.97 kB / 445.4 MB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.733, allocations: 247.9 kB / 445.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.7335, allocations: 0.708 MB / 446.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.7336, allocations: 12.42 kB / 446.4 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.7338, allocations: 39.42 kB / 446.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.522e-06/0.7338, allocations: 0 / 446.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07609/0.8099, allocations: 2.88 MB / 449.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003745/0.8104, allocations: 172.6 kB / 449.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.171/3.981, allocations: 0 / 449.4 MB, free: 15.67 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