Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.001236/0.001236, allocations: 103.1 kB / 17.13 MB, free: 6.055 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.001226/0.001226, allocations: 196.2 kB / 18.07 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06652/0.06652, allocations: 12.6 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.286e-05, allocations: 2.281 kB / 394.8 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002972/0.003003, allocations: 1.879 MB / 396.6 MB, free: 44.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.004491, allocations: 0.9823 MB / 397.6 MB, free: 43.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.004613, allocations: 1.812 kB / 397.6 MB, free: 43.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005733/0.005192, allocations: 155.7 kB / 397.8 MB, free: 43.39 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.005501, allocations: 119.6 kB / 397.9 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.005971, allocations: 168 kB / 398.1 MB, free: 43.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.006284, allocations: 200.4 kB / 398.3 MB, free: 43.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.006416, allocations: 32.7 kB / 398.3 MB, free: 43.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.006554, allocations: 78.98 kB / 398.4 MB, free: 43.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.00669, allocations: 70.42 kB / 398.4 MB, free: 43.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.006724, allocations: 8.688 kB / 398.4 MB, free: 43.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.006863, allocations: 58.22 kB / 398.5 MB, free: 43.07 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001776/0.007049, allocations: 237.1 kB / 398.7 MB, free: 42.9 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.644e-05/0.007142, allocations: 148.4 kB / 398.9 MB, free: 42.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.007188, allocations: 23.78 kB / 398.9 MB, free: 42.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.918e-05/0.007222, allocations: 3.656 kB / 398.9 MB, free: 42.78 MB / 318.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.0006896/0.007916, allocations: 0.6407 MB / 399.5 MB, free: 42.23 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.428e-05/0.007957, allocations: 16.44 kB / 399.6 MB, free: 42.22 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001934/0.008156, allocations: 195.6 kB / 399.7 MB, free: 42.07 MB / 318.1 MB Notification: Performance of simplify1: time 2.767e-05/0.008189, allocations: 14.66 kB / 399.8 MB, free: 42.06 MB / 318.1 MB Notification: Performance of Alias: time 0.0004692/0.008664, allocations: 327.5 kB / 400.1 MB, free: 41.79 MB / 318.1 MB Notification: Performance of simplify2: time 1.645e-05/0.00869, allocations: 13.36 kB / 400.1 MB, free: 41.78 MB / 318.1 MB Notification: Performance of Events: time 0.0001075/0.008803, allocations: 48.48 kB / 400.1 MB, free: 41.75 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001647/0.008975, allocations: 107.6 kB / 400.2 MB, free: 41.66 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001126/0.009095, allocations: 83.3 kB / 400.3 MB, free: 41.6 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004902/0.009592, allocations: 391.3 kB / 400.7 MB, free: 41.4 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.00018/0.009781, allocations: 194.5 kB / 400.9 MB, free: 41.25 MB / 318.1 MB Notification: Performance of Inline: time 0.0005386/0.01033, allocations: 450 kB / 401.3 MB, free: 40.96 MB / 318.1 MB Notification: Performance of Partitioning: time 2.938e-05/0.01037, allocations: 22.41 kB / 401.4 MB, free: 40.94 MB / 318.1 MB Notification: Performance of Cleanup: time 2.769e-05/0.0104, allocations: 23.59 kB / 401.4 MB, free: 40.92 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008975/0.0113, allocations: 0.8203 MB / 402.2 MB, free: 40.52 MB / 318.1 MB Notification: Performance of Tearing: time 6.672e-06/0.01132, allocations: 0 / 402.2 MB, free: 40.52 MB / 318.1 MB Notification: Performance of Initialization: time 1.212e-06/0.01133, allocations: 1.125 kB / 402.2 MB, free: 40.52 MB / 318.1 MB Notification: Performance of Tearing: time 2.334e-06/0.01133, allocations: 0 / 402.2 MB, free: 40.52 MB / 318.1 MB Notification: Performance of Categorize: time 1.053e-05/0.01135, allocations: 1.156 kB / 402.2 MB, free: 40.52 MB / 318.1 MB Notification: Performance of Solve: time 0.0001172/0.01147, allocations: 68.36 kB / 402.3 MB, free: 40.48 MB / 318.1 MB Notification: Performance of Jacobian: time 3.406e-06/0.01148, allocations: 0 / 402.3 MB, free: 40.48 MB / 318.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) {sample.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: ........... 11 (scalar:11, 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: ........... 21 (scalar:19, 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 7.609e-05/0.01156, allocations: 28.03 kB / 402.3 MB, free: 40.46 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.