Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 102.4 kB / 17.69 MB, free: 5.379 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: 193.2 kB / 18.63 MB, free: 4.461 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.29/1.29, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.361e-05, allocations: 2.281 kB / 302 MB, free: 5.203 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003334/0.003375, allocations: 1.868 MB / 303.9 MB, free: 3.34 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.005024, allocations: 1.044 MB / 304.9 MB, free: 2.289 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.005145, allocations: 5.031 kB / 304.9 MB, free: 2.285 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.00572, allocations: 156.1 kB / 305.1 MB, free: 2.133 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.006039, allocations: 115.5 kB / 305.2 MB, free: 2.02 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.006551, allocations: 197.9 kB / 305.4 MB, free: 1.828 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.006799, allocations: 203.5 kB / 305.6 MB, free: 1.629 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.006918, allocations: 29.48 kB / 305.6 MB, free: 1.598 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.888e-05/0.007023, allocations: 83.62 kB / 305.7 MB, free: 1.516 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.013e-05/0.00712, allocations: 59.7 kB / 305.8 MB, free: 1.457 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.007152, allocations: 12 kB / 305.8 MB, free: 1.445 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.007283, allocations: 67.89 kB / 305.8 MB, free: 1.379 MB / 238.1 MB Notification: Performance of combineBinaries: time 0.0001603/0.007451, allocations: 221.3 kB / 306.1 MB, free: 1.16 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 7.339e-05/0.007531, allocations: 149.8 kB / 306.2 MB, free: 1.012 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.007591, allocations: 19.94 kB / 306.2 MB, free: 0.9922 MB / 238.1 MB Notification: Performance of FrontEnd: time 3.096e-05/0.007628, allocations: 11.88 kB / 306.2 MB, free: 0.9805 MB / 238.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.0006408/0.008274, allocations: 0.6421 MB / 306.9 MB, free: 244 kB / 238.1 MB Notification: Performance of FunctionAlias: time 5.038e-05/0.008331, allocations: 27.86 kB / 306.9 MB, free: 216 kB / 238.1 MB Notification: Performance of Early Inline: time 0.0001674/0.008505, allocations: 188.3 kB / 307.1 MB, free: 0 / 238.1 MB Notification: Performance of simplify1: time 3.148e-05/0.008542, allocations: 7.984 kB / 307.1 MB, free: 15.99 MB / 254.1 MB Notification: Performance of Alias: time 0.0004191/0.008968, allocations: 338.8 kB / 307.4 MB, free: 15.59 MB / 254.1 MB Notification: Performance of simplify2: time 1.241e-05/0.008989, allocations: 11.98 kB / 307.4 MB, free: 15.58 MB / 254.1 MB Notification: Performance of Events: time 8.643e-05/0.009083, allocations: 51.84 kB / 307.5 MB, free: 15.53 MB / 254.1 MB Notification: Performance of Detect States: time 0.000146/0.009235, allocations: 109.7 kB / 307.6 MB, free: 15.41 MB / 254.1 MB Notification: Performance of Partitioning: time 0.0001135/0.009357, allocations: 99.58 kB / 307.7 MB, free: 15.29 MB / 254.1 MB Notification: Performance of Causalize: time 0.0004152/0.009778, allocations: 393 kB / 308.1 MB, free: 14.89 MB / 254.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001714/0.009959, allocations: 204.6 kB / 308.3 MB, free: 14.66 MB / 254.1 MB Notification: Performance of Inline: time 0.00044/0.01041, allocations: 430.8 kB / 308.7 MB, free: 14.21 MB / 254.1 MB Notification: Performance of Partitioning: time 2.966e-05/0.01044, allocations: 28.11 kB / 308.7 MB, free: 14.17 MB / 254.1 MB Notification: Performance of Cleanup: time 2.213e-05/0.01047, allocations: 15.92 kB / 308.7 MB, free: 14.16 MB / 254.1 MB Notification: Performance of Causalize: time 0.0008309/0.01131, allocations: 0.8706 MB / 309.6 MB, free: 13.29 MB / 254.1 MB Notification: Performance of Tearing: time 5.801e-06/0.01133, allocations: 0 / 309.6 MB, free: 13.29 MB / 254.1 MB Notification: Performance of Initialization: time 3.01e-07/0.01133, allocations: 0 / 309.6 MB, free: 13.29 MB / 254.1 MB Notification: Performance of Tearing: time 2.535e-06/0.01134, allocations: 3.938 kB / 309.6 MB, free: 13.28 MB / 254.1 MB Notification: Performance of Categorize: time 1.019e-05/0.01135, allocations: 4 kB / 309.6 MB, free: 13.28 MB / 254.1 MB Notification: Performance of Solve: time 0.0001043/0.01146, allocations: 55.95 kB / 309.7 MB, free: 13.22 MB / 254.1 MB Notification: Performance of Jacobian: time 3.156e-06/0.01147, allocations: 0 / 309.7 MB, free: 13.22 MB / 254.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, subSample1.u, subSample1.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: ........... 23 (scalar:21, 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.556e-05/0.01157, allocations: 34.44 kB / 309.7 MB, free: 13.19 MB / 254.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.