Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.845e-05, allocations: 4 kB / 299.6 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3986, allocations: 54.86 MB / 354.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.5595, allocations: 82.13 MB / 436.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5599, allocations: 71.95 kB / 436.7 MB, free: 12.86 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.01724/0.5771, allocations: 3.517 MB / 440.2 MB, free: 9.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5772, allocations: 4 kB / 440.2 MB, free: 9.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.5772, allocations: 8 kB / 440.2 MB, free: 9.332 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.0007524/0.578, allocations: 0.4958 MB / 440.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.578, allocations: 12.03 kB / 440.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.5781, allocations: 23.77 kB / 440.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.5785, allocations: 215.5 kB / 440.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.5786, allocations: 0 / 440.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.5786, allocations: 12 kB / 440.9 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001441/0.5788, allocations: 31.92 kB / 441 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.579, allocations: 73.67 kB / 441 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.579, allocations: 0 / 441 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.5791, allocations: 3.953 kB / 441 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5791, allocations: 0 / 441 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007302/0.5798, allocations: 337.3 kB / 441.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.5802, allocations: 82.61 kB / 441.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.089e-05/0.5803, allocations: 28.86 kB / 441.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.5803, allocations: 7.953 kB / 441.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.5805, allocations: 71.39 kB / 441.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 5.029e-06/0.5806, allocations: 0 / 441.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003541/0.5809, allocations: 109.4 kB / 441.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.581, allocations: 55.41 kB / 441.7 MB, free: 7.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.5812, allocations: 158.4 kB / 441.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.5813, allocations: 25.7 kB / 441.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.5814, allocations: 108 kB / 442 MB, free: 7.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.5814, allocations: 27.64 kB / 442 MB, free: 7.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.5815, allocations: 4 kB / 442 MB, free: 7.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5816, allocations: 322.8 kB / 442.4 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.5817, allocations: 32 kB / 442.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.5819, allocations: 58.5 kB / 442.4 MB, free: 6.844 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.5821, allocations: 39.98 kB / 442.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5821, allocations: 0 / 442.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000421/0.5825, allocations: 153.4 kB / 442.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.5826, allocations: 34.28 kB / 442.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5826, allocations: 4 kB / 442.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5826, allocations: 0 / 442.7 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.5828, allocations: 19.98 kB / 442.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5829, allocations: 4 kB / 442.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.583, allocations: 15.89 kB / 442.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.5831, allocations: 8 kB / 442.7 MB, free: 6.559 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.0001212/0.5832, allocations: 122.9 kB / 442.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002653/0.5835, allocations: 97.58 kB / 442.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.5835, allocations: 23.7 kB / 443 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.5839, allocations: 107.5 kB / 443.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.5839, allocations: 0 / 443.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5839, allocations: 0 / 443.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.5839, allocations: 0 / 443.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.5842, allocations: 182.3 kB / 443.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5842, allocations: 7.938 kB / 443.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.5844, allocations: 16 kB / 443.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.5844, allocations: 0 / 443.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.5844, allocations: 7.938 kB / 443.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5845, allocations: 0 / 443.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5845, allocations: 4 kB / 443.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.5849, allocations: 169.1 kB / 443.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.585, allocations: 93.03 kB / 443.5 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.5851, allocations: 4 kB / 443.5 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.5852, allocations: 16.09 kB / 443.5 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.5853, allocations: 11.92 kB / 443.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.5853, allocations: 4 kB / 443.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001474/0.5855, allocations: 120.9 kB / 443.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5855, allocations: 0 / 443.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004502/0.586, allocations: 43.95 kB / 443.7 MB, free: 5.457 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.001812/0.5878, allocations: 0.9429 MB / 444.7 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003878/0.5882, allocations: 159.3 kB / 444.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5882, allocations: 0 / 444.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.5883, allocations: 35.98 kB / 444.9 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.5887, allocations: 27.8 kB / 444.9 MB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.5896, allocations: 236.9 kB / 445.1 MB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.5899, allocations: 0.7119 MB / 445.8 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.5901, allocations: 20.53 kB / 445.8 MB, free: 3.316 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.5902, allocations: 35.42 kB / 445.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5902, allocations: 4 kB / 445.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04794/0.6381, allocations: 2.797 MB / 448.7 MB, free: 500 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004058/0.6386, allocations: 182.8 kB / 448.9 MB, free: 292 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.535/3.174, allocations: 0 / 448.9 MB, free: 292 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat