Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 116.6 kB / 17.75 MB, free: 5.168 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.001197/0.001197, allocations: 192.6 kB / 18.68 MB, free: 4.254 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.271/1.271, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.032e-05, allocations: 2.281 kB / 351.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002246/0.002274, allocations: 1.493 MB / 353.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003596/0.002648, allocations: 147.5 kB / 353.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.235e-05/0.00273, allocations: 3.938 kB / 353.6 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.468e-05/0.00278, allocations: 7.922 kB / 353.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.0029, allocations: 3.938 kB / 353.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.003136, allocations: 43.89 kB / 353.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.003253, allocations: 35.91 kB / 353.7 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.003363, allocations: 23.98 kB / 353.7 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.003399, allocations: 7.938 kB / 353.7 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.003451, allocations: 23.84 kB / 353.7 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.003473, allocations: 4 kB / 353.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.003487, allocations: 0 / 353.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of combineBinaries: time 6.264e-05/0.003557, allocations: 75.08 kB / 353.8 MB, free: 1.438 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 2.398e-05/0.003587, allocations: 55.16 kB / 353.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.00361, allocations: 7.938 kB / 353.8 MB, free: 1.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.928e-05/0.003633, allocations: 4 kB / 353.8 MB, free: 1.371 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.0003694/0.004007, allocations: 292.4 kB / 354.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of FunctionAlias: time 1.72e-05/0.00403, allocations: 8 kB / 354.1 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of Early Inline: time 9.613e-05/0.004131, allocations: 104.3 kB / 354.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of simplify1: time 2.286e-05/0.00416, allocations: 11.97 kB / 354.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of Alias: time 0.0003318/0.004496, allocations: 205.4 kB / 354.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of simplify2: time 4.719e-06/0.00451, allocations: 0 / 354.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of Events: time 7.182e-05/0.004587, allocations: 27.91 kB / 354.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001051/0.004699, allocations: 44.23 kB / 354.5 MB, free: 500 kB / 286.1 MB Notification: Performance of Partitioning: time 6.277e-05/0.004769, allocations: 48.23 kB / 354.6 MB, free: 436 kB / 286.1 MB Notification: Performance of Causalize: time 0.0001623/0.004937, allocations: 128.4 kB / 354.7 MB, free: 292 kB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 7.445e-05/0.005019, allocations: 96.52 kB / 354.8 MB, free: 168 kB / 286.1 MB Notification: Performance of Inline: time 0.0001331/0.005158, allocations: 132.4 kB / 354.9 MB, free: 0 / 286.1 MB Notification: Performance of Partitioning: time 2.695e-05/0.005193, allocations: 20.05 kB / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Cleanup: time 1.154e-05/0.005209, allocations: 4 kB / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002847/0.005499, allocations: 241.9 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of Tearing: time 5.039e-06/0.005513, allocations: 3.938 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of Initialization: time 2.91e-07/0.005518, allocations: 0 / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of Tearing: time 7.91e-07/0.005523, allocations: 0 / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of Categorize: time 7.334e-06/0.005537, allocations: 4 kB / 355.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Solve: time 4.744e-05/0.005588, allocations: 12 kB / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of Jacobian: time 3.036e-06/0.005597, allocations: 0 / 355.2 MB, free: 15.7 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: .................... 1 (1) {assignClock.y} * 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: ............ 1 (algorithm:0, when:1, 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 3.935e-05/0.005641, allocations: 23.31 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.