Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 111.8 kB / 17.75 MB, free: 5.336 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.001195/0.001195, allocations: 185.8 kB / 18.68 MB, free: 4.414 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.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/2.899e-05, allocations: 2.281 kB / 351.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003106/0.003143, allocations: 1.872 MB / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.004872, allocations: 1.056 MB / 354.9 MB, free: 356 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.004998, allocations: 7.938 kB / 354.9 MB, free: 348 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.005583, allocations: 143.5 kB / 355 MB, free: 204 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.005882, allocations: 119.5 kB / 355.1 MB, free: 84 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.006402, allocations: 202.6 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.006666, allocations: 195.5 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.0068, allocations: 37.53 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.006931, allocations: 83.56 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.007047, allocations: 63.7 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.007079, allocations: 12 kB / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.00721, allocations: 63.95 kB / 355.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001673/0.007385, allocations: 225.2 kB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.075e-05/0.007472, allocations: 153.7 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.007516, allocations: 19.94 kB / 356.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.837e-05/0.00756, allocations: 7.938 kB / 356.2 MB, free: 15.04 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.0007208/0.008285, allocations: 0.6614 MB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.585e-05/0.008349, allocations: 25.16 kB / 356.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001849/0.00854, allocations: 188.3 kB / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simplify1: time 2.528e-05/0.008572, allocations: 11.98 kB / 357 MB, free: 14.03 MB / 302.1 MB Notification: Performance of Alias: time 0.0004832/0.009062, allocations: 366.5 kB / 357.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simplify2: time 1.095e-05/0.009084, allocations: 8 kB / 357.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of Events: time 9.874e-05/0.009189, allocations: 59.75 kB / 357.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001553/0.009351, allocations: 92.2 kB / 357.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001158/0.009475, allocations: 96.34 kB / 357.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003759/0.009858, allocations: 312.1 kB / 358 MB, free: 12.98 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001636/0.01003, allocations: 192.7 kB / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Inline: time 0.0004933/0.01053, allocations: 469.4 kB / 358.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Partitioning: time 3.341e-05/0.01057, allocations: 28.12 kB / 358.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Cleanup: time 2.03e-05/0.0106, allocations: 15.98 kB / 358.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007726/0.01138, allocations: 0.6584 MB / 359.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of Tearing: time 7.364e-06/0.0114, allocations: 0 / 359.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of Initialization: time 3.3e-07/0.0114, allocations: 0 / 359.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of Tearing: time 2.565e-06/0.01141, allocations: 3.984 kB / 359.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of Categorize: time 1.249e-05/0.01142, allocations: 11.94 kB / 359.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Solve: time 0.0001092/0.01154, allocations: 55.94 kB / 359.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of Jacobian: time 3.937e-06/0.01155, allocations: 0 / 359.4 MB, free: 11.49 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: ......... 3 * 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: ................. 8 (8) {sample1.u, shiftSample1.u, shiftSample1.y, $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: ........... 12 (scalar:12, 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: ........... 22 (scalar:20, 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.499e-05/0.01165, allocations: 30.47 kB / 359.4 MB, free: 11.47 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.