Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.552e-05, allocations: 4 kB / 299.6 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4085, allocations: 54.87 MB / 354.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1765/0.5851, allocations: 81.35 MB / 435.8 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.5854, allocations: 75.97 kB / 435.9 MB, free: 0.7656 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.02139/0.6068, allocations: 4.363 MB / 440.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6069, allocations: 0 / 440.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.6069, allocations: 4 kB / 440.2 MB, free: 12.4 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.0006016/0.6075, allocations: 457.6 kB / 440.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.6076, allocations: 19.95 kB / 440.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.6077, allocations: 7.906 kB / 440.7 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.608, allocations: 199.5 kB / 440.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.6081, allocations: 4 kB / 440.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.6081, allocations: 4 kB / 440.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/0.6082, allocations: 15.98 kB / 440.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.6084, allocations: 53.67 kB / 441 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.6084, allocations: 7.953 kB / 441 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.6084, allocations: 4 kB / 441 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6085, allocations: 0 / 441 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.609, allocations: 289.3 kB / 441.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.6091, allocations: 54.69 kB / 441.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.6092, allocations: 20.92 kB / 441.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.6093, allocations: 3.984 kB / 441.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.6094, allocations: 71.34 kB / 441.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.248e-06/0.6094, allocations: 0 / 441.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006214/0.6101, allocations: 145.3 kB / 441.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.6101, allocations: 51.41 kB / 441.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.6104, allocations: 166 kB / 441.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.6104, allocations: 25.7 kB / 441.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.6105, allocations: 104.1 kB / 441.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.6106, allocations: 23.7 kB / 441.9 MB, free: 10.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.6106, allocations: 0 / 441.9 MB, free: 10.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.6108, allocations: 326.8 kB / 442.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.6109, allocations: 28 kB / 442.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.611, allocations: 53.64 kB / 442.3 MB, free: 10.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.6112, allocations: 40.58 kB / 442.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6112, allocations: 0 / 442.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003799/0.6116, allocations: 133.5 kB / 442.5 MB, free: 9.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.6116, allocations: 35.89 kB / 442.5 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.6117, allocations: 7.938 kB / 442.5 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6117, allocations: 7.938 kB / 442.6 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.6119, allocations: 12 kB / 442.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6119, allocations: 0 / 442.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.612, allocations: 4 kB / 442.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.612, allocations: 15.98 kB / 442.6 MB, free: 9.836 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.0001025/0.6122, allocations: 107.3 kB / 442.7 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002511/0.6124, allocations: 97.47 kB / 442.8 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.6125, allocations: 19.84 kB / 442.8 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.6128, allocations: 106.4 kB / 442.9 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.6128, allocations: 3.984 kB / 442.9 MB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6129, allocations: 4 kB / 442.9 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.6129, allocations: 3.984 kB / 442.9 MB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.6135, allocations: 379.8 kB / 443.3 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6135, allocations: 4.031 kB / 443.3 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.6136, allocations: 15.94 kB / 443.3 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.6136, allocations: 3.938 kB / 443.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.6137, allocations: 0 / 443.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6137, allocations: 0 / 443.3 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6137, allocations: 4 kB / 443.3 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.614, allocations: 217.8 kB / 443.5 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.6141, allocations: 97 kB / 443.6 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.6142, allocations: 3.984 kB / 443.6 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.6143, allocations: 4 kB / 443.6 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.6144, allocations: 11.98 kB / 443.6 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.6144, allocations: 4 kB / 443.6 MB, free: 8.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.6146, allocations: 131.4 kB / 443.8 MB, free: 8.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6146, allocations: 288 / 443.8 MB, free: 8.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000493/0.6151, allocations: 39.98 kB / 443.8 MB, free: 8.488 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.001849/0.617, allocations: 1.115 MB / 444.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.6173, allocations: 163.3 kB / 445.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6174, allocations: 0 / 445.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.6175, allocations: 27.94 kB / 445.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.6178, allocations: 15.98 kB / 445.1 MB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.6186, allocations: 216.1 kB / 445.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.619, allocations: 0.7079 MB / 446 MB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.038e-05/0.6191, allocations: 20.5 kB / 446.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.65e-05/0.6192, allocations: 35.42 kB / 446.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6192, allocations: 0 / 446.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/0.6616, allocations: 2.635 MB / 448.7 MB, free: 3.531 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003449/0.662, allocations: 182.8 kB / 448.9 MB, free: 3.328 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.435/3.097, allocations: 7.938 kB / 448.9 MB, free: 3.32 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat