Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.68e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3503, allocations: 54.86 MB / 354.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.5171, allocations: 82.14 MB / 436.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5174, allocations: 71.95 kB / 436.7 MB, free: 12.95 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.01687/0.5343, allocations: 3.521 MB / 440.2 MB, free: 9.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.958e-06/0.5344, allocations: 3.984 kB / 440.2 MB, free: 9.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.5344, allocations: 8 kB / 440.2 MB, free: 9.418 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007473/0.5351, allocations: 0.4998 MB / 440.7 MB, free: 8.855 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5352, allocations: 8.031 kB / 440.7 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.5353, allocations: 19.77 kB / 440.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.5357, allocations: 215.5 kB / 440.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.5357, allocations: 7.984 kB / 440.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.5358, allocations: 4 kB / 440.9 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001633/0.536, allocations: 32 kB / 441 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.5362, allocations: 69.67 kB / 441 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5362, allocations: 0 / 441 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.5362, allocations: 3.953 kB / 441 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.5363, allocations: 4 kB / 441 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/0.537, allocations: 341.2 kB / 441.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.5373, allocations: 82.67 kB / 441.5 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.5374, allocations: 28.86 kB / 441.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.5375, allocations: 3.953 kB / 441.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.5377, allocations: 79.33 kB / 441.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 4.719e-06/0.5377, allocations: 0 / 441.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003396/0.5381, allocations: 105.4 kB / 441.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.5381, allocations: 51.41 kB / 441.7 MB, free: 7.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.5383, allocations: 162.4 kB / 441.9 MB, free: 7.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.5384, allocations: 33.64 kB / 441.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.5385, allocations: 100 kB / 442 MB, free: 7.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.5385, allocations: 27.64 kB / 442 MB, free: 7.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/0.5386, allocations: 4 kB / 442 MB, free: 7.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5387, allocations: 322.8 kB / 442.4 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.5388, allocations: 36 kB / 442.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.539, allocations: 58.56 kB / 442.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.5391, allocations: 35.97 kB / 442.5 MB, free: 6.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5392, allocations: 4 kB / 442.5 MB, free: 6.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000403/0.5396, allocations: 137.4 kB / 442.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.5396, allocations: 38.28 kB / 442.7 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5396, allocations: 256 / 442.7 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5397, allocations: 8 kB / 442.7 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.5399, allocations: 27.92 kB / 442.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.54, allocations: 3.938 kB / 442.7 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.5401, allocations: 15.89 kB / 442.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.5401, allocations: 8 kB / 442.7 MB, free: 6.641 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001047/0.5403, allocations: 110.9 kB / 442.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002637/0.5405, allocations: 101.5 kB / 442.9 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.5406, allocations: 19.77 kB / 442.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.5409, allocations: 111.4 kB / 443.1 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.5409, allocations: 7.984 kB / 443.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.541, allocations: 0 / 443.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.541, allocations: 0 / 443.1 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.5412, allocations: 182.3 kB / 443.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5412, allocations: 0 / 443.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.5414, allocations: 12 kB / 443.3 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5414, allocations: 0 / 443.3 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.5414, allocations: 11.94 kB / 443.3 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5415, allocations: 8 kB / 443.3 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5415, allocations: 0 / 443.3 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.5419, allocations: 164.8 kB / 443.4 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.542, allocations: 97.03 kB / 443.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.5421, allocations: 3.984 kB / 443.5 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5422, allocations: 11.95 kB / 443.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.5423, allocations: 12.33 kB / 443.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.5423, allocations: 4 kB / 443.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.5425, allocations: 120.9 kB / 443.7 MB, free: 5.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5425, allocations: 3.938 kB / 443.7 MB, free: 5.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004131/0.5429, allocations: 43.95 kB / 443.7 MB, free: 5.543 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001768/0.5447, allocations: 0.9388 MB / 444.7 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003814/0.5451, allocations: 163.3 kB / 444.8 MB, free: 4.492 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5451, allocations: 0 / 444.8 MB, free: 4.492 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.5452, allocations: 28 kB / 444.9 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.5456, allocations: 31.73 kB / 444.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.5464, allocations: 236.8 kB / 445.1 MB, free: 4.168 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.5468, allocations: 0.7159 MB / 445.8 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.5469, allocations: 12.55 kB / 445.8 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.547, allocations: 39.42 kB / 445.9 MB, free: 3.371 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.547, allocations: 0 / 445.9 MB, free: 3.371 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04285/0.5899, allocations: 2.801 MB / 448.7 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003046/0.5903, allocations: 174.8 kB / 448.9 MB, free: 392 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.554/3.145, allocations: 0 / 448.9 MB, free: 392 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat