Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.022e-05, allocations: 8 kB / 299.6 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3839, allocations: 54.86 MB / 354.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.5369, allocations: 81.38 MB / 435.8 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.5372, allocations: 67.95 kB / 435.9 MB, free: 0.7461 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.02148/0.5587, allocations: 4.68 MB / 440.6 MB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5588, allocations: 0 / 440.6 MB, free: 12.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.5588, allocations: 0 / 440.6 MB, free: 12.06 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.0005984/0.5594, allocations: 461.4 kB / 441 MB, free: 11.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5595, allocations: 12.03 kB / 441 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.5595, allocations: 7.906 kB / 441 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.5599, allocations: 226.7 kB / 441.3 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.56, allocations: 4 kB / 441.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.56, allocations: 4 kB / 441.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/0.5601, allocations: 19.98 kB / 441.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.5603, allocations: 45.69 kB / 441.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.5603, allocations: 11.94 kB / 441.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.5603, allocations: 0 / 441.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5603, allocations: 3.938 kB / 441.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.5608, allocations: 289.5 kB / 441.6 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.561, allocations: 54.62 kB / 441.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.5611, allocations: 16.98 kB / 441.7 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.5611, allocations: 4 kB / 441.7 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.5613, allocations: 71.34 kB / 441.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.5613, allocations: 0 / 441.8 MB, free: 10.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006262/0.562, allocations: 157.1 kB / 441.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.562, allocations: 55.39 kB / 442 MB, free: 10.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.5623, allocations: 194.6 kB / 442.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.5624, allocations: 25.7 kB / 442.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/0.5625, allocations: 108.1 kB / 442.3 MB, free: 10.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.5625, allocations: 23.66 kB / 442.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.5625, allocations: 0 / 442.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.5627, allocations: 326.8 kB / 442.7 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.5628, allocations: 31.98 kB / 442.7 MB, free: 9.746 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.5629, allocations: 46.31 kB / 442.7 MB, free: 9.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.5631, allocations: 47.98 kB / 442.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5631, allocations: 0 / 442.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003856/0.5635, allocations: 137.4 kB / 442.9 MB, free: 9.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/0.5636, allocations: 43.88 kB / 443 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.5636, allocations: 3.984 kB / 443 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.5636, allocations: 4 kB / 443 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.5638, allocations: 20.11 kB / 443 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.5638, allocations: 4 kB / 443 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.5639, allocations: 8 kB / 443 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.564, allocations: 7.984 kB / 443 MB, free: 9.414 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.0001/0.5641, allocations: 107.3 kB / 443.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002431/0.5643, allocations: 101.6 kB / 443.2 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.5644, allocations: 15.77 kB / 443.2 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.5647, allocations: 119.4 kB / 443.3 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.5647, allocations: 0 / 443.3 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5647, allocations: 0 / 443.3 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5648, allocations: 0 / 443.3 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/0.5655, allocations: 395.8 kB / 443.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5655, allocations: 0 / 443.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.5656, allocations: 8 kB / 443.7 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.5656, allocations: 4 kB / 443.7 MB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.5656, allocations: 4.031 kB / 443.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.5656, allocations: 3.984 kB / 443.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.5656, allocations: 7.938 kB / 443.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.566, allocations: 213.9 kB / 444 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.5661, allocations: 104.9 kB / 444.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.5661, allocations: 0 / 444.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.5663, allocations: 8 kB / 444.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.5664, allocations: 11.92 kB / 444.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.5664, allocations: 0 / 444.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002138/0.5666, allocations: 156.3 kB / 444.2 MB, free: 8.074 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5666, allocations: 288 / 444.2 MB, free: 8.074 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004559/0.5671, allocations: 43.92 kB / 444.3 MB, free: 8.031 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.001777/0.5689, allocations: 1.115 MB / 445.4 MB, free: 6.965 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003758/0.5693, allocations: 155.3 kB / 445.5 MB, free: 6.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5693, allocations: 4 kB / 445.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.466e-05/0.5694, allocations: 24 kB / 445.6 MB, free: 6.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.5698, allocations: 23.92 kB / 445.6 MB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008359/0.5707, allocations: 255 kB / 445.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.571, allocations: 0.712 MB / 446.6 MB, free: 5.719 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.903e-05/0.5711, allocations: 24.55 kB / 446.6 MB, free: 5.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.5713, allocations: 39.42 kB / 446.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5713, allocations: 0 / 446.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/0.6141, allocations: 2.845 MB / 449.5 MB, free: 2.812 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003564/0.6145, allocations: 174.8 kB / 449.6 MB, free: 2.617 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.403/3.017, allocations: 0 / 449.6 MB, free: 2.617 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat