Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 110.6 kB / 17.75 MB, free: 5.312 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.00123/0.00123, allocations: 183.1 kB / 18.68 MB, free: 4.398 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.26/1.26, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.76e-05, allocations: 2.281 kB / 351.9 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002498/0.002525, allocations: 1.566 MB / 353.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.003381, allocations: 482.7 kB / 354 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.504e-05/0.003487, allocations: 7.938 kB / 354 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.991e-05/0.003542, allocations: 3.938 kB / 354 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.003694, allocations: 11.92 kB / 354 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.00398, allocations: 51.83 kB / 354 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.004151, allocations: 55.77 kB / 354.1 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.004283, allocations: 12.19 kB / 354.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.758e-05/0.004366, allocations: 23.91 kB / 354.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.004435, allocations: 27.86 kB / 354.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.00446, allocations: 4 kB / 354.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.004478, allocations: 0 / 354.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001094/0.004593, allocations: 90.83 kB / 354.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 3.836e-05/0.004637, allocations: 63.06 kB / 354.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.558e-05/0.004658, allocations: 0 / 354.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.033e-05/0.004701, allocations: 11.88 kB / 354.3 MB, free: 0.8867 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (8) * Number of variables: 8 (8) Notification: Performance of Bindings: time 0.0004645/0.005171, allocations: 336 kB / 354.7 MB, free: 468 kB / 286.1 MB Notification: Performance of FunctionAlias: time 7.504e-05/0.005252, allocations: 23.91 kB / 354.7 MB, free: 444 kB / 286.1 MB Notification: Performance of Early Inline: time 0.0001252/0.005385, allocations: 124.2 kB / 354.8 MB, free: 292 kB / 286.1 MB Notification: Performance of simplify1: time 2.204e-05/0.005414, allocations: 7.984 kB / 354.8 MB, free: 284 kB / 286.1 MB Notification: Performance of Alias: time 0.0004431/0.005862, allocations: 225.3 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simplify2: time 1.213e-05/0.005883, allocations: 7.984 kB / 355 MB, free: 15.98 MB / 302.1 MB Notification: Performance of Events: time 7.4e-05/0.005962, allocations: 27.86 kB / 355.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of Detect States: time 7.292e-05/0.006042, allocations: 44.23 kB / 355.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of Partitioning: time 7.712e-05/0.006125, allocations: 44.23 kB / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002111/0.006342, allocations: 148.2 kB / 355.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001075/0.006457, allocations: 112.3 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Inline: time 0.0001617/0.006625, allocations: 164.8 kB / 355.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Partitioning: time 1.836e-05/0.006649, allocations: 16.12 kB / 355.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Cleanup: time 1.305e-05/0.006667, allocations: 7.984 kB / 355.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002063/0.006878, allocations: 156 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Tearing: time 6.432e-06/0.006893, allocations: 0 / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Initialization: time 3.4e-07/0.006901, allocations: 4 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Tearing: time 8.01e-07/0.006906, allocations: 0 / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Categorize: time 8.747e-06/0.00692, allocations: 4 kB / 355.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of Solve: time 5.209e-05/0.006977, allocations: 15.98 kB / 355.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of Jacobian: time 4.959e-06/0.006988, allocations: 0 / 355.8 MB, free: 15.14 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: ......... 2 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 4.22e-05/0.007034, allocations: 27.09 kB / 355.8 MB, free: 15.11 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.