Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|backSample1.y|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|backSample1.y|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 109.1 kB / 17.14 MB, free: 6.031 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.001611/0.001612, allocations: 196.2 kB / 18.07 MB, free: 5.105 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.513/1.513, allocations: 205.1 MB / 224 MB, free: 12.21 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.06852/0.06852, allocations: 12.59 MB / 283.9 MB, free: 15.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.146e-05, allocations: 2.281 kB / 394.8 MB, free: 45.42 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.BackSample): time 0.003636/0.003681, allocations: 1.896 MB / 396.7 MB, free: 44.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.005771, allocations: 1.09 MB / 397.7 MB, free: 43.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.005919, allocations: 7.469 kB / 397.7 MB, free: 43.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.006295, allocations: 63.58 kB / 397.8 MB, free: 43.34 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.0003146/0.006619, allocations: 94.59 kB / 397.9 MB, free: 43.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006793/0.007308, allocations: 241.2 kB / 398.1 MB, free: 43.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.00761, allocations: 201.7 kB / 398.3 MB, free: 43.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.007761, allocations: 42.03 kB / 398.4 MB, free: 43.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.00791, allocations: 79.88 kB / 398.5 MB, free: 43.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.008073, allocations: 71.48 kB / 398.5 MB, free: 42.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.008115, allocations: 13.31 kB / 398.5 MB, free: 42.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.008309, allocations: 69.12 kB / 398.6 MB, free: 42.96 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001862/0.008504, allocations: 227.3 kB / 398.8 MB, free: 42.81 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.465e-05/0.008605, allocations: 161.4 kB / 399 MB, free: 42.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.008661, allocations: 32.22 kB / 399 MB, free: 42.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.66e-05/0.008702, allocations: 3.5 kB / 399 MB, free: 42.67 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.0007406/0.009449, allocations: 0.6877 MB / 399.7 MB, free: 42.09 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.911e-05/0.009535, allocations: 27.94 kB / 399.7 MB, free: 42.07 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002299/0.009771, allocations: 226.1 kB / 400 MB, free: 41.9 MB / 318.1 MB Notification: Performance of simplify1: time 4.242e-05/0.009821, allocations: 20.86 kB / 400 MB, free: 41.89 MB / 318.1 MB Notification: Performance of Alias: time 0.0004997/0.01033, allocations: 372.6 kB / 400.3 MB, free: 41.59 MB / 318.1 MB Notification: Performance of simplify2: time 2.105e-05/0.01036, allocations: 15.25 kB / 400.4 MB, free: 41.58 MB / 318.1 MB Notification: Performance of Events: time 0.0001073/0.01047, allocations: 59.17 kB / 400.4 MB, free: 41.54 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001853/0.01066, allocations: 106.2 kB / 400.5 MB, free: 41.46 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001348/0.01081, allocations: 120.4 kB / 400.6 MB, free: 41.36 MB / 318.1 MB Notification: Performance of Causalize: time 0.0005682/0.01138, allocations: 0.5033 MB / 401.1 MB, free: 41.1 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001999/0.01159, allocations: 218.2 kB / 401.4 MB, free: 40.95 MB / 318.1 MB Notification: Performance of Inline: time 0.0004979/0.01209, allocations: 449.7 kB / 401.8 MB, free: 40.65 MB / 318.1 MB Notification: Performance of Partitioning: time 3.745e-05/0.01214, allocations: 44.39 kB / 401.8 MB, free: 40.61 MB / 318.1 MB Notification: Performance of Cleanup: time 3.076e-05/0.01218, allocations: 24.55 kB / 401.9 MB, free: 40.6 MB / 318.1 MB Notification: Performance of Causalize: time 0.0009481/0.01313, allocations: 0.9183 MB / 402.8 MB, free: 40.14 MB / 318.1 MB Notification: Performance of Tearing: time 6.442e-06/0.01315, allocations: 3.938 kB / 402.8 MB, free: 40.14 MB / 318.1 MB Notification: Performance of Initialization: time 3.61e-07/0.01315, allocations: 0 / 402.8 MB, free: 40.14 MB / 318.1 MB Notification: Performance of Tearing: time 3.036e-06/0.01316, allocations: 1.219 kB / 402.8 MB, free: 40.14 MB / 318.1 MB Notification: Performance of Categorize: time 1.047e-05/0.01318, allocations: 9.281 kB / 402.8 MB, free: 40.13 MB / 318.1 MB Notification: Performance of Solve: time 0.0001192/0.0133, allocations: 65.86 kB / 402.9 MB, free: 40.1 MB / 318.1 MB Notification: Performance of Jacobian: time 4.659e-06/0.01331, allocations: 0 / 402.9 MB, free: 40.1 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: ......... 4 * 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) {sample.u, sample.y, shiftSample1.y, backSample1.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: ........... 15 (scalar:15, 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: ........... 25 (scalar:23, 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 0.000131/0.01345, allocations: 24.36 kB / 402.9 MB, free: 40.08 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.