Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.501/2.501, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.999e-05, allocations: 8 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3548, allocations: 54.86 MB / 354.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1537/0.5086, allocations: 81.39 MB / 435.8 MB, free: 13.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.5089, allocations: 71.97 kB / 435.9 MB, free: 13.62 MB / 378.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.0213/0.5302, allocations: 4.474 MB / 440.4 MB, free: 9.141 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5303, allocations: 0 / 440.4 MB, free: 9.141 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.5303, allocations: 4 kB / 440.4 MB, free: 9.137 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.0006752/0.531, allocations: 454.1 kB / 440.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5311, allocations: 11.97 kB / 440.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.5311, allocations: 15.84 kB / 440.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.5316, allocations: 202.7 kB / 441.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.5316, allocations: 0 / 441.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.5316, allocations: 16 kB / 441.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001036/0.5317, allocations: 15.98 kB / 441.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.5319, allocations: 45.69 kB / 441.1 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.5319, allocations: 11.88 kB / 441.1 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.5319, allocations: 4 kB / 441.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.532, allocations: 4 kB / 441.1 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.5325, allocations: 289.3 kB / 441.4 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.5327, allocations: 54.67 kB / 441.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.5327, allocations: 24.98 kB / 441.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.5328, allocations: 0 / 441.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.533, allocations: 71.33 kB / 441.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.188e-06/0.533, allocations: 0 / 441.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006082/0.5336, allocations: 149.3 kB / 441.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.5337, allocations: 55.41 kB / 441.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.5339, allocations: 169.2 kB / 441.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.5339, allocations: 25.7 kB / 442 MB, free: 7.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.534, allocations: 100.1 kB / 442.1 MB, free: 7.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.5341, allocations: 23.7 kB / 442.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.5341, allocations: 0 / 442.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5343, allocations: 322.8 kB / 442.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.5344, allocations: 32 kB / 442.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.5345, allocations: 58.23 kB / 442.5 MB, free: 6.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.5347, allocations: 35.98 kB / 442.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5347, allocations: 0 / 442.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000371/0.535, allocations: 125.6 kB / 442.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.5351, allocations: 33.7 kB / 442.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.5351, allocations: 3.953 kB / 442.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5352, allocations: 3.938 kB / 442.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.5353, allocations: 19.98 kB / 442.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.5353, allocations: 4.031 kB / 442.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.633e-05/0.5354, allocations: 4 kB / 442.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.5355, allocations: 4 kB / 442.7 MB, free: 6.57 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.0001025/0.5356, allocations: 113 kB / 442.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002355/0.5358, allocations: 97.44 kB / 442.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.5359, allocations: 11.86 kB / 442.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.5362, allocations: 114.2 kB / 443.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5362, allocations: 4 kB / 443.1 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5363, allocations: 7.938 kB / 443.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5363, allocations: 0 / 443.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006283/0.5369, allocations: 380 kB / 443.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5369, allocations: 0 / 443.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.107e-05/0.537, allocations: 15.92 kB / 443.5 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.537, allocations: 4 kB / 443.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.5371, allocations: 0 / 443.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5371, allocations: 0 / 443.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5371, allocations: 0 / 443.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.5374, allocations: 225.8 kB / 443.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.5375, allocations: 97 kB / 443.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.5376, allocations: 0 / 443.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.5377, allocations: 7.984 kB / 443.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.5378, allocations: 4 kB / 443.8 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.5378, allocations: 11.98 kB / 443.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.538, allocations: 131.2 kB / 443.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.538, allocations: 0 / 443.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004601/0.5384, allocations: 35.98 kB / 444 MB, free: 5.219 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.001796/0.5403, allocations: 1.114 MB / 445.1 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.5406, allocations: 159.3 kB / 445.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5407, allocations: 12.06 kB / 445.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.949e-05/0.5407, allocations: 27.94 kB / 445.3 MB, free: 3.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.5411, allocations: 15.98 kB / 445.3 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/0.5419, allocations: 211.9 kB / 445.5 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.5423, allocations: 0.7158 MB / 446.2 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.565e-05/0.5424, allocations: 16.48 kB / 446.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.953e-05/0.5425, allocations: 31.42 kB / 446.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5425, allocations: 0 / 446.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04135/0.5839, allocations: 2.634 MB / 448.9 MB, free: 288 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003994/0.5844, allocations: 170.9 kB / 449.1 MB, free: 92 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.386/2.971, allocations: 3.938 kB / 449.1 MB, free: 88 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat