Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.338/2.338, allocations: 235.1 MB / 242.3 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.195e-05, allocations: 8 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3451, allocations: 54.86 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.4976, allocations: 81.37 MB / 435.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4979, allocations: 71.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.02064/0.5186, allocations: 4.58 MB / 440.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5186, allocations: 0 / 440.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.5186, allocations: 0 / 440.5 MB, free: 9.051 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.0006047/0.5193, allocations: 470.1 kB / 440.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5193, allocations: 8.031 kB / 440.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.5194, allocations: 15.91 kB / 441 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.5198, allocations: 211.6 kB / 441.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.5198, allocations: 0 / 441.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.5199, allocations: 7.938 kB / 441.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001057/0.52, allocations: 31.92 kB / 441.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.5201, allocations: 45.69 kB / 441.3 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5201, allocations: 7.891 kB / 441.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.5202, allocations: 0 / 441.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5202, allocations: 0 / 441.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.5207, allocations: 309.3 kB / 441.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.5208, allocations: 46.69 kB / 441.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.184e-05/0.5209, allocations: 24.92 kB / 441.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.5209, allocations: 0 / 441.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.5211, allocations: 67.34 kB / 441.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.973e-06/0.5211, allocations: 4 kB / 441.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005876/0.5217, allocations: 153.2 kB / 441.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.5218, allocations: 51.41 kB / 441.9 MB, free: 7.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.5221, allocations: 185.5 kB / 442.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.5221, allocations: 25.7 kB / 442.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.5222, allocations: 108 kB / 442.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.5222, allocations: 23.7 kB / 442.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/0.5223, allocations: 0 / 442.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5224, allocations: 330.8 kB / 442.6 MB, free: 6.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.797e-05/0.5225, allocations: 28 kB / 442.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.5227, allocations: 48.14 kB / 442.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.5228, allocations: 39.97 kB / 442.7 MB, free: 6.637 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5228, allocations: 0 / 442.7 MB, free: 6.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003574/0.5232, allocations: 129.5 kB / 442.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.5232, allocations: 33.7 kB / 442.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.5233, allocations: 7.984 kB / 442.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5233, allocations: 4 kB / 442.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.5234, allocations: 15.98 kB / 442.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.5235, allocations: 0 / 442.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.5236, allocations: 4 kB / 442.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.5236, allocations: 12 kB / 442.9 MB, free: 6.422 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.0001031/0.5237, allocations: 112.9 kB / 443 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002479/0.524, allocations: 97.47 kB / 443.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.524, allocations: 15.86 kB / 443.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.5244, allocations: 115.5 kB / 443.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.5244, allocations: 4.094 kB / 443.2 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5244, allocations: 7.875 kB / 443.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5244, allocations: 0 / 443.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006465/0.5251, allocations: 391.7 kB / 443.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5251, allocations: 0 / 443.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.5252, allocations: 8.188 kB / 443.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.5252, allocations: 8.031 kB / 443.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.5252, allocations: 4 kB / 443.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5252, allocations: 0 / 443.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5252, allocations: 3.984 kB / 443.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.5256, allocations: 217.9 kB / 443.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.5257, allocations: 100.9 kB / 443.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.5257, allocations: 8 kB / 443.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.5259, allocations: 0 / 443.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.5259, allocations: 7.984 kB / 444 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.526, allocations: 4 kB / 444 MB, free: 5.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.5262, allocations: 147.2 kB / 444.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5262, allocations: 0 / 444.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004526/0.5266, allocations: 39.94 kB / 444.1 MB, free: 5.047 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.001769/0.5284, allocations: 1.113 MB / 445.3 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003539/0.5288, allocations: 159.3 kB / 445.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.5288, allocations: 4 kB / 445.4 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.5289, allocations: 28 kB / 445.4 MB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.5293, allocations: 24 kB / 445.5 MB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.5301, allocations: 244.2 kB / 445.7 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.5305, allocations: 0.7158 MB / 446.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.5306, allocations: 24.41 kB / 446.4 MB, free: 2.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.896e-05/0.5307, allocations: 35.42 kB / 446.5 MB, free: 2.699 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5308, allocations: 0 / 446.5 MB, free: 2.699 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/0.5725, allocations: 2.773 MB / 449.3 MB, free: 15.93 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003306/0.5729, allocations: 172.6 kB / 449.4 MB, free: 15.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.489/3.062, allocations: 0 / 449.4 MB, free: 15.73 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat