Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.488/2.488, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.247e-05, allocations: 8 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3617, allocations: 54.86 MB / 354.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.5209, allocations: 81.38 MB / 435.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.5213, allocations: 71.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.02178/0.5431, allocations: 4.532 MB / 440.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5431, allocations: 0 / 440.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.5431, allocations: 0 / 440.4 MB, free: 9.094 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.000664/0.5438, allocations: 469.9 kB / 440.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5439, allocations: 8.031 kB / 440.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.5439, allocations: 11.91 kB / 440.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.5443, allocations: 202.9 kB / 441.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.5444, allocations: 7.984 kB / 441.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.5444, allocations: 8 kB / 441.1 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001048/0.5445, allocations: 16 kB / 441.1 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.5447, allocations: 57.61 kB / 441.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5447, allocations: 7.891 kB / 441.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.5447, allocations: 0 / 441.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.5447, allocations: 0 / 441.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.5452, allocations: 289.4 kB / 441.5 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.5454, allocations: 50.7 kB / 441.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.5455, allocations: 20.97 kB / 441.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.5455, allocations: 4 kB / 441.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.5457, allocations: 67.3 kB / 441.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.5457, allocations: 0 / 441.6 MB, free: 7.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006431/0.5464, allocations: 157.2 kB / 441.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.5464, allocations: 55.41 kB / 441.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.5467, allocations: 174.4 kB / 442 MB, free: 7.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.5467, allocations: 33.69 kB / 442 MB, free: 7.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.5468, allocations: 96.14 kB / 442.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.5469, allocations: 27.64 kB / 442.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.5469, allocations: 0 / 442.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5471, allocations: 322.8 kB / 442.5 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.5472, allocations: 32 kB / 442.5 MB, free: 6.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.5473, allocations: 56.27 kB / 442.6 MB, free: 6.742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.5475, allocations: 31.98 kB / 442.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5475, allocations: 0 / 442.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003943/0.5479, allocations: 141.4 kB / 442.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.5479, allocations: 37.7 kB / 442.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.548, allocations: 3.953 kB / 442.8 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.548, allocations: 0 / 442.8 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.5482, allocations: 16.17 kB / 442.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.5482, allocations: 12.06 kB / 442.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.914e-05/0.5483, allocations: 8.031 kB / 442.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.5483, allocations: 4.094 kB / 442.8 MB, free: 6.48 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.0001045/0.5484, allocations: 116.8 kB / 442.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002406/0.5487, allocations: 93.59 kB / 443 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.5487, allocations: 15.77 kB / 443 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003283/0.5491, allocations: 111.4 kB / 443.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5491, allocations: 4 kB / 443.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5491, allocations: 3.938 kB / 443.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5491, allocations: 4 kB / 443.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.5498, allocations: 379.8 kB / 443.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.5498, allocations: 4 kB / 443.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.027e-05/0.5499, allocations: 8 kB / 443.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.5499, allocations: 0 / 443.5 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.5499, allocations: 4 kB / 443.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.55, allocations: 0 / 443.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.55, allocations: 0 / 443.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.5503, allocations: 217.9 kB / 443.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5504, allocations: 104.9 kB / 443.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.5505, allocations: 4 kB / 443.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.5506, allocations: 0 / 443.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.5507, allocations: 7.984 kB / 443.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.5507, allocations: 4 kB / 443.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001821/0.5509, allocations: 144 kB / 444 MB, free: 5.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5509, allocations: 0 / 444 MB, free: 5.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004776/0.5514, allocations: 35.94 kB / 444 MB, free: 5.133 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.00188/0.5533, allocations: 1.115 MB / 445.2 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003671/0.5537, allocations: 155.4 kB / 445.3 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5537, allocations: 4 kB / 445.3 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.5538, allocations: 35.98 kB / 445.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.5542, allocations: 23.84 kB / 445.4 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008628/0.5551, allocations: 232.1 kB / 445.6 MB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.5555, allocations: 0.7157 MB / 446.3 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.739e-05/0.5556, allocations: 24.62 kB / 446.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.5558, allocations: 31.42 kB / 446.4 MB, free: 2.797 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.5558, allocations: 0 / 446.4 MB, free: 2.797 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04843/0.6042, allocations: 2.709 MB / 449.1 MB, free: 88 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000397/0.6047, allocations: 174.9 kB / 449.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.407/3.012, allocations: 0 / 449.2 MB, free: 15.89 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat