Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample_angle.y|rotationalClock.angle|rotationalClock.direction|rotationalClock.direction_changed",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample_angle.y|rotationalClock.angle|rotationalClock.direction|rotationalClock.direction_changed",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 111.8 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 214.2 kB / 19.42 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.101e-05, allocations: 2.281 kB / 359.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample): time 0.003015/0.003045, allocations: 2.005 MB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.004367, allocations: 0.6933 MB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.004538, allocations: 7.938 kB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.496e-05/0.00461, allocations: 15.8 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.004785, allocations: 23.75 kB / 362.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.005301, allocations: 127.7 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.005609, allocations: 228 kB / 362.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.005824, allocations: 100.5 kB / 362.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.00607, allocations: 95.67 kB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.006212, allocations: 99.47 kB / 362.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.006261, allocations: 20 kB / 362.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.363e-05/0.00633, allocations: 20 kB / 362.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001955/0.006532, allocations: 288.6 kB / 363 MB, free: 9.277 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.523e-05/0.006625, allocations: 177.2 kB / 363.2 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.00669, allocations: 27.94 kB / 363.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.94e-05/0.006744, allocations: 11.88 kB / 363.2 MB, free: 9.062 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 (39) * Number of variables: 39 (39) Notification: Performance of Bindings: time 0.0009156/0.007665, allocations: 0.916 MB / 364.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001226/0.007795, allocations: 56.77 kB / 364.2 MB, free: 7.988 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0005467/0.008348, allocations: 0.6086 MB / 364.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simplify1: time 4.64e-05/0.008403, allocations: 39.94 kB / 364.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of Alias: time 0.001136/0.009545, allocations: 0.9628 MB / 365.8 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simplify2: time 4.063e-05/0.009596, allocations: 23.97 kB / 365.8 MB, free: 6.191 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002186/0.00982, allocations: 154.3 kB / 366 MB, free: 6.027 MB / 302.1 MB Notification: Performance of Events: time 0.0002445/0.01007, allocations: 167.4 kB / 366.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001933/0.01028, allocations: 164.3 kB / 366.3 MB, free: 5.699 MB / 302.1 MB Notification: Performance of Causalize: time 0.0008615/0.01114, allocations: 0.7568 MB / 367.1 MB, free: 4.934 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004013/0.01155, allocations: 474.3 kB / 367.5 MB, free: 4.441 MB / 302.1 MB Notification: Performance of Inline: time 0.0006643/0.01222, allocations: 0.7241 MB / 368.2 MB, free: 3.684 MB / 302.1 MB Notification: Performance of Partitioning: time 4.055e-05/0.01227, allocations: 30.38 kB / 368.3 MB, free: 3.645 MB / 302.1 MB Notification: Performance of Cleanup: time 4.806e-05/0.01233, allocations: 39.89 kB / 368.3 MB, free: 3.605 MB / 302.1 MB Notification: Performance of Causalize: time 0.001028/0.01336, allocations: 0.8391 MB / 369.2 MB, free: 2.758 MB / 302.1 MB Notification: Performance of Tearing: time 1.157e-05/0.01338, allocations: 0 / 369.2 MB, free: 2.758 MB / 302.1 MB Notification: Performance of Initialization: time 5.31e-07/0.01339, allocations: 3.938 kB / 369.2 MB, free: 2.754 MB / 302.1 MB Notification: Performance of Tearing: time 3.336e-06/0.0134, allocations: 0 / 369.2 MB, free: 2.754 MB / 302.1 MB Notification: Performance of Categorize: time 8.376e-06/0.01341, allocations: 0 / 369.2 MB, free: 2.754 MB / 302.1 MB Notification: Performance of Solve: time 0.0002199/0.01364, allocations: 137.7 kB / 369.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of Jacobian: time 3.357e-06/0.01365, allocations: 4 kB / 369.3 MB, free: 2.602 MB / 302.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: ......... 1 * 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) {trigger_interval_input.T_start, trigger_interval_input.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 17 (17) {rotationalClock.less.y, rotationalClock.changed.u, rotationalClock.changed.y, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 30 (scalar:30, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:2, if:1, 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: ........... 32 (scalar:32, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:1, when:0, if:1, 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.0001148/0.01377, allocations: 38.31 kB / 369.3 MB, free: 2.578 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable rotationalClock.y.