Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.58e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3687, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.5441, allocations: 81.38 MB / 435.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.5444, allocations: 67.97 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.02831/0.5727, allocations: 4.592 MB / 440.5 MB, free: 9.039 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5728, allocations: 0 / 440.5 MB, free: 9.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.5728, allocations: 4 kB / 440.5 MB, free: 9.035 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.000631/0.5734, allocations: 474.1 kB / 441 MB, free: 8.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.5735, allocations: 12.03 kB / 441 MB, free: 8.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.5736, allocations: 7.906 kB / 441 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.574, allocations: 207.6 kB / 441.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.574, allocations: 4 kB / 441.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.5741, allocations: 7.938 kB / 441.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001034/0.5742, allocations: 15.94 kB / 441.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.5743, allocations: 53.67 kB / 441.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.5743, allocations: 3.953 kB / 441.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.5744, allocations: 8 kB / 441.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5744, allocations: 0 / 441.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.5749, allocations: 297.3 kB / 441.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.5751, allocations: 54.67 kB / 441.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.151e-05/0.5751, allocations: 20.92 kB / 441.6 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.5752, allocations: 8 kB / 441.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.5754, allocations: 67.34 kB / 441.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.815e-06/0.5754, allocations: 0 / 441.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008577/0.5763, allocations: 149.2 kB / 441.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.5764, allocations: 51.41 kB / 441.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003874/0.5768, allocations: 189.5 kB / 442.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.5768, allocations: 29.7 kB / 442.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.577, allocations: 108 kB / 442.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.577, allocations: 19.72 kB / 442.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.5771, allocations: 0 / 442.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.5773, allocations: 322.8 kB / 442.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.5775, allocations: 39.98 kB / 442.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.5777, allocations: 44.28 kB / 442.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.5779, allocations: 35.98 kB / 442.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5779, allocations: 0 / 442.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005547/0.5785, allocations: 137.5 kB / 442.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.47e-05/0.5785, allocations: 37.69 kB / 442.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.5786, allocations: 3.953 kB / 442.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.5786, allocations: 0 / 442.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.5788, allocations: 19.98 kB / 442.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.5789, allocations: 0 / 442.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.579, allocations: 4 kB / 442.9 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.5791, allocations: 4.172 kB / 442.9 MB, free: 6.418 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.0001456/0.5792, allocations: 124.8 kB / 443 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003721/0.5796, allocations: 101.5 kB / 443.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.5797, allocations: 15.8 kB / 443.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.5801, allocations: 115.4 kB / 443.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5801, allocations: 192 / 443.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.5802, allocations: 4 kB / 443.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5802, allocations: 0 / 443.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008286/0.581, allocations: 391.7 kB / 443.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.581, allocations: 8.031 kB / 443.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.5812, allocations: 8 kB / 443.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.5812, allocations: 0 / 443.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.5812, allocations: 0 / 443.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5812, allocations: 4 kB / 443.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5813, allocations: 0 / 443.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/0.5817, allocations: 213.9 kB / 443.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.5819, allocations: 108.9 kB / 443.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.582, allocations: 4 kB / 443.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.5822, allocations: 4 kB / 444 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.5823, allocations: 7.984 kB / 444 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.5824, allocations: 0 / 444 MB, free: 5.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002734/0.5826, allocations: 143.2 kB / 444.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.5827, allocations: 0 / 444.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000692/0.5834, allocations: 43.94 kB / 444.1 MB, free: 5.039 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.002452/0.5859, allocations: 1.123 MB / 445.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.5864, allocations: 155.3 kB / 445.4 MB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.5865, allocations: 4 kB / 445.4 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.5866, allocations: 28 kB / 445.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.5872, allocations: 23.84 kB / 445.5 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.5884, allocations: 256.2 kB / 445.7 MB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.589, allocations: 0.7119 MB / 446.4 MB, free: 2.734 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.5891, allocations: 16.56 kB / 446.4 MB, free: 2.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.5893, allocations: 35.42 kB / 446.5 MB, free: 2.684 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/0.5893, allocations: 0 / 446.5 MB, free: 2.684 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04518/0.6345, allocations: 2.766 MB / 449.2 MB, free: 15.92 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003013/0.6349, allocations: 175.5 kB / 449.4 MB, free: 15.72 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.53/3.165, allocations: 4 kB / 449.4 MB, free: 15.72 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat