Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.501/2.501, allocations: 235.2 MB / 242.3 MB, free: 15.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.153e-05, allocations: 4 kB / 299.6 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3845, allocations: 54.87 MB / 354.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.5466, allocations: 81.38 MB / 435.8 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.5469, allocations: 75.95 kB / 435.9 MB, free: 0.6992 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.02206/0.569, allocations: 4.457 MB / 440.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5691, allocations: 0 / 440.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.5691, allocations: 0 / 440.4 MB, free: 12.25 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.0006335/0.5697, allocations: 457.6 kB / 440.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.5698, allocations: 12.03 kB / 440.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.73e-05/0.5699, allocations: 15.83 kB / 440.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.5703, allocations: 199.5 kB / 441 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.5703, allocations: 4 kB / 441 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.5704, allocations: 8 kB / 441.1 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000104/0.5705, allocations: 23.92 kB / 441.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.5706, allocations: 49.67 kB / 441.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.5707, allocations: 3.953 kB / 441.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.5707, allocations: 4 kB / 441.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5707, allocations: 3.938 kB / 441.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.5712, allocations: 297.3 kB / 441.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.5714, allocations: 46.69 kB / 441.5 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.5715, allocations: 20.98 kB / 441.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.5715, allocations: 4 kB / 441.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.5717, allocations: 71.34 kB / 441.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.319e-06/0.5717, allocations: 3.984 kB / 441.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006311/0.5724, allocations: 149.3 kB / 441.7 MB, free: 10.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.5724, allocations: 55.41 kB / 441.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.5727, allocations: 162 kB / 441.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.5727, allocations: 29.7 kB / 442 MB, free: 10.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.5728, allocations: 100.1 kB / 442.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.5729, allocations: 23.7 kB / 442.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.5729, allocations: 0 / 442.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5731, allocations: 322.8 kB / 442.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.5732, allocations: 32 kB / 442.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.5733, allocations: 58.23 kB / 442.5 MB, free: 9.922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.5735, allocations: 31.98 kB / 442.5 MB, free: 9.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5735, allocations: 0 / 442.5 MB, free: 9.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004151/0.5739, allocations: 133.6 kB / 442.6 MB, free: 9.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.574, allocations: 31.89 kB / 442.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.574, allocations: 7.953 kB / 442.7 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.574, allocations: 3.984 kB / 442.7 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.5742, allocations: 15.94 kB / 442.7 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5742, allocations: 0 / 442.7 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.5743, allocations: 8 kB / 442.7 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.5744, allocations: 7.984 kB / 442.7 MB, free: 9.676 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.0001064/0.5745, allocations: 113 kB / 442.8 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000254/0.5748, allocations: 97.42 kB / 442.9 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.5748, allocations: 11.86 kB / 442.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.5752, allocations: 110.3 kB / 443 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5752, allocations: 4.125 kB / 443 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5752, allocations: 0 / 443 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.5752, allocations: 3.938 kB / 443 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.5759, allocations: 383.8 kB / 443.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5759, allocations: 4.031 kB / 443.4 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.369e-05/0.576, allocations: 15.94 kB / 443.4 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.576, allocations: 0 / 443.4 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.576, allocations: 0 / 443.4 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.576, allocations: 4 kB / 443.4 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.576, allocations: 0 / 443.4 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.5764, allocations: 221.8 kB / 443.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.5765, allocations: 97 kB / 443.8 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.5766, allocations: 3.984 kB / 443.8 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.5767, allocations: 4 kB / 443.8 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.5768, allocations: 4.188 kB / 443.8 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.5768, allocations: 15.98 kB / 443.8 MB, free: 8.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.577, allocations: 131.4 kB / 443.9 MB, free: 8.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.577, allocations: 0 / 443.9 MB, free: 8.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004744/0.5775, allocations: 39.98 kB / 444 MB, free: 8.32 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.00187/0.5794, allocations: 1.104 MB / 445.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003829/0.5798, allocations: 155.3 kB / 445.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.5798, allocations: 4.188 kB / 445.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.644e-05/0.5799, allocations: 31.94 kB / 445.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.5803, allocations: 23.91 kB / 445.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.5811, allocations: 212 kB / 445.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.5815, allocations: 0.7119 MB / 446.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.5816, allocations: 20.56 kB / 446.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-05/0.5817, allocations: 27.42 kB / 446.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5818, allocations: 0 / 446.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04868/0.6304, allocations: 2.638 MB / 448.9 MB, free: 3.375 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002887/0.6308, allocations: 182.8 kB / 449.1 MB, free: 3.172 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.411/3.041, allocations: 0 / 449.1 MB, free: 3.172 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat