Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.ClockedWithDiscretizedContinuousController,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.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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 110.7 kB / 17.75 MB, free: 5.301 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.00117/0.00117, allocations: 187 kB / 18.69 MB, free: 4.375 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.297/1.297, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.378e-05, allocations: 2.281 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003782/0.003814, allocations: 2.042 MB / 354 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.004989, allocations: 0.4986 MB / 354.5 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.005194, allocations: 4 kB / 354.5 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.005341, allocations: 15.8 kB / 354.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.005457, allocations: 31.72 kB / 354.5 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.005852, allocations: 59.88 kB / 354.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.006133, allocations: 147.5 kB / 354.7 MB, free: 488 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.006325, allocations: 61.66 kB / 354.8 MB, free: 420 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.006447, allocations: 55.72 kB / 354.8 MB, free: 364 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.961e-05/0.006542, allocations: 59.69 kB / 354.9 MB, free: 304 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.006579, allocations: 12 kB / 354.9 MB, free: 292 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.006607, allocations: 12 kB / 354.9 MB, free: 280 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001592/0.00677, allocations: 197.6 kB / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 8.71e-05/0.006864, allocations: 130.2 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.006916, allocations: 23.94 kB / 355.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.775e-05/0.006979, allocations: 7.938 kB / 355.3 MB, free: 15.91 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.0007392/0.007723, allocations: 0.6662 MB / 355.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.228e-05/0.007812, allocations: 31.89 kB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002874/0.008106, allocations: 312.1 kB / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simplify1: time 4.876e-05/0.008161, allocations: 23.97 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of Alias: time 0.0009814/0.009148, allocations: 0.6833 MB / 357 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simplify2: time 2.675e-05/0.009185, allocations: 11.98 kB / 357 MB, free: 13.95 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001892/0.00938, allocations: 93.12 kB / 357.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of Events: time 0.0001232/0.009512, allocations: 55.88 kB / 357.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001132/0.009632, allocations: 92.36 kB / 357.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003915/0.01003, allocations: 316.8 kB / 357.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002099/0.01025, allocations: 204.3 kB / 357.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of Inline: time 0.000342/0.0106, allocations: 319.2 kB / 358 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Partitioning: time 3.99e-05/0.01065, allocations: 24.12 kB / 358.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of Cleanup: time 2.647e-05/0.01068, allocations: 15.98 kB / 358.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004904/0.01118, allocations: 398.6 kB / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Tearing: time 1.093e-05/0.0112, allocations: 0 / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Initialization: time 5.71e-07/0.0112, allocations: 0 / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Tearing: time 2.474e-06/0.01121, allocations: 0 / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Categorize: time 9.878e-06/0.01123, allocations: 4 kB / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Solve: time 0.000122/0.01135, allocations: 63.88 kB / 358.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003349/0.0117, allocations: 424.1 kB / 358.9 MB, free: 11.77 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 6.114e-05/0.01177, allocations: 32.03 kB / 359 MB, free: 11.74 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable sample2.clock.