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.001254/0.001254, allocations: 109.5 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.001243/0.001243, allocations: 188.2 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.429e-05, allocations: 2.281 kB / 351.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003188/0.003224, allocations: 1.875 MB / 353.8 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.005213, allocations: 1.118 MB / 354.9 MB, free: 316 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.005415, allocations: 4 kB / 354.9 MB, free: 312 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.005775, allocations: 59.67 kB / 355 MB, free: 252 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.006161, allocations: 95.58 kB / 355.1 MB, free: 156 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008278/0.006999, allocations: 264.7 kB / 355.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.007338, allocations: 183.4 kB / 355.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.007491, allocations: 41.48 kB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.007647, allocations: 75.69 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.007788, allocations: 67.7 kB / 355.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.007826, allocations: 8 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.008007, allocations: 75.88 kB / 355.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001895/0.008205, allocations: 205.4 kB / 356 MB, free: 15.25 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.28e-05/0.008297, allocations: 145.8 kB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.594e-05/0.0084, allocations: 27.88 kB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.472e-05/0.008461, allocations: 4 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.000837/0.009303, allocations: 0.6525 MB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FunctionAlias: time 9.733e-05/0.009407, allocations: 37.8 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003573/0.009772, allocations: 224.2 kB / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simplify1: time 3.784e-05/0.009818, allocations: 15.98 kB / 357.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of Alias: time 0.0005585/0.01038, allocations: 354.7 kB / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simplify2: time 2.789e-05/0.01042, allocations: 11.98 kB / 357.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002336/0.01066, allocations: 96.12 kB / 357.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of Events: time 0.0001162/0.01078, allocations: 47.89 kB / 357.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001403/0.01093, allocations: 124.5 kB / 357.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004877/0.01142, allocations: 404.1 kB / 358.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002101/0.01164, allocations: 228.4 kB / 358.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Inline: time 0.001917/0.01357, allocations: 0.4985 MB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Partitioning: time 4.474e-05/0.01363, allocations: 40.09 kB / 358.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Cleanup: time 3.467e-05/0.01367, allocations: 19.98 kB / 358.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Causalize: time 0.00108/0.01475, allocations: 0.8199 MB / 359.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of Tearing: time 1.33e-05/0.01478, allocations: 3.938 kB / 359.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of Initialization: time 1.132e-06/0.01478, allocations: 0 / 359.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of Tearing: time 4.629e-06/0.01479, allocations: 0 / 359.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of Categorize: time 1.439e-05/0.01481, allocations: 4 kB / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Solve: time 0.0001309/0.01495, allocations: 64.11 kB / 359.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of Jacobian: time 3.837e-06/0.01496, allocations: 0 / 359.7 MB, free: 11.15 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 5.064e-05/0.01501, allocations: 33.23 kB / 359.8 MB, free: 11.12 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.