Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 113 kB / 17.75 MB, free: 5.348 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.001418/0.001418, allocations: 184.7 kB / 18.68 MB, free: 4.426 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.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.05e-05, allocations: 2.281 kB / 351.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.002617/0.002646, allocations: 1.862 MB / 353.8 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.004232, allocations: 1.118 MB / 354.9 MB, free: 324 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.004347, allocations: 7.938 kB / 354.9 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.004636, allocations: 67.66 kB / 355 MB, free: 248 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.004882, allocations: 95.58 kB / 355.1 MB, free: 152 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.005488, allocations: 246.3 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.005728, allocations: 195.4 kB / 355.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.005843, allocations: 33.56 kB / 355.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.781e-05/0.005947, allocations: 75.69 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.006053, allocations: 71.69 kB / 355.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.006081, allocations: 8 kB / 355.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.006202, allocations: 63.89 kB / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001341/0.006347, allocations: 213.4 kB / 356 MB, free: 15.26 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.584e-05/0.006419, allocations: 149.8 kB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.006456, allocations: 23.88 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.321e-05/0.006484, allocations: 7.938 kB / 356.1 MB, free: 15.08 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: 14 (14) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.0005938/0.007082, allocations: 0.6526 MB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.221e-05/0.007161, allocations: 41.78 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001784/0.007346, allocations: 216.2 kB / 357 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simplify1: time 2.619e-05/0.007379, allocations: 11.98 kB / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Alias: time 0.0004207/0.007804, allocations: 362.6 kB / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simplify2: time 1.565e-05/0.007829, allocations: 11.97 kB / 357.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of Events: time 8.724e-05/0.007924, allocations: 55.78 kB / 357.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001394/0.00807, allocations: 112.2 kB / 357.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001134/0.008191, allocations: 116.4 kB / 357.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of Causalize: time 0.0005041/0.008702, allocations: 412 kB / 358.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.000198/0.008919, allocations: 220.6 kB / 358.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of Inline: time 0.000474/0.009399, allocations: 453.4 kB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Partitioning: time 3.865e-05/0.009447, allocations: 28.12 kB / 358.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Cleanup: time 3.021e-05/0.009485, allocations: 15.98 kB / 358.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009535/0.01044, allocations: 0.8043 MB / 359.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Tearing: time 5.701e-06/0.01046, allocations: 0 / 359.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Initialization: time 3.2e-07/0.01046, allocations: 0 / 359.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Tearing: time 1.172e-06/0.01047, allocations: 0 / 359.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Categorize: time 1.005e-05/0.01048, allocations: 8 kB / 359.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of Solve: time 0.0001192/0.01061, allocations: 64.11 kB / 359.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of Jacobian: time 3.046e-06/0.01062, allocations: 3.938 kB / 359.7 MB, free: 11.19 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: ................. 9 (9) {sample1.u, sample1.y, subSample1.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: ........... 15 (scalar:15, 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: ........... 25 (scalar:23, 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 6.772e-05/0.01069, allocations: 37.84 kB / 359.7 MB, free: 11.16 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.