Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.708e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3559, allocations: 54.86 MB / 354.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.5047, allocations: 81.21 MB / 435.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.505, allocations: 71.95 kB / 435.7 MB, free: 13.79 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01946/0.5245, allocations: 4.311 MB / 440 MB, free: 9.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5245, allocations: 0 / 440 MB, free: 9.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.5246, allocations: 4 kB / 440 MB, free: 9.477 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000563/0.5251, allocations: 450 kB / 440.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.5252, allocations: 12.03 kB / 440.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.5253, allocations: 7.906 kB / 440.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.5257, allocations: 206.7 kB / 440.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.5257, allocations: 0 / 440.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.5257, allocations: 4 kB / 440.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.267e-05/0.5258, allocations: 19.98 kB / 440.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.526, allocations: 41.69 kB / 440.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.526, allocations: 3.953 kB / 440.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.526, allocations: 0 / 440.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.526, allocations: 0 / 440.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.5263, allocations: 186.1 kB / 441 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.5265, allocations: 54.56 kB / 441 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.5265, allocations: 16.86 kB / 441 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.5266, allocations: 0 / 441 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.5267, allocations: 59.48 kB / 441.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 4.939e-06/0.5267, allocations: 7.984 kB / 441.1 MB, free: 8.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002658/0.527, allocations: 77.59 kB / 441.2 MB, free: 8.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.5271, allocations: 55.41 kB / 441.2 MB, free: 8.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.5273, allocations: 173.2 kB / 441.4 MB, free: 7.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.5274, allocations: 29.64 kB / 441.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.5274, allocations: 96.14 kB / 441.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.5275, allocations: 15.8 kB / 441.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-06/0.5275, allocations: 0 / 441.5 MB, free: 7.793 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5277, allocations: 322.8 kB / 441.8 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.5278, allocations: 28 kB / 441.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.5279, allocations: 41.72 kB / 441.9 MB, free: 7.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.528, allocations: 27.98 kB / 441.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.528, allocations: 4 kB / 441.9 MB, free: 7.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003293/0.5284, allocations: 113.5 kB / 442.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.5285, allocations: 41.69 kB / 442.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5285, allocations: 0 / 442.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5285, allocations: 0 / 442.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.5286, allocations: 8 kB / 442.1 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.5286, allocations: 4.031 kB / 442.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.5288, allocations: 15.92 kB / 442.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.5288, allocations: 7.953 kB / 442.1 MB, free: 7.164 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 (8): * Single equations (assignments): 7 * 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 9.637e-05/0.5289, allocations: 110.9 kB / 442.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001776/0.5291, allocations: 77.5 kB / 442.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.5291, allocations: 7.906 kB / 442.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.5294, allocations: 90.06 kB / 442.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5294, allocations: 4 kB / 442.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.5294, allocations: 7.953 kB / 442.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.5294, allocations: 0 / 442.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.5296, allocations: 166.1 kB / 442.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5296, allocations: 0 / 442.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.5297, allocations: 7.938 kB / 442.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5297, allocations: 0 / 442.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5297, allocations: 7.984 kB / 442.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5298, allocations: 0 / 442.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5298, allocations: 4 kB / 442.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.53, allocations: 105.2 kB / 442.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.5301, allocations: 100.9 kB / 442.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.5302, allocations: 4.062 kB / 442.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.5302, allocations: 3.984 kB / 442.8 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.5303, allocations: 4 kB / 442.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.5303, allocations: 4 kB / 442.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.5305, allocations: 131.2 kB / 443 MB, free: 6.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.5305, allocations: 0 / 443 MB, free: 6.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000362/0.5309, allocations: 35.94 kB / 443 MB, free: 6.211 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001499/0.5324, allocations: 0.886 MB / 443.9 MB, free: 5.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.5327, allocations: 143.3 kB / 444 MB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5327, allocations: 0 / 444 MB, free: 5.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.5328, allocations: 16 kB / 444 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.5331, allocations: 20.05 kB / 444 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.5337, allocations: 186.9 kB / 444.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.5341, allocations: 0.708 MB / 444.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.108e-05/0.5341, allocations: 19.88 kB / 445 MB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.5342, allocations: 31.36 kB / 445 MB, free: 4.195 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5342, allocations: 0 / 445 MB, free: 4.195 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0449/0.5792, allocations: 2.343 MB / 447.3 MB, free: 1.859 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003274/0.5796, allocations: 178.8 kB / 447.5 MB, free: 1.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.434/3.014, allocations: 0 / 447.5 MB, free: 1.66 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat