Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001226/0.001226, allocations: 109.9 kB / 18.46 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.00133/0.00133, allocations: 210.8 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.35/1.35, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/2.957e-05, allocations: 2.281 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003201/0.003239, allocations: 2.064 MB / 361.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009553/0.004211, allocations: 0.5376 MB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.004332, allocations: 8 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.004461, allocations: 15.8 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.004541, allocations: 23.73 kB / 362 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.00485, allocations: 59.86 kB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.005067, allocations: 143.5 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.005241, allocations: 53.73 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.005334, allocations: 55.83 kB / 362.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.098e-05/0.005421, allocations: 59.66 kB / 362.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.005454, allocations: 12 kB / 362.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.074e-05/0.00548, allocations: 12 kB / 362.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001571/0.005641, allocations: 201.6 kB / 362.5 MB, free: 9.742 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.014e-05/0.005717, allocations: 134 kB / 362.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.005753, allocations: 19.94 kB / 362.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.497e-05/0.005793, allocations: 7.938 kB / 362.7 MB, free: 9.582 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.000638/0.006436, allocations: 0.6625 MB / 363.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.999e-05/0.006512, allocations: 39.91 kB / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002612/0.00678, allocations: 296.2 kB / 363.7 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simplify1: time 3.362e-05/0.006823, allocations: 31.97 kB / 363.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of Alias: time 0.0008974/0.007725, allocations: 0.6792 MB / 364.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simplify2: time 1.689e-05/0.007753, allocations: 11.98 kB / 364.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of Events: time 0.0001076/0.007867, allocations: 60.95 kB / 364.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001729/0.008047, allocations: 97.25 kB / 364.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001148/0.00817, allocations: 99.16 kB / 364.7 MB, free: 7.328 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003469/0.008524, allocations: 316.8 kB / 365 MB, free: 6.996 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001832/0.008716, allocations: 208.2 kB / 365.2 MB, free: 6.766 MB / 302.1 MB Notification: Performance of Inline: time 0.0002842/0.009007, allocations: 316.2 kB / 365.5 MB, free: 6.422 MB / 302.1 MB Notification: Performance of Partitioning: time 2.431e-05/0.009039, allocations: 20.12 kB / 365.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of Cleanup: time 2.19e-05/0.009066, allocations: 15.98 kB / 365.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004521/0.009523, allocations: 412.8 kB / 365.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of Tearing: time 6.883e-06/0.00954, allocations: 4 kB / 365.9 MB, free: 5.969 MB / 302.1 MB Notification: Performance of Initialization: time 2.91e-07/0.009544, allocations: 0 / 365.9 MB, free: 5.969 MB / 302.1 MB Notification: Performance of Tearing: time 1.082e-06/0.00955, allocations: 0 / 365.9 MB, free: 5.969 MB / 302.1 MB Notification: Performance of Categorize: time 7.855e-06/0.009562, allocations: 0 / 365.9 MB, free: 5.969 MB / 302.1 MB Notification: Performance of Solve: time 0.0001075/0.009674, allocations: 63.89 kB / 366 MB, free: 5.906 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0002681/0.009949, allocations: 424.2 kB / 366.4 MB, free: 5.418 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: ............... 2 * 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: ............................. 3 (3) {load.w, load.phi, PI.x} * Number of discrete states: .................... 0 (0) {} * 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: ........... 16 (scalar:16, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 19 (scalar:19, 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.229e-05/0.009998, allocations: 33.17 kB / 366.4 MB, free: 5.395 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable sample2.clock.