Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.537/2.537, allocations: 235 MB / 247.2 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.121e-05/4.141e-05, allocations: 4.938 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4547, allocations: 54.86 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.6118, allocations: 82.01 MB / 441.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.6121, allocations: 76.55 kB / 442 MB, free: 14.71 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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.01987/0.632, allocations: 4.311 MB / 446.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6321, allocations: 0 / 446.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.6321, allocations: 4 kB / 446.3 MB, free: 10.44 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.0006168/0.6327, allocations: 457.6 kB / 446.7 MB, free: 9.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6328, allocations: 8.031 kB / 446.8 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.6328, allocations: 30.56 kB / 446.8 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.6329, allocations: 11.91 kB / 446.8 MB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.6333, allocations: 204.9 kB / 447 MB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.6333, allocations: 4 kB / 447 MB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.6334, allocations: 4 kB / 447 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.6335, allocations: 61.56 kB / 447.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.6336, allocations: 0 / 447.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.6336, allocations: 0 / 447.1 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.6336, allocations: 4 kB / 447.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.456e-05/0.6337, allocations: 20 kB / 447.1 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.6342, allocations: 316.8 kB / 447.4 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.6344, allocations: 50.7 kB / 447.4 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.968e-05/0.6345, allocations: 25.75 kB / 447.5 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.6345, allocations: 0 / 447.5 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.6347, allocations: 71.39 kB / 447.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.6347, allocations: 0 / 447.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006543/0.6354, allocations: 154.1 kB / 447.7 MB, free: 8.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.6355, allocations: 51.41 kB / 447.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.6357, allocations: 149.4 kB / 447.9 MB, free: 8.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.6358, allocations: 29.7 kB / 447.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.6359, allocations: 100.1 kB / 448 MB, free: 8.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.6359, allocations: 24.22 kB / 448 MB, free: 8.477 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.6359, allocations: 0 / 448 MB, free: 8.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6361, allocations: 326.8 kB / 448.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.6362, allocations: 32 kB / 448.4 MB, free: 8.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.6364, allocations: 57.64 kB / 448.4 MB, free: 8.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.6365, allocations: 73.64 kB / 448.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.6366, allocations: 1.031 kB / 448.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004064/0.637, allocations: 167.2 kB / 448.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.637, allocations: 37.69 kB / 448.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6371, allocations: 4.031 kB / 448.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.6371, allocations: 4 kB / 448.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.6372, allocations: 19.97 kB / 448.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.6373, allocations: 0 / 448.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-05/0.6374, allocations: 4.188 kB / 448.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.6374, allocations: 16 kB / 448.8 MB, free: 7.711 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.0001054/0.6375, allocations: 113.4 kB / 448.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.6376, allocations: 9.406 kB / 448.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.6379, allocations: 130.2 kB / 449 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.6379, allocations: 0 / 449 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.638, allocations: 0 / 449 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.638, allocations: 0 / 449 MB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.6386, allocations: 395.3 kB / 449.4 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.6386, allocations: 7.938 kB / 449.4 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.79e-05/0.6387, allocations: 11.98 kB / 449.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.6387, allocations: 0 / 449.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.6388, allocations: 8.031 kB / 449.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6388, allocations: 0.9375 kB / 449.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6388, allocations: 0 / 449.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.6391, allocations: 217.9 kB / 449.6 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.421e-05/0.6392, allocations: 93 kB / 449.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.6393, allocations: 4.844 kB / 449.7 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.6394, allocations: 7.984 kB / 449.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.6395, allocations: 8 kB / 449.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.6395, allocations: 4 kB / 449.8 MB, free: 6.609 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000165/0.6397, allocations: 122.4 kB / 449.9 MB, free: 6.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6397, allocations: 0 / 449.9 MB, free: 6.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004206/0.6401, allocations: 47.89 kB / 449.9 MB, free: 6.445 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.642, allocations: 1.127 MB / 451 MB, free: 5.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.6424, allocations: 167.3 kB / 451.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6424, allocations: 4.25 kB / 451.2 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.6425, allocations: 39.91 kB / 451.3 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.6429, allocations: 23.88 kB / 451.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007477/0.6436, allocations: 193.3 kB / 451.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.644, allocations: 0.7043 MB / 452.2 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.025e-05/0.6441, allocations: 16.48 kB / 452.2 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.321e-05/0.6442, allocations: 27.42 kB / 452.2 MB, free: 4.113 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.6442, allocations: 0 / 452.2 MB, free: 4.113 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.6707, allocations: 2.856 MB / 455.1 MB, free: 1.281 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/0.6711, allocations: 189.2 kB / 455.3 MB, free: 1.055 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.086, allocations: 3.938 kB / 455.3 MB, free: 1.051 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat