Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 235.2 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.202e-05/4.149e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4005, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.5578, allocations: 81.38 MB / 435.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.5582, allocations: 75.95 kB / 435.9 MB, free: 13.64 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.02324/0.5814, allocations: 4.772 MB / 440.7 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5815, allocations: 0 / 440.7 MB, free: 8.855 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.5815, allocations: 8 kB / 440.7 MB, free: 8.848 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.000674/0.5822, allocations: 470.1 kB / 441.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.5823, allocations: 12.03 kB / 441.2 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.5823, allocations: 19.81 kB / 441.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.5828, allocations: 218.8 kB / 441.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.5828, allocations: 0 / 441.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.5829, allocations: 4 kB / 441.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001033/0.583, allocations: 16 kB / 441.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.5831, allocations: 57.61 kB / 441.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.5832, allocations: 3.953 kB / 441.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.5832, allocations: 0 / 441.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5832, allocations: 0 / 441.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.5838, allocations: 309.3 kB / 441.8 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.5839, allocations: 50.69 kB / 441.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.858e-05/0.584, allocations: 24.92 kB / 441.8 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.584, allocations: 3.984 kB / 441.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.5842, allocations: 75.28 kB / 441.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.485e-06/0.5843, allocations: 0 / 441.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006934/0.585, allocations: 157.1 kB / 442.1 MB, free: 7.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.585, allocations: 51.41 kB / 442.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.5854, allocations: 227 kB / 442.3 MB, free: 6.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.5855, allocations: 29.7 kB / 442.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.639e-05/0.5856, allocations: 112 kB / 442.5 MB, free: 6.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.5856, allocations: 23.66 kB / 442.5 MB, free: 6.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.5857, allocations: 4 kB / 442.5 MB, free: 6.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5858, allocations: 330.8 kB / 442.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.5859, allocations: 31.98 kB / 442.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.5861, allocations: 48.14 kB / 442.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.5862, allocations: 35.98 kB / 442.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5862, allocations: 0 / 442.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004065/0.5866, allocations: 133.5 kB / 443.1 MB, free: 6.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/0.5867, allocations: 37.69 kB / 443.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.5867, allocations: 7.984 kB / 443.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5868, allocations: 0 / 443.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.5869, allocations: 15.98 kB / 443.1 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.587, allocations: 4 kB / 443.1 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.5871, allocations: 4 kB / 443.1 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.5871, allocations: 8 kB / 443.2 MB, free: 6.148 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.0001105/0.5873, allocations: 112.9 kB / 443.3 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000258/0.5875, allocations: 97.67 kB / 443.4 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.5876, allocations: 19.77 kB / 443.4 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.5879, allocations: 123.6 kB / 443.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.588, allocations: 4 kB / 443.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.588, allocations: 0 / 443.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.588, allocations: 0 / 443.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007346/0.5887, allocations: 411.7 kB / 443.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5888, allocations: 3.938 kB / 443.9 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.5888, allocations: 8 kB / 443.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5889, allocations: 0 / 443.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.5889, allocations: 8.219 kB / 443.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5889, allocations: 0 / 443.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.5889, allocations: 7.922 kB / 443.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.5893, allocations: 217.9 kB / 444.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.5894, allocations: 104.9 kB / 444.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.5895, allocations: 0 / 444.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.5896, allocations: 8 kB / 444.3 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.5897, allocations: 7.984 kB / 444.3 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.5897, allocations: 4 kB / 444.3 MB, free: 4.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002708/0.59, allocations: 183 kB / 444.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.59, allocations: 0 / 444.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004816/0.5905, allocations: 51.92 kB / 444.5 MB, free: 4.695 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.00196/0.5925, allocations: 1.114 MB / 445.6 MB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004007/0.5929, allocations: 151.4 kB / 445.8 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5929, allocations: 8 kB / 445.8 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.978e-05/0.593, allocations: 27.94 kB / 445.8 MB, free: 3.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.5934, allocations: 24.03 kB / 445.8 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009301/0.5944, allocations: 280.2 kB / 446.1 MB, free: 3.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.5948, allocations: 0.7316 MB / 446.8 MB, free: 2.352 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.457e-05/0.5949, allocations: 12.44 kB / 446.8 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.595, allocations: 47.34 kB / 446.9 MB, free: 2.293 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5951, allocations: 0 / 446.9 MB, free: 2.293 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04677/0.6418, allocations: 3.042 MB / 449.9 MB, free: 15.25 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003398/0.6422, allocations: 178.8 kB / 450.1 MB, free: 15.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.577/3.22, allocations: 0 / 450.1 MB, free: 15.05 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat