Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.025/3.025, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.634e-05, allocations: 8 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4268, allocations: 54.86 MB / 354.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.6027, allocations: 82.72 MB / 437.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.6031, allocations: 67.97 kB / 437.2 MB, free: 12.37 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.0227/0.6258, allocations: 4.081 MB / 441.3 MB, free: 8.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6258, allocations: 0 / 441.3 MB, free: 8.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.282e-05/0.6259, allocations: 4 kB / 441.3 MB, free: 8.281 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001388/0.6273, allocations: 0.5948 MB / 441.9 MB, free: 7.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.6274, allocations: 8.031 kB / 441.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.065e-05/0.6274, allocations: 42.52 kB / 441.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.852e-05/0.6276, allocations: 19.81 kB / 442 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.6281, allocations: 230.5 kB / 442.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.6282, allocations: 4 kB / 442.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.6282, allocations: 8 kB / 442.2 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000246/0.6285, allocations: 47.98 kB / 442.3 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.6288, allocations: 83.62 kB / 442.3 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.6288, allocations: 7.938 kB / 442.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.6289, allocations: 0 / 442.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.6289, allocations: 0 / 442.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.6302, allocations: 425 kB / 442.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.6307, allocations: 98.67 kB / 442.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.6309, allocations: 44.81 kB / 442.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.631, allocations: 0 / 442.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/0.6313, allocations: 111.3 kB / 443 MB, free: 6.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.775e-06/0.6313, allocations: 4 kB / 443 MB, free: 6.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005864/0.6319, allocations: 129.5 kB / 443.1 MB, free: 6.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.632, allocations: 59.39 kB / 443.2 MB, free: 6.188 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.6323, allocations: 173.9 kB / 443.4 MB, free: 6.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.6324, allocations: 29.7 kB / 443.4 MB, free: 5.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.6325, allocations: 120.1 kB / 443.5 MB, free: 5.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.6326, allocations: 31.56 kB / 443.5 MB, free: 5.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.92e-05/0.6326, allocations: 3.938 kB / 443.5 MB, free: 5.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6328, allocations: 334.8 kB / 443.9 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.633, allocations: 48.19 kB / 443.9 MB, free: 5.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.6332, allocations: 76 kB / 444 MB, free: 5.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.6335, allocations: 50.38 kB / 444 MB, free: 5.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6335, allocations: 0 / 444 MB, free: 5.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006547/0.6341, allocations: 185.4 kB / 444.2 MB, free: 5.109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/0.6342, allocations: 59.47 kB / 444.3 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.6343, allocations: 4 kB / 444.3 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.6343, allocations: 7.984 kB / 444.3 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.6348, allocations: 39.97 kB / 444.3 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.6348, allocations: 3.953 kB / 444.3 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.6352, allocations: 39.81 kB / 444.4 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.6353, allocations: 8 kB / 444.4 MB, free: 4.938 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001434/0.6355, allocations: 112.9 kB / 444.5 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.6355, allocations: 15.81 kB / 444.5 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005625/0.6361, allocations: 147.5 kB / 444.7 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.6361, allocations: 3.984 kB / 444.7 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6361, allocations: 0 / 444.7 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.6362, allocations: 3.953 kB / 444.7 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.6365, allocations: 206 kB / 444.9 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6365, allocations: 8 kB / 444.9 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.6369, allocations: 35.91 kB / 444.9 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.6369, allocations: 0 / 444.9 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.637, allocations: 0 / 444.9 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.637, allocations: 4 kB / 444.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.637, allocations: 0 / 444.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006685/0.6377, allocations: 220.9 kB / 445.1 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.6379, allocations: 104.9 kB / 445.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.6379, allocations: 0 / 445.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.6383, allocations: 31.97 kB / 445.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.6385, allocations: 15.97 kB / 445.3 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.6385, allocations: 7.938 kB / 445.3 MB, free: 3.953 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.6387, allocations: 148.6 kB / 445.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6388, allocations: 0 / 445.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004806/0.6393, allocations: 47.92 kB / 445.5 MB, free: 3.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002231/0.6415, allocations: 1.015 MB / 446.5 MB, free: 2.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006431/0.6422, allocations: 258.7 kB / 446.7 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6422, allocations: 0 / 446.7 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.6424, allocations: 51.94 kB / 446.8 MB, free: 2.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.643, allocations: 35.61 kB / 446.8 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.6442, allocations: 280.7 kB / 447.1 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.6447, allocations: 0.7319 MB / 447.8 MB, free: 1.375 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.6449, allocations: 17.2 kB / 447.8 MB, free: 1.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.6451, allocations: 51.36 kB / 447.9 MB, free: 1.309 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6451, allocations: 0 / 447.9 MB, free: 1.309 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05916/0.7043, allocations: 3.959 MB / 451.9 MB, free: 13.35 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004578/0.7048, allocations: 170.9 kB / 452 MB, free: 13.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.036/3.741, allocations: 7.969 kB / 452 MB, free: 13.15 MB / 394.7 MB