Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009919/0.0009919, allocations: 112.5 kB / 17.14 MB, free: 5.918 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.0009586/0.0009587, allocations: 199.1 kB / 18.08 MB, free: 4.996 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.511/1.511, 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.07307/0.07307, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.582e-05, allocations: 5.672 kB / 394.8 MB, free: 45.42 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample): time 0.002919/0.002953, allocations: 1.915 MB / 396.7 MB, free: 44.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.004436, allocations: 1.003 MB / 397.7 MB, free: 43.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.004565, allocations: 8.031 kB / 397.7 MB, free: 43.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005939/0.005165, allocations: 147.4 kB / 397.8 MB, free: 43.36 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.0003088/0.005483, allocations: 117.9 kB / 397.9 MB, free: 43.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.005943, allocations: 182.4 kB / 398.1 MB, free: 43.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.006229, allocations: 214.8 kB / 398.3 MB, free: 43.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.006366, allocations: 30.23 kB / 398.4 MB, free: 43.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.006495, allocations: 84.59 kB / 398.4 MB, free: 43.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.006617, allocations: 81.19 kB / 398.5 MB, free: 43.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.006649, allocations: 8.781 kB / 398.5 MB, free: 43.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.006784, allocations: 57.31 kB / 398.6 MB, free: 43 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001666/0.006958, allocations: 252 kB / 398.8 MB, free: 42.83 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.685e-05/0.00705, allocations: 160.3 kB / 399 MB, free: 42.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.007098, allocations: 24.88 kB / 399 MB, free: 42.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.284e-05/0.007136, allocations: 11.34 kB / 399 MB, free: 42.7 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: 16 (16) * Number of variables: 16 (16) Notification: Performance of Bindings: time 0.0006487/0.00779, allocations: 0.6791 MB / 399.7 MB, free: 42.12 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.301e-05/0.007829, allocations: 17 kB / 399.7 MB, free: 42.11 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001942/0.008029, allocations: 213.8 kB / 399.9 MB, free: 41.95 MB / 318.1 MB Notification: Performance of simplify1: time 2.862e-05/0.008065, allocations: 11.67 kB / 399.9 MB, free: 41.94 MB / 318.1 MB Notification: Performance of Alias: time 0.000448/0.008518, allocations: 357.5 kB / 400.3 MB, free: 41.65 MB / 318.1 MB Notification: Performance of simplify2: time 1.572e-05/0.008543, allocations: 21.89 kB / 400.3 MB, free: 41.63 MB / 318.1 MB Notification: Performance of Events: time 0.0001039/0.008652, allocations: 48.58 kB / 400.4 MB, free: 41.61 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001671/0.008826, allocations: 114.4 kB / 400.5 MB, free: 41.52 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000118/0.008952, allocations: 96.42 kB / 400.6 MB, free: 41.44 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004871/0.009445, allocations: 411.5 kB / 401 MB, free: 41.23 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.000192/0.009645, allocations: 198 kB / 401.2 MB, free: 41.09 MB / 318.1 MB Notification: Performance of Inline: time 0.000546/0.0102, allocations: 453 kB / 401.6 MB, free: 40.79 MB / 318.1 MB Notification: Performance of Partitioning: time 3.393e-05/0.01024, allocations: 28.05 kB / 401.6 MB, free: 40.77 MB / 318.1 MB Notification: Performance of Cleanup: time 2.767e-05/0.01028, allocations: 19.64 kB / 401.6 MB, free: 40.75 MB / 318.1 MB Notification: Performance of Causalize: time 0.000873/0.01115, allocations: 0.8515 MB / 402.5 MB, free: 40.32 MB / 318.1 MB Notification: Performance of Tearing: time 6.622e-06/0.01117, allocations: 0 / 402.5 MB, free: 40.32 MB / 318.1 MB Notification: Performance of Initialization: time 3.21e-07/0.01118, allocations: 0 / 402.5 MB, free: 40.32 MB / 318.1 MB Notification: Performance of Tearing: time 1.302e-06/0.01118, allocations: 1.062 kB / 402.5 MB, free: 40.32 MB / 318.1 MB Notification: Performance of Categorize: time 1.094e-05/0.0112, allocations: 1.688 kB / 402.5 MB, free: 40.32 MB / 318.1 MB Notification: Performance of Solve: time 0.0001114/0.01132, allocations: 72.22 kB / 402.6 MB, free: 40.28 MB / 318.1 MB Notification: Performance of Jacobian: time 3.927e-06/0.01133, allocations: 5.266 kB / 402.6 MB, free: 40.28 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: ................. 9 (9) {sample.u, shiftSample1.u, backSample1.u, backSample1.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 7.405e-05/0.0114, allocations: 24.55 kB / 402.6 MB, free: 40.26 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.