Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.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.ClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 103.9 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001404/0.001404, allocations: 214.2 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.312e-05, allocations: 6.219 kB / 359.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController): time 0.003042/0.003084, allocations: 2.021 MB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009279/0.004025, allocations: 0.5648 MB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.21e-05/0.004127, allocations: 0 / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.004239, allocations: 19.8 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.004372, allocations: 27.73 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.004593, allocations: 55.88 kB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.00479, allocations: 143.5 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.004943, allocations: 61.36 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.005023, allocations: 51.73 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.005108, allocations: 63.69 kB / 362.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.005144, allocations: 12 kB / 362.3 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.012e-05/0.005169, allocations: 8 kB / 362.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001383/0.005312, allocations: 193.6 kB / 362.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.241e-05/0.005381, allocations: 130.1 kB / 362.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.005416, allocations: 23.94 kB / 362.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.92e-05/0.005451, allocations: 11.88 kB / 362.7 MB, free: 9.586 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: 30 (30) * Number of variables: 30 (30) Notification: Performance of Bindings: time 0.0006409/0.006097, allocations: 0.6587 MB / 363.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.307e-05/0.006158, allocations: 27.92 kB / 363.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002915/0.006457, allocations: 316.1 kB / 363.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simplify1: time 3.527e-05/0.006499, allocations: 23.97 kB / 363.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of Alias: time 0.0008345/0.007339, allocations: 0.6794 MB / 364.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of simplify2: time 1.537e-05/0.007365, allocations: 11.98 kB / 364.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of Events: time 0.0001047/0.007476, allocations: 55.88 kB / 364.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001702/0.007653, allocations: 119.5 kB / 364.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001086/0.00777, allocations: 100.3 kB / 364.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003857/0.008161, allocations: 348.8 kB / 365 MB, free: 6.953 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001803/0.00835, allocations: 232.2 kB / 365.2 MB, free: 6.699 MB / 302.1 MB Notification: Performance of Inline: time 0.0003207/0.008677, allocations: 341.3 kB / 365.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of Partitioning: time 2.252e-05/0.008707, allocations: 20.12 kB / 365.6 MB, free: 6.305 MB / 302.1 MB Notification: Performance of Cleanup: time 2.33e-05/0.008736, allocations: 19.97 kB / 365.6 MB, free: 6.285 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007543/0.009495, allocations: 0.6942 MB / 366.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of Tearing: time 9.258e-06/0.009515, allocations: 4 kB / 366.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of Initialization: time 2.285e-06/0.009522, allocations: 4.562 kB / 366.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of Tearing: time 1.733e-06/0.009529, allocations: 0 / 366.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of Categorize: time 8.126e-06/0.009541, allocations: 0 / 366.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of Solve: time 9.961e-05/0.009644, allocations: 63.83 kB / 366.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001506/0.009801, allocations: 202.1 kB / 366.6 MB, free: 5.285 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 3.872e-05/0.009847, allocations: 26.92 kB / 366.6 MB, free: 5.266 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable sample2.clock.