Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 110.6 kB / 17.75 MB, free: 5.324 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.001134/0.001134, allocations: 187.1 kB / 18.68 MB, free: 4.41 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.231/1.231, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.047e-05, allocations: 2.281 kB / 351.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003073/0.003101, allocations: 1.899 MB / 353.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.004947, allocations: 1.149 MB / 355 MB, free: 248 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.005129, allocations: 8 kB / 355 MB, free: 240 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.005467, allocations: 67.67 kB / 355 MB, free: 172 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.005799, allocations: 87.59 kB / 355.1 MB, free: 84 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.006539, allocations: 264.6 kB / 355.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.006793, allocations: 199.4 kB / 355.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.006919, allocations: 37.53 kB / 355.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.00703, allocations: 79.69 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.007138, allocations: 67.69 kB / 355.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.007172, allocations: 12 kB / 355.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.007317, allocations: 71.89 kB / 355.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001673/0.007492, allocations: 225.2 kB / 356.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.981e-05/0.007589, allocations: 153.7 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.00763, allocations: 19.94 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.395e-05/0.007681, allocations: 11.88 kB / 356.2 MB, free: 14.96 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.0006768/0.008364, allocations: 0.6847 MB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.226e-05/0.008453, allocations: 45.81 kB / 357 MB, free: 14.13 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002088/0.00867, allocations: 236.2 kB / 357.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simplify1: time 2.889e-05/0.008705, allocations: 15.97 kB / 357.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of Alias: time 0.0005206/0.009232, allocations: 427.2 kB / 357.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simplify2: time 1.767e-05/0.009259, allocations: 15.97 kB / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of Events: time 9.312e-05/0.009358, allocations: 59.88 kB / 357.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001594/0.009525, allocations: 111.5 kB / 357.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001284/0.009661, allocations: 128.6 kB / 357.9 MB, free: 13 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004454/0.01011, allocations: 428.2 kB / 358.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001912/0.01031, allocations: 233 kB / 358.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of Inline: time 0.0004749/0.0108, allocations: 453.2 kB / 359 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Partitioning: time 3.615e-05/0.01084, allocations: 40.05 kB / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Cleanup: time 3.316e-05/0.01088, allocations: 19.92 kB / 359.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009189/0.0118, allocations: 0.8205 MB / 359.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Tearing: time 5.54e-06/0.01182, allocations: 4 kB / 359.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Initialization: time 1.683e-06/0.01183, allocations: 0 / 359.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Tearing: time 2.365e-06/0.01184, allocations: 3.938 kB / 359.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of Categorize: time 1.158e-05/0.01185, allocations: 3.984 kB / 359.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Solve: time 0.0001245/0.01198, allocations: 68.75 kB / 360 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Jacobian: time 4.769e-06/0.01199, allocations: 0 / 360 MB, free: 10.84 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: ......... 5 * 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, hold1.y, shiftSample1.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 9.288e-05/0.01209, allocations: 30.92 kB / 360 MB, free: 10.81 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.