Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 110.6 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.001252/0.001252, allocations: 191 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.297/1.297, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.269e-05, allocations: 5.797 kB / 351.9 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003403/0.003444, allocations: 1.481 MB / 353.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004922/0.003949, allocations: 143.5 kB / 353.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.004063, allocations: 4 kB / 353.5 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.741e-05/0.004126, allocations: 3.938 kB / 353.6 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.004282, allocations: 3.938 kB / 353.6 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.004583, allocations: 45.45 kB / 353.6 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.004734, allocations: 27.98 kB / 353.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.004881, allocations: 19.92 kB / 353.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/0.004931, allocations: 11.94 kB / 353.7 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.881e-05/0.004995, allocations: 15.86 kB / 353.7 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.00502, allocations: 0 / 353.7 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.005037, allocations: 4 kB / 353.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of combineBinaries: time 7.007e-05/0.005112, allocations: 51.25 kB / 353.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 3.168e-05/0.005149, allocations: 47.31 kB / 353.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.005175, allocations: 7.938 kB / 353.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.515e-05/0.005207, allocations: 7.984 kB / 353.8 MB, free: 1.387 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: 6 (6) * Number of variables: 6 (6) Notification: Performance of Bindings: time 0.0003914/0.005604, allocations: 268.6 kB / 354.1 MB, free: 1.023 MB / 286.1 MB Notification: Performance of FunctionAlias: time 1.666e-05/0.005627, allocations: 4 kB / 354.1 MB, free: 1.02 MB / 286.1 MB Notification: Performance of Early Inline: time 9.009e-05/0.005722, allocations: 92.33 kB / 354.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of simplify1: time 1.76e-05/0.005746, allocations: 11.97 kB / 354.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of Alias: time 0.0003256/0.006078, allocations: 169.1 kB / 354.3 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of simplify2: time 6.682e-06/0.006095, allocations: 8 kB / 354.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of Events: time 6.567e-05/0.006166, allocations: 12 kB / 354.3 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of Detect States: time 7.337e-05/0.006246, allocations: 44.11 kB / 354.4 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of Partitioning: time 6.092e-05/0.006314, allocations: 44.23 kB / 354.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of Causalize: time 0.0001489/0.006469, allocations: 112.4 kB / 354.5 MB, free: 420 kB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 7.522e-05/0.006553, allocations: 84.34 kB / 354.6 MB, free: 308 kB / 286.1 MB Notification: Performance of Inline: time 0.0001049/0.006665, allocations: 124.3 kB / 354.7 MB, free: 148 kB / 286.1 MB Notification: Performance of Partitioning: time 1.997e-05/0.006692, allocations: 16.12 kB / 354.8 MB, free: 124 kB / 286.1 MB Notification: Performance of Cleanup: time 7.394e-06/0.006706, allocations: 4 kB / 354.8 MB, free: 120 kB / 286.1 MB Notification: Performance of Causalize: time 0.0001386/0.006849, allocations: 104 kB / 354.9 MB, free: 8 kB / 286.1 MB Notification: Performance of Tearing: time 6.402e-06/0.006864, allocations: 3.938 kB / 354.9 MB, free: 4 kB / 286.1 MB Notification: Performance of Initialization: time 2.7e-07/0.006869, allocations: 0 / 354.9 MB, free: 4 kB / 286.1 MB Notification: Performance of Tearing: time 9.32e-07/0.006876, allocations: 4.281 kB / 354.9 MB, free: 0 / 286.1 MB Notification: Performance of Categorize: time 8.596e-06/0.006904, allocations: 4.047 kB / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Solve: time 4.15e-05/0.00695, allocations: 15.92 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of Jacobian: time 3.035e-06/0.006959, allocations: 0 / 354.9 MB, free: 15.98 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: ................. 4 (4) {step.y, sample1.y, $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: ........... 5 (scalar:5, 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: ........... 5 (scalar:5, 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 3.838e-05/0.007002, allocations: 21.73 kB / 354.9 MB, free: 15.96 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.