Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 106.2 kB / 17.69 MB, free: 5.523 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.001132/0.001132, allocations: 192 kB / 18.63 MB, free: 4.594 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.258/1.258, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.545e-05/3.557e-05, allocations: 5.094 kB / 302 MB, free: 5.211 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003531/0.003586, allocations: 1.98 MB / 304 MB, free: 3.23 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.005511, allocations: 1.108 MB / 305.1 MB, free: 2.117 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.00566, allocations: 9.562 kB / 305.1 MB, free: 2.109 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006092/0.006276, allocations: 155.5 kB / 305.3 MB, free: 1.957 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.006602, allocations: 107.6 kB / 305.4 MB, free: 1.852 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006641/0.007276, allocations: 250.4 kB / 305.6 MB, free: 1.609 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.007574, allocations: 247.3 kB / 305.8 MB, free: 1.367 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.007733, allocations: 60.27 kB / 305.9 MB, free: 1.305 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.007858, allocations: 91.62 kB / 306 MB, free: 1.215 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.007992, allocations: 87.61 kB / 306.1 MB, free: 1.129 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.008025, allocations: 12 kB / 306.1 MB, free: 1.117 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.008164, allocations: 71.83 kB / 306.2 MB, free: 1.047 MB / 238.1 MB Notification: Performance of combineBinaries: time 0.0002415/0.008415, allocations: 296.4 kB / 306.5 MB, free: 0.7539 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001529/0.008578, allocations: 189.1 kB / 306.6 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.00864, allocations: 27.88 kB / 306.7 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd: time 5.412e-05/0.008703, allocations: 7.938 kB / 306.7 MB, free: 0.5312 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: 27 (27) * Number of variables: 27 (27) Notification: Performance of Bindings: time 0.0009863/0.0097, allocations: 0.7926 MB / 307.5 MB, free: 15.63 MB / 254.1 MB Notification: Performance of FunctionAlias: time 5.932e-05/0.009766, allocations: 19.92 kB / 307.5 MB, free: 15.61 MB / 254.1 MB Notification: Performance of Early Inline: time 0.0002883/0.01006, allocations: 320.2 kB / 307.8 MB, free: 15.27 MB / 254.1 MB Notification: Performance of simplify1: time 2.982e-05/0.0101, allocations: 23.95 kB / 307.8 MB, free: 15.25 MB / 254.1 MB Notification: Performance of Alias: time 0.0006236/0.01073, allocations: 476.2 kB / 308.3 MB, free: 14.7 MB / 254.1 MB Notification: Performance of simplify2: time 1.438e-05/0.01075, allocations: 11.97 kB / 308.3 MB, free: 14.69 MB / 254.1 MB Notification: Performance of Events: time 0.0001224/0.01088, allocations: 58.47 kB / 308.4 MB, free: 14.64 MB / 254.1 MB Notification: Performance of Detect States: time 0.0002739/0.01116, allocations: 215.2 kB / 308.6 MB, free: 14.41 MB / 254.1 MB Notification: Performance of Partitioning: time 0.0001735/0.01135, allocations: 152.9 kB / 308.7 MB, free: 14.24 MB / 254.1 MB Notification: Performance of Causalize: time 0.0007716/0.01212, allocations: 0.7104 MB / 309.4 MB, free: 13.51 MB / 254.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002715/0.01241, allocations: 312.5 kB / 309.7 MB, free: 13.18 MB / 254.1 MB Notification: Performance of Inline: time 0.0006936/0.01311, allocations: 0.6054 MB / 310.3 MB, free: 12.54 MB / 254.1 MB Notification: Performance of Partitioning: time 5.432e-05/0.01317, allocations: 62.33 kB / 310.4 MB, free: 12.48 MB / 254.1 MB Notification: Performance of Cleanup: time 3.302e-05/0.01321, allocations: 23.97 kB / 310.4 MB, free: 12.45 MB / 254.1 MB Notification: Performance of Causalize: time 0.001878/0.01509, allocations: 1.977 MB / 312.4 MB, free: 10.49 MB / 254.1 MB Notification: Performance of Tearing: time 8.255e-06/0.01511, allocations: 3.984 kB / 312.4 MB, free: 10.49 MB / 254.1 MB Notification: Performance of Initialization: time 8.91e-07/0.01512, allocations: 0 / 312.4 MB, free: 10.49 MB / 254.1 MB Notification: Performance of Tearing: time 3.858e-06/0.01513, allocations: 4 kB / 312.4 MB, free: 10.48 MB / 254.1 MB Notification: Performance of Categorize: time 1.122e-05/0.01515, allocations: 3.984 kB / 312.4 MB, free: 10.48 MB / 254.1 MB Notification: Performance of Solve: time 0.0001689/0.01532, allocations: 125.9 kB / 312.5 MB, free: 10.36 MB / 254.1 MB Notification: Performance of Jacobian: time 3.116e-06/0.01533, allocations: 0 / 312.5 MB, free: 10.36 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: .................... 12 (12) {table1.combiTimeTable.nextTimeEvent, table1.combiTimeTable.nextTimeEventScaled, upSample2.b_super, upSample2.y, upSample2.u_super, upSample2.dummy, upSample2.b, upSample1.u_super, upSample1.b_super, upSample1.y, upSample1.b, upSample1.dummy} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {sample1.u, upSample1.u, and1.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: ........... 13 (scalar:13, array:0, record:0) * Number of multi strong components: ............ 12 (algorithm:0, when:12, 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: ........... 44 (scalar:42, 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.0001056/0.0155, allocations: 42.92 kB / 312.6 MB, free: 10.33 MB / 254.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.