Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 235.2 MB / 242.3 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.027e-05, allocations: 4 kB / 299.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.381, allocations: 54.87 MB / 354.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.5369, allocations: 81.34 MB / 435.8 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5372, allocations: 71.97 kB / 435.9 MB, free: 0.8633 MB / 362.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.02175/0.559, allocations: 4.289 MB / 440.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.559, allocations: 0 / 440.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.559, allocations: 8 kB / 440.2 MB, free: 12.57 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.0006252/0.5597, allocations: 445.7 kB / 440.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.5597, allocations: 8.031 kB / 440.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.5598, allocations: 11.81 kB / 440.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.5602, allocations: 210.8 kB / 440.8 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.5603, allocations: 0 / 440.8 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.5603, allocations: 4 kB / 440.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.841e-05/0.5604, allocations: 16 kB / 440.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.5606, allocations: 65.62 kB / 440.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5606, allocations: 0 / 440.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.5606, allocations: 0 / 440.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.5606, allocations: 4 kB / 440.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.5611, allocations: 281.3 kB / 441.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.5613, allocations: 58.62 kB / 441.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.5614, allocations: 24.92 kB / 441.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.5615, allocations: 3.953 kB / 441.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.5616, allocations: 63.39 kB / 441.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/0.5617, allocations: 0 / 441.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006336/0.5623, allocations: 145.3 kB / 441.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.5624, allocations: 51.41 kB / 441.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.5626, allocations: 151 kB / 441.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.5626, allocations: 25.7 kB / 441.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.5627, allocations: 100 kB / 441.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.5627, allocations: 19.66 kB / 441.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.5628, allocations: 0 / 441.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.5629, allocations: 322.8 kB / 442.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.5631, allocations: 36 kB / 442.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.5632, allocations: 49.7 kB / 442.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.5634, allocations: 40.52 kB / 442.2 MB, free: 10.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5634, allocations: 0 / 442.2 MB, free: 10.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003894/0.5638, allocations: 133.5 kB / 442.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/0.5638, allocations: 33.69 kB / 442.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5639, allocations: 4 kB / 442.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5639, allocations: 0 / 442.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.5641, allocations: 15.94 kB / 442.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5641, allocations: 3.984 kB / 442.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.5642, allocations: 4 kB / 442.4 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.5642, allocations: 12.03 kB / 442.4 MB, free: 10.04 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.0001057/0.5643, allocations: 109 kB / 442.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002517/0.5646, allocations: 97.52 kB / 442.7 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.5647, allocations: 7.906 kB / 442.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.565, allocations: 118.2 kB / 442.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.565, allocations: 4 kB / 442.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.565, allocations: 0 / 442.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5651, allocations: 3.984 kB / 442.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.5657, allocations: 371.9 kB / 443.1 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5657, allocations: 0 / 443.1 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.283e-05/0.5658, allocations: 11.98 kB / 443.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.5658, allocations: 7.875 kB / 443.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.5659, allocations: 4 kB / 443.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.5659, allocations: 192 / 443.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5659, allocations: 4 kB / 443.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.5662, allocations: 217.9 kB / 443.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.5664, allocations: 93 kB / 443.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.5664, allocations: 4 kB / 443.5 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.5666, allocations: 7.984 kB / 443.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.5666, allocations: 4 kB / 443.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.5666, allocations: 0 / 443.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001425/0.5668, allocations: 126.6 kB / 443.6 MB, free: 8.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5668, allocations: 0 / 443.6 MB, free: 8.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004607/0.5673, allocations: 35.94 kB / 443.7 MB, free: 8.734 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.001861/0.5692, allocations: 1.096 MB / 444.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.5696, allocations: 167.3 kB / 444.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5696, allocations: 0 / 444.9 MB, free: 7.508 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.5697, allocations: 27.94 kB / 444.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.5701, allocations: 20.11 kB / 445 MB, free: 7.461 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007285/0.5708, allocations: 192.1 kB / 445.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.5712, allocations: 0.7041 MB / 445.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.588e-05/0.5713, allocations: 20.5 kB / 445.9 MB, free: 6.473 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.5714, allocations: 35.42 kB / 445.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5714, allocations: 0 / 445.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04219/0.6136, allocations: 2.51 MB / 448.4 MB, free: 3.934 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002925/0.614, allocations: 173.6 kB / 448.6 MB, free: 3.738 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.451/3.065, allocations: 0 / 448.6 MB, free: 3.738 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat