Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.515/2.515, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/3.002e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3686, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.5312, allocations: 81.59 MB / 436 MB, free: 13.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5315, allocations: 75.95 kB / 436.1 MB, free: 13.41 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.027/0.5586, allocations: 5.388 MB / 441.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5586, allocations: 0 / 441.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.5586, allocations: 0 / 441.5 MB, free: 8.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006692/0.5593, allocations: 466.2 kB / 442 MB, free: 7.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5594, allocations: 8.031 kB / 442 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.5594, allocations: 11.84 kB / 442 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.5598, allocations: 196.2 kB / 442.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.5599, allocations: 7.984 kB / 442.2 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.5599, allocations: 15.92 kB / 442.2 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001621/0.5601, allocations: 39.88 kB / 442.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.5603, allocations: 79.36 kB / 442.3 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.5603, allocations: 3.906 kB / 442.3 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.5603, allocations: 0 / 442.3 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.5604, allocations: 0 / 442.3 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000534/0.5609, allocations: 289.3 kB / 442.6 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.5612, allocations: 74.58 kB / 442.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.5613, allocations: 24.98 kB / 442.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.5613, allocations: 0 / 442.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.5615, allocations: 67.39 kB / 442.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.205e-06/0.5615, allocations: 0 / 442.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007154/0.5622, allocations: 186.1 kB / 442.9 MB, free: 6.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.5623, allocations: 77.11 kB / 443 MB, free: 6.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.5625, allocations: 143.3 kB / 443.2 MB, free: 6.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.5626, allocations: 33.69 kB / 443.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.5626, allocations: 96.08 kB / 443.3 MB, free: 6.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.5627, allocations: 23.7 kB / 443.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.5627, allocations: 0 / 443.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5629, allocations: 322.8 kB / 443.6 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.563, allocations: 32 kB / 443.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.5631, allocations: 60.39 kB / 443.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.5633, allocations: 39.92 kB / 443.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5633, allocations: 0 / 443.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003935/0.5637, allocations: 141.4 kB / 443.9 MB, free: 5.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.5638, allocations: 41.69 kB / 443.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.5638, allocations: 0 / 443.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5638, allocations: 3.938 kB / 443.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.564, allocations: 24 kB / 444 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5641, allocations: 3.984 kB / 444 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.5642, allocations: 4 kB / 444 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.5642, allocations: 4 kB / 444 MB, free: 5.312 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 (12): * Single equations (assignments): 11 * 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.0001168/0.5644, allocations: 108.9 kB / 444.1 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003121/0.5647, allocations: 121.6 kB / 444.2 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.5647, allocations: 7.906 kB / 444.2 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.5651, allocations: 130.3 kB / 444.3 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5652, allocations: 0 / 444.3 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5652, allocations: 0 / 444.3 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5652, allocations: 7.938 kB / 444.3 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/0.5659, allocations: 395.7 kB / 444.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.566, allocations: 0 / 444.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.5661, allocations: 16 kB / 444.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.5661, allocations: 0 / 444.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.5661, allocations: 7.938 kB / 444.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5661, allocations: 4.031 kB / 444.8 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5661, allocations: 0 / 444.8 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.5665, allocations: 229.9 kB / 445 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.5667, allocations: 101 kB / 445.1 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.5667, allocations: 7.984 kB / 445.1 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.5669, allocations: 4 kB / 445.1 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.567, allocations: 11.98 kB / 445.1 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.567, allocations: 4 kB / 445.1 MB, free: 4.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.5671, allocations: 113.9 kB / 445.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5671, allocations: 0 / 445.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000536/0.5677, allocations: 59.81 kB / 445.3 MB, free: 3.902 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 (11): * Single equations (assignments): 9 * 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.002252/0.57, allocations: 1.207 MB / 446.5 MB, free: 2.762 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003904/0.5704, allocations: 159.3 kB / 446.6 MB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5704, allocations: 3.938 kB / 446.6 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.5705, allocations: 35.94 kB / 446.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.5709, allocations: 23.94 kB / 446.7 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.5735, allocations: 0.6443 MB / 447.3 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.5738, allocations: 0.7081 MB / 448 MB, free: 1.113 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.574, allocations: 20.53 kB / 448.1 MB, free: 1.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.5741, allocations: 39.42 kB / 448.1 MB, free: 1.051 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5741, allocations: 0 / 448.1 MB, free: 1.051 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1295/0.7037, allocations: 3.025 MB / 451.1 MB, free: 14.02 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003417/0.7041, allocations: 179.3 kB / 451.3 MB, free: 13.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.504/3.208, allocations: 0 / 451.3 MB, free: 13.82 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat