Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample.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.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample_angle.y|rotationalClock.angle|rotationalClock.direction|rotationalClock.direction_changed",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 117.1 kB / 17.75 MB, free: 5.172 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.00135/0.00135, allocations: 183.1 kB / 18.68 MB, free: 4.25 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.287/1.287, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.715e-05, allocations: 2.281 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample): time 0.003175/0.003211, allocations: 1.971 MB / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.0046, allocations: 0.6349 MB / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.004843, allocations: 7.938 kB / 354.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.815e-05/0.004948, allocations: 15.8 kB / 354.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.005106, allocations: 19.69 kB / 354.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.005744, allocations: 115.8 kB / 354.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.006118, allocations: 227.9 kB / 354.9 MB, free: 288 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.006395, allocations: 108.5 kB / 355 MB, free: 180 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.006632, allocations: 87.69 kB / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.006806, allocations: 91.59 kB / 355.2 MB, free: 0 / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.473e-05/0.006889, allocations: 20.05 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.971e-05/0.006936, allocations: 20 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002609/0.007202, allocations: 280.7 kB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001159/0.007326, allocations: 173.3 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.007411, allocations: 31.88 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.238e-05/0.00749, allocations: 11.88 kB / 355.7 MB, free: 15.47 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.0009346/0.00843, allocations: 0.9082 MB / 356.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001311/0.008569, allocations: 76.62 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004792/0.009055, allocations: 0.5151 MB / 357.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simplify1: time 4.998e-05/0.009114, allocations: 39.92 kB / 357.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of Alias: time 0.001096/0.01022, allocations: 0.9708 MB / 358.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simplify2: time 4.383e-05/0.01027, allocations: 23.97 kB / 358.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of Events: time 0.0002481/0.01052, allocations: 172.1 kB / 358.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002403/0.01077, allocations: 188 kB / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002097/0.01099, allocations: 176.2 kB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Causalize: time 0.000846/0.01185, allocations: 0.7619 MB / 359.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004328/0.01229, allocations: 486.2 kB / 360 MB, free: 10.85 MB / 302.1 MB Notification: Performance of Inline: time 0.0006252/0.01292, allocations: 0.6342 MB / 360.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Partitioning: time 4.055e-05/0.01298, allocations: 42.36 kB / 360.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of Cleanup: time 4.988e-05/0.01303, allocations: 35.91 kB / 360.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of Causalize: time 0.001022/0.01406, allocations: 0.8625 MB / 361.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of Tearing: time 8.155e-06/0.01408, allocations: 4 kB / 361.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of Initialization: time 6.71e-07/0.01409, allocations: 0 / 361.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of Tearing: time 2.685e-06/0.0141, allocations: 0 / 361.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of Categorize: time 9.688e-06/0.01411, allocations: 0 / 361.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of Solve: time 0.0002193/0.01433, allocations: 133.7 kB / 361.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of Jacobian: time 3.236e-06/0.01435, allocations: 0 / 361.7 MB, free: 9.082 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: ........... 31 (scalar:31, 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: ........... 33 (scalar:33, 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.0001066/0.01446, allocations: 26.08 kB / 361.7 MB, free: 9.059 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable rotationalClock.y.