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.001006/0.001006, allocations: 102.2 kB / 17.69 MB, free: 5.52 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.001023/0.001023, allocations: 192 kB / 18.63 MB, free: 4.586 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.219/1.219, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.553e-05, allocations: 10.16 kB / 302 MB, free: 5.219 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.002932/0.002973, allocations: 2.051 MB / 304 MB, free: 3.176 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.003742, allocations: 0.5069 MB / 304.6 MB, free: 2.668 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.003841, allocations: 4 kB / 304.6 MB, free: 2.664 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 9.923e-05/0.003947, allocations: 15.8 kB / 304.6 MB, free: 2.648 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.004014, allocations: 27.72 kB / 304.6 MB, free: 2.621 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.00429, allocations: 59.88 kB / 304.7 MB, free: 2.562 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.004475, allocations: 143.5 kB / 304.8 MB, free: 2.422 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.004623, allocations: 57.8 kB / 304.9 MB, free: 2.355 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.48e-05/0.004694, allocations: 59.7 kB / 304.9 MB, free: 2.297 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.536e-05/0.004766, allocations: 55.72 kB / 305 MB, free: 2.242 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.004793, allocations: 11.94 kB / 305 MB, free: 2.23 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.312e-05/0.004821, allocations: 12 kB / 305 MB, free: 2.219 MB / 238.1 MB Notification: Performance of combineBinaries: time 0.0001349/0.004961, allocations: 197.6 kB / 305.2 MB, free: 2.023 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 6.306e-05/0.00503, allocations: 138 kB / 305.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.005061, allocations: 23.94 kB / 305.3 MB, free: 1.863 MB / 238.1 MB Notification: Performance of FrontEnd: time 3.049e-05/0.005095, allocations: 11.88 kB / 305.4 MB, free: 1.852 MB / 238.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.0005667/0.005666, allocations: 0.6663 MB / 306 MB, free: 1.082 MB / 238.1 MB Notification: Performance of FunctionAlias: time 5.165e-05/0.005724, allocations: 27.97 kB / 306.1 MB, free: 1.055 MB / 238.1 MB Notification: Performance of Early Inline: time 0.000236/0.005967, allocations: 300.2 kB / 306.3 MB, free: 0.7344 MB / 238.1 MB Notification: Performance of simplify1: time 3.096e-05/0.006005, allocations: 23.97 kB / 306.4 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of Alias: time 0.0006946/0.006705, allocations: 0.6176 MB / 307 MB, free: 15.97 MB / 254.1 MB Notification: Performance of simplify2: time 1.372e-05/0.006731, allocations: 11.94 kB / 307 MB, free: 15.96 MB / 254.1 MB Notification: Performance of Events: time 9.461e-05/0.006836, allocations: 53.02 kB / 307 MB, free: 15.91 MB / 254.1 MB Notification: Performance of Detect States: time 0.0002336/0.007077, allocations: 96.8 kB / 307.1 MB, free: 15.8 MB / 254.1 MB Notification: Performance of Partitioning: time 0.0001065/0.007192, allocations: 96.36 kB / 307.2 MB, free: 15.68 MB / 254.1 MB Notification: Performance of Causalize: time 0.0003765/0.007575, allocations: 425 kB / 307.7 MB, free: 15.25 MB / 254.1 MB Notification: Performance of After Index Reduction Inline: time 0.000163/0.007748, allocations: 208.3 kB / 307.9 MB, free: 15.02 MB / 254.1 MB Notification: Performance of Inline: time 0.0002682/0.008023, allocations: 320.2 kB / 308.2 MB, free: 14.67 MB / 254.1 MB Notification: Performance of Partitioning: time 2.188e-05/0.008054, allocations: 24.12 kB / 308.2 MB, free: 14.64 MB / 254.1 MB Notification: Performance of Cleanup: time 1.525e-05/0.008074, allocations: 15.98 kB / 308.2 MB, free: 14.62 MB / 254.1 MB Notification: Performance of Causalize: time 0.0004129/0.008492, allocations: 471.8 kB / 308.7 MB, free: 14.16 MB / 254.1 MB Notification: Performance of Tearing: time 7.143e-06/0.008508, allocations: 1.031 kB / 308.7 MB, free: 14.16 MB / 254.1 MB Notification: Performance of Initialization: time 3.11e-07/0.008513, allocations: 3.938 kB / 308.7 MB, free: 14.15 MB / 254.1 MB Notification: Performance of Tearing: time 2.244e-06/0.00852, allocations: 4 kB / 308.7 MB, free: 14.15 MB / 254.1 MB Notification: Performance of Categorize: time 6.652e-06/0.008531, allocations: 0 / 308.7 MB, free: 14.15 MB / 254.1 MB Notification: Performance of Solve: time 0.0001099/0.008647, allocations: 63.94 kB / 308.7 MB, free: 14.09 MB / 254.1 MB Notification: Performance of Jacobian: time 0.0002284/0.008882, allocations: 424.2 kB / 309.2 MB, free: 13.6 MB / 254.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.285e-05/0.008933, allocations: 46.33 kB / 309.2 MB, free: 13.56 MB / 254.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable sample2.clock.