Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009564/0.0009568, allocations: 111.8 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009777/0.0009778, allocations: 206.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.325e-05, allocations: 5.094 kB / 359.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController): time 0.002504/0.002526, allocations: 2.044 MB / 361.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.003433, allocations: 0.6076 MB / 362 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.003551, allocations: 7.938 kB / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.733e-05/0.003654, allocations: 15.8 kB / 362 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.003802, allocations: 31.72 kB / 362 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.004052, allocations: 71.73 kB / 362.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.004243, allocations: 155.5 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.004369, allocations: 49.81 kB / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.522e-05/0.004441, allocations: 43.86 kB / 362.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.004519, allocations: 67.69 kB / 362.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.004548, allocations: 12 kB / 362.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.113e-05/0.004574, allocations: 8 kB / 362.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001414/0.004719, allocations: 217.4 kB / 362.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.024e-05/0.004785, allocations: 137.9 kB / 362.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.004819, allocations: 23.88 kB / 362.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.389e-05/0.004857, allocations: 4 kB / 362.8 MB, free: 9.516 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.0005959/0.005458, allocations: 0.6936 MB / 363.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.241e-05/0.005519, allocations: 31.97 kB / 363.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002543/0.005779, allocations: 324.1 kB / 363.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simplify1: time 2.908e-05/0.005813, allocations: 19.97 kB / 363.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of Alias: time 0.000791/0.006609, allocations: 0.7027 MB / 364.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simplify2: time 1.429e-05/0.006634, allocations: 8 kB / 364.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of Events: time 9.589e-05/0.006734, allocations: 64.92 kB / 364.6 MB, free: 7.426 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001445/0.006886, allocations: 112.1 kB / 364.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001114/0.007005, allocations: 108.3 kB / 364.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003436/0.007354, allocations: 344.4 kB / 365.2 MB, free: 6.812 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001728/0.007536, allocations: 228.2 kB / 365.4 MB, free: 6.562 MB / 302.1 MB Notification: Performance of Inline: time 0.0002926/0.007834, allocations: 344.4 kB / 365.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of Partitioning: time 2.654e-05/0.007868, allocations: 32.06 kB / 365.8 MB, free: 6.152 MB / 302.1 MB Notification: Performance of Cleanup: time 2e-05/0.007893, allocations: 15.98 kB / 365.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007235/0.008621, allocations: 0.6902 MB / 366.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of Tearing: time 5.621e-06/0.008635, allocations: 3.984 kB / 366.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of Initialization: time 6.31e-07/0.00864, allocations: 0 / 366.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of Tearing: time 1.352e-06/0.008647, allocations: 4 kB / 366.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of Categorize: time 9.117e-06/0.00866, allocations: 4 kB / 366.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of Solve: time 9.002e-05/0.008754, allocations: 47.89 kB / 366.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001256/0.008888, allocations: 218 kB / 366.7 MB, free: 5.137 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.042e-05/0.008926, allocations: 23.06 kB / 366.8 MB, free: 5.117 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.