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.001274/0.001274, allocations: 113 kB / 17.75 MB, free: 5.34 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.001268/0.001268, allocations: 188.7 kB / 18.68 MB, free: 4.418 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.354/1.354, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.729e-05, allocations: 2.281 kB / 351.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.00301/0.003046, allocations: 1.887 MB / 353.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.005004, allocations: 1.169 MB / 355 MB, free: 220 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.005195, allocations: 3.938 kB / 355 MB, free: 216 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.005545, allocations: 71.66 kB / 355.1 MB, free: 144 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.005888, allocations: 91.58 kB / 355.2 MB, free: 52 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008788/0.00679, allocations: 268.1 kB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.00714, allocations: 195.4 kB / 355.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.00728, allocations: 33.55 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.007427, allocations: 83.62 kB / 355.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.007578, allocations: 79.61 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.007623, allocations: 8 kB / 355.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.007806, allocations: 71.89 kB / 355.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001923/0.008006, allocations: 225.2 kB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.656e-05/0.00811, allocations: 165.5 kB / 356.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.008167, allocations: 19.94 kB / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.405e-05/0.008227, allocations: 11.88 kB / 356.3 MB, free: 14.91 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.0008005/0.009033, allocations: 0.6886 MB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001118/0.009151, allocations: 49.66 kB / 357 MB, free: 14.07 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002447/0.009403, allocations: 228.2 kB / 357.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simplify1: time 4.335e-05/0.009454, allocations: 15.97 kB / 357.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of Alias: time 0.0006073/0.01007, allocations: 403 kB / 357.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simplify2: time 2.655e-05/0.0101, allocations: 11.98 kB / 357.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001821/0.01029, allocations: 108 kB / 357.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of Events: time 0.0001257/0.01043, allocations: 63.83 kB / 357.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001425/0.01058, allocations: 108.5 kB / 357.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of Causalize: time 0.000526/0.01111, allocations: 424.4 kB / 358.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002241/0.01134, allocations: 240.5 kB / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Inline: time 0.001959/0.01331, allocations: 0.5152 MB / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Partitioning: time 4.15e-05/0.01336, allocations: 40.11 kB / 359.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of Cleanup: time 3.218e-05/0.0134, allocations: 23.95 kB / 359.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of Causalize: time 0.001157/0.01456, allocations: 0.836 MB / 360 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Tearing: time 1.465e-05/0.01459, allocations: 0 / 360 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Initialization: time 6.91e-07/0.0146, allocations: 0 / 360 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Tearing: time 4.408e-06/0.01461, allocations: 0 / 360 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Categorize: time 1.44e-05/0.01463, allocations: 4 kB / 360 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Solve: time 0.0001715/0.0148, allocations: 60.69 kB / 360.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of Jacobian: time 4.418e-06/0.01482, allocations: 0 / 360.1 MB, free: 10.81 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 7.034e-05/0.01489, allocations: 37.23 kB / 360.1 MB, free: 10.78 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.