Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.234/2.234, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.385e-05, allocations: 8 kB / 299.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3646, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.509, allocations: 81.38 MB / 435.7 MB, free: 0.832 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.5093, allocations: 71.97 kB / 435.8 MB, free: 0.7617 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.01984/0.5291, allocations: 4.591 MB / 440.4 MB, free: 12.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5292, allocations: 0 / 440.4 MB, free: 12.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.5292, allocations: 0 / 440.4 MB, free: 12.17 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.0005813/0.5298, allocations: 474.6 kB / 440.9 MB, free: 11.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5298, allocations: 15.91 kB / 440.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.5299, allocations: 11.91 kB / 440.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.5303, allocations: 211.6 kB / 441.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.5304, allocations: 0 / 441.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.5304, allocations: 4 kB / 441.1 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.055e-05/0.5305, allocations: 16 kB / 441.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.5306, allocations: 53.67 kB / 441.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.5307, allocations: 7.953 kB / 441.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.5307, allocations: 0 / 441.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.5307, allocations: 4 kB / 441.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.5312, allocations: 297.2 kB / 441.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.5313, allocations: 50.69 kB / 441.5 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.5314, allocations: 20.98 kB / 441.5 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.5314, allocations: 0 / 441.5 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.5316, allocations: 75.34 kB / 441.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.891e-06/0.5316, allocations: 3.984 kB / 441.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005616/0.5322, allocations: 149.2 kB / 441.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.5322, allocations: 51.41 kB / 441.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.5325, allocations: 189.5 kB / 442 MB, free: 10.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.5326, allocations: 25.7 kB / 442 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.5327, allocations: 112 kB / 442.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.5327, allocations: 19.72 kB / 442.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.5327, allocations: 0 / 442.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.5329, allocations: 322.8 kB / 442.5 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-05/0.533, allocations: 39.92 kB / 442.5 MB, free: 9.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.5331, allocations: 46.25 kB / 442.5 MB, free: 9.797 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.5332, allocations: 39.98 kB / 442.6 MB, free: 9.758 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5332, allocations: 4 kB / 442.6 MB, free: 9.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003353/0.5336, allocations: 130.2 kB / 442.7 MB, free: 9.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.5336, allocations: 37.69 kB / 442.7 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5337, allocations: 3.953 kB / 442.8 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5337, allocations: 3.938 kB / 442.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.5339, allocations: 15.98 kB / 442.8 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.5339, allocations: 4 kB / 442.8 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.534, allocations: 4 kB / 442.8 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.534, allocations: 4 kB / 442.8 MB, free: 9.543 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.0001024/0.5341, allocations: 117 kB / 442.9 MB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000257/0.5344, allocations: 101.4 kB / 443 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.5344, allocations: 15.86 kB / 443 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.5347, allocations: 115.5 kB / 443.1 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.5348, allocations: 4 kB / 443.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5348, allocations: 0 / 443.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5348, allocations: 0 / 443.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006038/0.5354, allocations: 391.8 kB / 443.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5354, allocations: 0 / 443.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.936e-05/0.5355, allocations: 15.94 kB / 443.5 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.5355, allocations: 0 / 443.5 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.5356, allocations: 0 / 443.5 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5356, allocations: 0 / 443.5 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5356, allocations: 4 kB / 443.5 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.5359, allocations: 213.9 kB / 443.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.536, allocations: 100.9 kB / 443.8 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.5361, allocations: 11.98 kB / 443.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5362, allocations: 0 / 443.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.5362, allocations: 7.984 kB / 443.9 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.5363, allocations: 4.188 kB / 443.9 MB, free: 8.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001771/0.5365, allocations: 143.2 kB / 444 MB, free: 8.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.046e-06/0.5365, allocations: 0 / 444 MB, free: 8.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004452/0.5369, allocations: 51.88 kB / 444.1 MB, free: 8.164 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.001577/0.5385, allocations: 1.088 MB / 445.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.5389, allocations: 155.3 kB / 445.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5389, allocations: 0 / 445.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/0.539, allocations: 31.92 kB / 445.3 MB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.5394, allocations: 28.12 kB / 445.3 MB, free: 6.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007649/0.5402, allocations: 244.3 kB / 445.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.5405, allocations: 0.712 MB / 446.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.672e-05/0.5406, allocations: 20.41 kB / 446.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.615e-05/0.5407, allocations: 35.36 kB / 446.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5407, allocations: 8 kB / 446.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03748/0.5782, allocations: 2.761 MB / 449.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/0.5786, allocations: 166.9 kB / 449.3 MB, free: 2.855 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/2.831, allocations: 3.938 kB / 449.3 MB, free: 2.852 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat