Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.162e-05, allocations: 8 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4171, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.5694, allocations: 81.22 MB / 435.6 MB, free: 1.012 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.5697, allocations: 71.97 kB / 435.6 MB, free: 0.9414 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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.01883/0.5886, allocations: 4.31 MB / 439.9 MB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5886, allocations: 0 / 439.9 MB, free: 12.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.5886, allocations: 3.938 kB / 439.9 MB, free: 12.62 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005838/0.5892, allocations: 453.4 kB / 440.4 MB, free: 12.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.5893, allocations: 8.031 kB / 440.4 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.5893, allocations: 11.91 kB / 440.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.5897, allocations: 202.9 kB / 440.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.5898, allocations: 0 / 440.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.5898, allocations: 7.984 kB / 440.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.735e-05/0.5899, allocations: 15.94 kB / 440.6 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.59, allocations: 53.61 kB / 440.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.59, allocations: 3.953 kB / 440.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.5901, allocations: 4 kB / 440.7 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5901, allocations: 0 / 440.7 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.5903, allocations: 174.2 kB / 440.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.5905, allocations: 46.62 kB / 440.9 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.5906, allocations: 20.95 kB / 440.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.5906, allocations: 7.969 kB / 440.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.5908, allocations: 67.34 kB / 441 MB, free: 11.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/0.5908, allocations: 0 / 441 MB, free: 11.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002665/0.5911, allocations: 81.58 kB / 441.1 MB, free: 11.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.5911, allocations: 51.41 kB / 441.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.5914, allocations: 161.9 kB / 441.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.5914, allocations: 29.7 kB / 441.3 MB, free: 11.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.5915, allocations: 100.1 kB / 441.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.5915, allocations: 11.81 kB / 441.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.5916, allocations: 4 kB / 441.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5917, allocations: 322.8 kB / 441.7 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.381e-05/0.5918, allocations: 24 kB / 441.8 MB, free: 10.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.5919, allocations: 41.7 kB / 441.8 MB, free: 10.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.5921, allocations: 35.92 kB / 441.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5921, allocations: 0 / 441.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002988/0.5924, allocations: 109.5 kB / 442 MB, free: 10.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.5925, allocations: 45.67 kB / 442 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5925, allocations: 0 / 442 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.5925, allocations: 4 kB / 442 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.5926, allocations: 11.98 kB / 442 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.5927, allocations: 0 / 442 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.389e-05/0.5928, allocations: 7.938 kB / 442 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.5928, allocations: 7.953 kB / 442 MB, free: 10.32 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 (8): * Single equations (assignments): 7 * 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 9.971e-05/0.5929, allocations: 105 kB / 442.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001835/0.5931, allocations: 93.36 kB / 442.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.5932, allocations: 11.91 kB / 442.2 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.5934, allocations: 86.08 kB / 442.3 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5934, allocations: 0 / 442.3 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.5935, allocations: 3.953 kB / 442.3 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5935, allocations: 0 / 442.3 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.5937, allocations: 162.2 kB / 442.5 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5937, allocations: 0 / 442.5 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.5937, allocations: 4 kB / 442.5 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.5938, allocations: 4 kB / 442.5 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.5938, allocations: 0 / 442.5 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5938, allocations: 4.25 kB / 442.5 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5938, allocations: 0 / 442.5 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.5941, allocations: 124.8 kB / 442.6 MB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.5942, allocations: 93 kB / 442.7 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.5942, allocations: 4 kB / 442.7 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.5943, allocations: 0 / 442.7 MB, free: 9.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.5944, allocations: 7.984 kB / 442.7 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.5944, allocations: 4 kB / 442.7 MB, free: 9.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.5946, allocations: 135.4 kB / 442.9 MB, free: 9.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5946, allocations: 0 / 442.9 MB, free: 9.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004897/0.5951, allocations: 35.92 kB / 442.9 MB, free: 9.359 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001491/0.5966, allocations: 0.8787 MB / 443.8 MB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.5969, allocations: 139.4 kB / 443.9 MB, free: 8.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.5969, allocations: 3.938 kB / 443.9 MB, free: 8.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.557e-05/0.597, allocations: 27.86 kB / 443.9 MB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.5973, allocations: 15.98 kB / 443.9 MB, free: 8.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006422/0.598, allocations: 182.9 kB / 444.1 MB, free: 8.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.5984, allocations: 0.708 MB / 444.8 MB, free: 7.363 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.255e-05/0.5985, allocations: 11.95 kB / 444.8 MB, free: 7.352 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/0.5986, allocations: 31.42 kB / 444.9 MB, free: 7.324 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5986, allocations: 0 / 444.9 MB, free: 7.324 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08106/0.6796, allocations: 2.332 MB / 447.2 MB, free: 5 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/0.68, allocations: 171 kB / 447.4 MB, free: 4.801 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.039, allocations: 0 / 447.4 MB, free: 4.801 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat