Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.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.SimpleControlledDrive.ClockedWithDiscreteTextbookController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 111.2 kB / 18.47 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001255, allocations: 209 kB / 19.42 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.399e-05, allocations: 2.281 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController): time 0.003911/0.003944, allocations: 2.013 MB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.005168, allocations: 0.5376 MB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.005302, allocations: 4 kB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.005472, allocations: 15.8 kB / 361.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.005559, allocations: 27.72 kB / 361.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.005966, allocations: 55.88 kB / 362 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.006236, allocations: 139.5 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.006458, allocations: 57.19 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.079e-05/0.006558, allocations: 55.78 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.459e-05/0.006658, allocations: 47.78 kB / 362.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.006696, allocations: 8 kB / 362.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.44e-05/0.006725, allocations: 15.94 kB / 362.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002132/0.006943, allocations: 201.7 kB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001047/0.007053, allocations: 122.1 kB / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.007102, allocations: 19.94 kB / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.958e-05/0.007147, allocations: 4 kB / 362.6 MB, free: 9.668 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: 29 (29) * Number of variables: 29 (29) Notification: Performance of Bindings: time 0.0008743/0.008026, allocations: 0.6432 MB / 363.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.555e-05/0.008119, allocations: 35.91 kB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003663/0.008491, allocations: 316.2 kB / 363.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simplify1: time 3.3e-05/0.008532, allocations: 11.98 kB / 363.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of Alias: time 0.001017/0.009555, allocations: 0.6716 MB / 364.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simplify2: time 1.517e-05/0.009581, allocations: 11.98 kB / 364.3 MB, free: 7.734 MB / 302.1 MB Notification: Performance of Events: time 0.000129/0.009715, allocations: 47.89 kB / 364.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004183/0.01014, allocations: 126.1 kB / 364.5 MB, free: 7.551 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001243/0.01027, allocations: 104.3 kB / 364.6 MB, free: 7.426 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003677/0.01065, allocations: 312.6 kB / 364.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.000188/0.01084, allocations: 220.2 kB / 365.1 MB, free: 6.855 MB / 302.1 MB Notification: Performance of Inline: time 0.0003198/0.01117, allocations: 331.5 kB / 365.4 MB, free: 6.5 MB / 302.1 MB Notification: Performance of Partitioning: time 2.711e-05/0.01121, allocations: 24.12 kB / 365.4 MB, free: 6.469 MB / 302.1 MB Notification: Performance of Cleanup: time 1.881e-05/0.01123, allocations: 15.98 kB / 365.5 MB, free: 6.453 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007512/0.01198, allocations: 0.6532 MB / 366.1 MB, free: 5.789 MB / 302.1 MB Notification: Performance of Tearing: time 1.005e-05/0.012, allocations: 0 / 366.1 MB, free: 5.789 MB / 302.1 MB Notification: Performance of Initialization: time 3.71e-07/0.01201, allocations: 4 kB / 366.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of Tearing: time 2.695e-06/0.01202, allocations: 7.984 kB / 366.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of Categorize: time 1.139e-05/0.01204, allocations: 7.922 kB / 366.1 MB, free: 5.77 MB / 302.1 MB Notification: Performance of Solve: time 9.317e-05/0.01214, allocations: 43.97 kB / 366.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001668/0.01231, allocations: 210 kB / 366.4 MB, free: 5.484 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: ........... 14 (scalar:14, 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: ........... 20 (scalar:20, 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 3.379e-05/0.01235, allocations: 17.58 kB / 366.4 MB, free: 5.477 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable sample2.clock.