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.4/2.4, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.312e-05/4.325e-05, allocations: 8.938 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4078, allocations: 54.86 MB / 359.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5626, allocations: 82 MB / 441.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.5629, allocations: 79.94 kB / 442 MB, free: 14.84 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.01984/0.5828, allocations: 4.308 MB / 446.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.5828, allocations: 3.984 kB / 446.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.5829, allocations: 4 kB / 446.3 MB, free: 10.55 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.0006414/0.5835, allocations: 454.5 kB / 446.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.5836, allocations: 12.03 kB / 446.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.5836, allocations: 34.56 kB / 446.8 MB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.5837, allocations: 7.906 kB / 446.8 MB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.5841, allocations: 200.9 kB / 447 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.5841, allocations: 4 kB / 447 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.5842, allocations: 8 kB / 447 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.5843, allocations: 64.12 kB / 447 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5844, allocations: 3.938 kB / 447 MB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5844, allocations: 0 / 447 MB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5844, allocations: 0 / 447 MB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.5845, allocations: 20 kB / 447.1 MB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.5851, allocations: 309.5 kB / 447.4 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.5852, allocations: 58.64 kB / 447.4 MB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.411e-05/0.5853, allocations: 20.97 kB / 447.4 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.5854, allocations: 0 / 447.4 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.5855, allocations: 67.39 kB / 447.5 MB, free: 9.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.5856, allocations: 0 / 447.5 MB, free: 9.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007149/0.5863, allocations: 157.4 kB / 447.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.5864, allocations: 55.41 kB / 447.7 MB, free: 8.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.5866, allocations: 153.6 kB / 447.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.5866, allocations: 29.7 kB / 447.9 MB, free: 8.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.5867, allocations: 100.1 kB / 448 MB, free: 8.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.5868, allocations: 23.66 kB / 448 MB, free: 8.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.5868, allocations: 0 / 448 MB, free: 8.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.587, allocations: 322.8 kB / 448.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.5871, allocations: 39.94 kB / 448.4 MB, free: 8.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.5873, allocations: 60.23 kB / 448.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.5874, allocations: 69.64 kB / 448.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5875, allocations: 0 / 448.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004372/0.5879, allocations: 172.1 kB / 448.7 MB, free: 7.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.588, allocations: 41.69 kB / 448.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.588, allocations: 0 / 448.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.588, allocations: 0 / 448.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.5882, allocations: 20.55 kB / 448.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.5882, allocations: 4.625 kB / 448.7 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.5884, allocations: 8.031 kB / 448.7 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.5884, allocations: 4 kB / 448.7 MB, free: 7.828 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.0001233/0.5885, allocations: 117.6 kB / 448.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.453e-05/0.5886, allocations: 8.75 kB / 448.9 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.589, allocations: 123.6 kB / 449 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.589, allocations: 4 kB / 449 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.589, allocations: 1.719 kB / 449 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.589, allocations: 0 / 449 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.5897, allocations: 399.3 kB / 449.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5897, allocations: 0 / 449.4 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/0.5898, allocations: 11.98 kB / 449.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.5898, allocations: 4 kB / 449.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.5899, allocations: 4.188 kB / 449.4 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.5899, allocations: 4 kB / 449.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5899, allocations: 3.938 kB / 449.4 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.5902, allocations: 219 kB / 449.6 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.5904, allocations: 97 kB / 449.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.5904, allocations: 3.938 kB / 449.7 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.5905, allocations: 7.984 kB / 449.7 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.5906, allocations: 4 kB / 449.7 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.5906, allocations: 13.39 kB / 449.7 MB, free: 6.715 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.5908, allocations: 121.9 kB / 449.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5908, allocations: 0 / 449.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003829/0.5912, allocations: 43.83 kB / 449.9 MB, free: 6.555 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.001802/0.593, allocations: 1.133 MB / 451 MB, free: 5.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.5934, allocations: 163.3 kB / 451.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5934, allocations: 0 / 451.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.5936, allocations: 31.92 kB / 451.2 MB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.5939, allocations: 20.06 kB / 451.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007492/0.5947, allocations: 205.3 kB / 451.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.5951, allocations: 0.7004 MB / 452.1 MB, free: 4.266 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.575e-05/0.5952, allocations: 16.56 kB / 452.2 MB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.581e-05/0.5953, allocations: 27.42 kB / 452.2 MB, free: 4.223 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5953, allocations: 4 kB / 452.2 MB, free: 4.219 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.6193, allocations: 2.846 MB / 455 MB, free: 1.395 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/0.6197, allocations: 198.6 kB / 455.2 MB, free: 1.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/2.983, allocations: 0 / 455.2 MB, free: 1.16 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