Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 113.1 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 196.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.009e-05, allocations: 2.281 kB / 351.9 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002922/0.00295, allocations: 1.887 MB / 353.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.004733, allocations: 1.165 MB / 355 MB, free: 236 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.476e-05/0.00484, allocations: 4 kB / 355 MB, free: 232 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.005033, allocations: 67.59 kB / 355.1 MB, free: 164 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.005226, allocations: 99.58 kB / 355.1 MB, free: 64 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.005861, allocations: 265.3 kB / 355.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.006094, allocations: 203.4 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.324e-05/0.006175, allocations: 29.55 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.006285, allocations: 79.69 kB / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.006387, allocations: 87.55 kB / 355.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.006412, allocations: 8 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.006527, allocations: 63.97 kB / 355.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001592/0.006695, allocations: 229.1 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.537e-05/0.006796, allocations: 165.5 kB / 356.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.006828, allocations: 19.94 kB / 356.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.508e-05/0.00687, allocations: 11.88 kB / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 (16) * Number of variables: 16 (16) Notification: Performance of Bindings: time 0.0006565/0.007532, allocations: 0.6924 MB / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.093e-05/0.00761, allocations: 45.77 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002132/0.007831, allocations: 232.2 kB / 357.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simplify1: time 2.605e-05/0.007863, allocations: 11.98 kB / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of Alias: time 0.0004588/0.008328, allocations: 414.9 kB / 357.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simplify2: time 1.601e-05/0.008354, allocations: 7.984 kB / 357.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of Events: time 8.499e-05/0.008446, allocations: 59.83 kB / 357.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001458/0.008599, allocations: 116.1 kB / 357.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001307/0.008738, allocations: 112.5 kB / 358 MB, free: 13 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004627/0.009208, allocations: 424.2 kB / 358.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002057/0.009423, allocations: 224.6 kB / 358.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of Inline: time 0.0004856/0.009917, allocations: 461.2 kB / 359 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Partitioning: time 3.414e-05/0.00996, allocations: 32.11 kB / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Cleanup: time 2.388e-05/0.009989, allocations: 23.97 kB / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Causalize: time 0.000949/0.01094, allocations: 0.8288 MB / 359.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Tearing: time 3.617e-06/0.01096, allocations: 3.938 kB / 359.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of Initialization: time 3.5e-07/0.01097, allocations: 4 kB / 359.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of Tearing: time 1.463e-06/0.01097, allocations: 4 kB / 359.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Categorize: time 4.779e-06/0.01098, allocations: 0 / 359.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Solve: time 0.0001119/0.0111, allocations: 68.72 kB / 360 MB, free: 10.85 MB / 302.1 MB Notification: Performance of Jacobian: time 6.322e-06/0.01111, allocations: 11.94 kB / 360 MB, free: 10.84 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {table.combiTimeTable.nextTimeEventScaled, table.combiTimeTable.nextTimeEvent} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 10 (10) {sample1.u, sample1.y, shiftSample1.y, backSample1.y, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 26 (scalar:24, array:1, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001016/0.01122, allocations: 26.33 kB / 360 MB, free: 10.81 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.