Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 111.8 kB / 17.75 MB, free: 5.348 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.001267/0.001267, allocations: 185.8 kB / 18.68 MB, free: 4.426 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.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.323e-05, allocations: 2.281 kB / 351.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController): time 0.002814/0.002845, allocations: 2.012 MB / 353.9 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008599/0.003718, allocations: 0.5687 MB / 354.5 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.003837, allocations: 4 kB / 354.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.003957, allocations: 19.73 kB / 354.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.004135, allocations: 35.7 kB / 354.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.004417, allocations: 78.3 kB / 354.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.004624, allocations: 139.5 kB / 354.8 MB, free: 464 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.004782, allocations: 73.67 kB / 354.8 MB, free: 388 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.004857, allocations: 51.8 kB / 354.9 MB, free: 336 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.004936, allocations: 55.7 kB / 354.9 MB, free: 280 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.004964, allocations: 8 kB / 354.9 MB, free: 272 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.956e-05/0.004989, allocations: 12 kB / 355 MB, free: 260 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001477/0.005141, allocations: 217.4 kB / 355.2 MB, free: 40 kB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 8.639e-05/0.005234, allocations: 138.1 kB / 355.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.005269, allocations: 19.94 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.546e-05/0.00531, allocations: 15.88 kB / 355.3 MB, free: 15.86 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: 31 (31) * Number of variables: 31 (31) Notification: Performance of Bindings: time 0.0006823/0.005997, allocations: 0.6817 MB / 356 MB, free: 15.08 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.615e-05/0.006061, allocations: 27.92 kB / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002762/0.006343, allocations: 324.2 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simplify1: time 2.897e-05/0.006377, allocations: 23.97 kB / 356.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of Alias: time 0.0008712/0.007255, allocations: 0.7145 MB / 357.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simplify2: time 1.44e-05/0.00728, allocations: 7.984 kB / 357.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of Events: time 0.0001084/0.007394, allocations: 53 kB / 357.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001822/0.007584, allocations: 108.1 kB / 357.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001196/0.007711, allocations: 108.3 kB / 357.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003717/0.008089, allocations: 356.4 kB / 357.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001742/0.008274, allocations: 224.5 kB / 357.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of Inline: time 0.0003188/0.008599, allocations: 351.3 kB / 358.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of Partitioning: time 2.688e-05/0.008633, allocations: 20.12 kB / 358.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Cleanup: time 2.596e-05/0.00867, allocations: 27.89 kB / 358.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007652/0.009441, allocations: 0.6925 MB / 359 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Tearing: time 6.352e-06/0.009457, allocations: 0 / 359 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Initialization: time 3e-07/0.009462, allocations: 0 / 359 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Tearing: time 3.707e-06/0.00947, allocations: 3.938 kB / 359 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Categorize: time 1.103e-05/0.009485, allocations: 4.562 kB / 359 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Solve: time 9.423e-05/0.009584, allocations: 55.94 kB / 359.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001366/0.009728, allocations: 202 kB / 359.3 MB, free: 11.5 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: ............... 1 * Number of algebraic event partitions: ......... 2 * 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: ............................. 2 (2) {load.w, load.phi} * Number of discrete states: .................... 2 (2) {PI.y, PI.x} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 15 (scalar:15, 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: ........... 21 (scalar:21, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 4.176e-05/0.009776, allocations: 34.19 kB / 359.3 MB, free: 11.47 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.