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.001267/0.001267, allocations: 114.5 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 214.2 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.286e-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.003161/0.003192, allocations: 1.993 MB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.004615, allocations: 0.705 MB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.004759, allocations: 4 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.421e-05/0.004819, allocations: 19.73 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.00495, allocations: 19.73 kB / 362.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.00547, allocations: 123.7 kB / 362.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.005769, allocations: 223.9 kB / 362.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.006012, allocations: 112.5 kB / 362.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.006249, allocations: 91.67 kB / 362.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.006382, allocations: 91.55 kB / 362.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.006424, allocations: 16 kB / 362.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-05/0.006495, allocations: 24 kB / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000232/0.006732, allocations: 284.6 kB / 363 MB, free: 9.293 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.136e-05/0.006832, allocations: 173.3 kB / 363.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.006897, allocations: 27.94 kB / 363.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.599e-05/0.006959, allocations: 11.88 kB / 363.2 MB, free: 9.082 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.001306/0.008271, allocations: 0.9277 MB / 364.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001205/0.008399, allocations: 56.77 kB / 364.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006487/0.009054, allocations: 0.6125 MB / 364.8 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simplify1: time 4.887e-05/0.009116, allocations: 35.95 kB / 364.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of Alias: time 0.001357/0.01048, allocations: 0.9629 MB / 365.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simplify2: time 3.297e-05/0.01052, allocations: 23.95 kB / 365.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of Events: time 0.0002919/0.01082, allocations: 170.1 kB / 366 MB, free: 6.039 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003421/0.01118, allocations: 189.1 kB / 366.2 MB, free: 5.836 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002351/0.01142, allocations: 180.2 kB / 366.4 MB, free: 5.652 MB / 302.1 MB Notification: Performance of Causalize: time 0.0008599/0.01229, allocations: 0.7374 MB / 367.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004081/0.01271, allocations: 482.2 kB / 367.6 MB, free: 4.41 MB / 302.1 MB Notification: Performance of Inline: time 0.0006957/0.01341, allocations: 0.7197 MB / 368.3 MB, free: 3.656 MB / 302.1 MB Notification: Performance of Partitioning: time 3.923e-05/0.01346, allocations: 30.38 kB / 368.3 MB, free: 3.621 MB / 302.1 MB Notification: Performance of Cleanup: time 3.879e-05/0.0135, allocations: 39.89 kB / 368.3 MB, free: 3.582 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009661/0.01447, allocations: 0.8546 MB / 369.2 MB, free: 2.719 MB / 302.1 MB Notification: Performance of Tearing: time 8.436e-06/0.01449, allocations: 0 / 369.2 MB, free: 2.719 MB / 302.1 MB Notification: Performance of Initialization: time 3e-07/0.0145, allocations: 0 / 369.2 MB, free: 2.719 MB / 302.1 MB Notification: Performance of Tearing: time 1.833e-06/0.0145, allocations: 0 / 369.2 MB, free: 2.719 MB / 302.1 MB Notification: Performance of Categorize: time 9.968e-06/0.01452, allocations: 4 kB / 369.2 MB, free: 2.715 MB / 302.1 MB Notification: Performance of Solve: time 0.0001988/0.01472, allocations: 133.7 kB / 369.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of Jacobian: time 3.567e-06/0.01474, allocations: 4 kB / 369.3 MB, free: 2.566 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.0001182/0.01486, allocations: 34.56 kB / 369.4 MB, free: 2.543 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable rotationalClock.y.