Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.477/2.477, allocations: 235.1 MB / 242.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/2.995e-05, allocations: 8 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3582, allocations: 54.86 MB / 354.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.5185, allocations: 81.34 MB / 435.8 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5188, allocations: 75.95 kB / 435.9 MB, free: 13.76 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.02114/0.54, allocations: 4.376 MB / 440.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.54, allocations: 3.938 kB / 440.3 MB, free: 9.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.5401, allocations: 0 / 440.3 MB, free: 9.375 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.0006049/0.5407, allocations: 462.2 kB / 440.7 MB, free: 8.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.5407, allocations: 12.03 kB / 440.7 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.5408, allocations: 7.906 kB / 440.7 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.5412, allocations: 206.8 kB / 440.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.5412, allocations: 0 / 440.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.5413, allocations: 8 kB / 440.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001059/0.5414, allocations: 19.98 kB / 441 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.5415, allocations: 61.55 kB / 441 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5416, allocations: 3.953 kB / 441 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.5416, allocations: 0 / 441 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.5416, allocations: 0 / 441 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.5421, allocations: 293.3 kB / 441.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.5423, allocations: 54.69 kB / 441.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/0.5424, allocations: 20.98 kB / 441.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.5424, allocations: 3.938 kB / 441.4 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.5426, allocations: 71.34 kB / 441.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.5426, allocations: 0 / 441.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006085/0.5432, allocations: 141.3 kB / 441.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.5433, allocations: 59.41 kB / 441.6 MB, free: 7.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.5435, allocations: 165.2 kB / 441.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.5435, allocations: 29.7 kB / 441.8 MB, free: 7.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.5436, allocations: 100.1 kB / 441.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.5437, allocations: 23.7 kB / 442 MB, free: 7.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.5437, allocations: 0 / 442 MB, free: 7.469 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5438, allocations: 322.8 kB / 442.3 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.544, allocations: 32 kB / 442.3 MB, free: 7.113 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.5441, allocations: 55.67 kB / 442.4 MB, free: 7.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.5442, allocations: 32.58 kB / 442.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5442, allocations: 0 / 442.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003661/0.5446, allocations: 133.5 kB / 442.5 MB, free: 6.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.5447, allocations: 37.69 kB / 442.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5447, allocations: 3.953 kB / 442.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5447, allocations: 0 / 442.6 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.5449, allocations: 16 kB / 442.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.5449, allocations: 8.031 kB / 442.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.545, allocations: 7.984 kB / 442.6 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.5451, allocations: 4 kB / 442.6 MB, free: 6.805 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 9.927e-05/0.5452, allocations: 108.9 kB / 442.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002323/0.5454, allocations: 93.5 kB / 442.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.5455, allocations: 19.94 kB / 442.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.5458, allocations: 110.2 kB / 442.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5458, allocations: 3.938 kB / 442.9 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5459, allocations: 4 kB / 442.9 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5459, allocations: 7.984 kB / 442.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.5465, allocations: 375.8 kB / 443.3 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5465, allocations: 4 kB / 443.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.5466, allocations: 8 kB / 443.3 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.5466, allocations: 0 / 443.3 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.5466, allocations: 4 kB / 443.3 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5467, allocations: 0 / 443.3 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5467, allocations: 0 / 443.3 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.547, allocations: 221.8 kB / 443.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.5471, allocations: 96.98 kB / 443.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.5472, allocations: 8 kB / 443.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.5473, allocations: 192 / 443.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.5474, allocations: 11.97 kB / 443.6 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.5474, allocations: 12 kB / 443.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.5476, allocations: 127.2 kB / 443.8 MB, free: 5.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5476, allocations: 0 / 443.8 MB, free: 5.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004427/0.548, allocations: 39.98 kB / 443.8 MB, free: 5.457 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.001788/0.5498, allocations: 1.12 MB / 444.9 MB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003562/0.5502, allocations: 151.4 kB / 445.1 MB, free: 4.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5502, allocations: 8 kB / 445.1 MB, free: 4.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.5503, allocations: 28 kB / 445.1 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.5507, allocations: 15.98 kB / 445.1 MB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007723/0.5515, allocations: 219.9 kB / 445.4 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.5519, allocations: 0.7041 MB / 446.1 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.885e-05/0.552, allocations: 24.62 kB / 446.1 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.5521, allocations: 35.42 kB / 446.1 MB, free: 3.148 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5521, allocations: 0 / 446.1 MB, free: 3.148 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04894/0.601, allocations: 2.633 MB / 448.8 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003867/0.6015, allocations: 174.9 kB / 448.9 MB, free: 328 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.374/2.975, allocations: 0 / 448.9 MB, free: 328 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat