Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 109.1 kB / 17.14 MB, free: 6.031 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.0009616/0.0009615, allocations: 196.2 kB / 18.07 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07003/0.07003, allocations: 12.59 MB / 283.9 MB, free: 15.4 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.256e-05, allocations: 2.281 kB / 394.7 MB, free: 45.46 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.003007/0.003037, allocations: 2.049 MB / 396.8 MB, free: 44.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008837/0.003933, allocations: 0.5491 MB / 397.3 MB, free: 43.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.004051, allocations: 10.41 kB / 397.4 MB, free: 43.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.004177, allocations: 20.78 kB / 397.4 MB, free: 43.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.626e-05/0.004249, allocations: 22.08 kB / 397.4 MB, free: 43.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.004537, allocations: 58.14 kB / 397.5 MB, free: 43.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.004733, allocations: 146.8 kB / 397.6 MB, free: 43.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.00491, allocations: 58.02 kB / 397.7 MB, free: 43.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.027e-05/0.005008, allocations: 47.55 kB / 397.7 MB, free: 43.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.651e-05/0.005111, allocations: 54.03 kB / 397.8 MB, free: 43.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.00515, allocations: 14.06 kB / 397.8 MB, free: 43.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.596e-05/0.005181, allocations: 10.59 kB / 397.8 MB, free: 43.43 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001693/0.005355, allocations: 213.5 kB / 398 MB, free: 43.28 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 7.018e-05/0.00543, allocations: 132.6 kB / 398.1 MB, free: 43.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.005466, allocations: 19.09 kB / 398.1 MB, free: 43.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.519e-05/0.005495, allocations: 2.938 kB / 398.1 MB, free: 43.18 MB / 318.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.0006718/0.006171, allocations: 0.6699 MB / 398.8 MB, free: 42.6 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.53e-05/0.006243, allocations: 36.03 kB / 398.8 MB, free: 42.58 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003206/0.006569, allocations: 307.4 kB / 399.1 MB, free: 42.36 MB / 318.1 MB Notification: Performance of simplify1: time 3.519e-05/0.006612, allocations: 28.42 kB / 399.2 MB, free: 42.34 MB / 318.1 MB Notification: Performance of Alias: time 0.0007362/0.007353, allocations: 0.5966 MB / 399.8 MB, free: 41.88 MB / 318.1 MB Notification: Performance of simplify2: time 1.85e-05/0.007381, allocations: 11.36 kB / 399.8 MB, free: 41.88 MB / 318.1 MB Notification: Performance of Events: time 0.0001096/0.007496, allocations: 67.86 kB / 399.8 MB, free: 41.83 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001593/0.007663, allocations: 100.9 kB / 399.9 MB, free: 41.75 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001163/0.007786, allocations: 100.3 kB / 400 MB, free: 41.67 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004785/0.008271, allocations: 416.3 kB / 400.4 MB, free: 41.47 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001958/0.008474, allocations: 212.3 kB / 400.7 MB, free: 41.31 MB / 318.1 MB Notification: Performance of Inline: time 0.0003069/0.008786, allocations: 312.3 kB / 401 MB, free: 41.09 MB / 318.1 MB Notification: Performance of Partitioning: time 2.282e-05/0.008816, allocations: 20.98 kB / 401 MB, free: 41.07 MB / 318.1 MB Notification: Performance of Cleanup: time 2.004e-05/0.00884, allocations: 17.52 kB / 401 MB, free: 41.06 MB / 318.1 MB Notification: Performance of Causalize: time 0.000458/0.009303, allocations: 483.7 kB / 401.5 MB, free: 40.82 MB / 318.1 MB Notification: Performance of Tearing: time 6.172e-06/0.009318, allocations: 160 / 401.5 MB, free: 40.82 MB / 318.1 MB Notification: Performance of Initialization: time 2.8e-07/0.009325, allocations: 4.062 kB / 401.5 MB, free: 40.82 MB / 318.1 MB Notification: Performance of Tearing: time 1.974e-06/0.009333, allocations: 1.125 kB / 401.5 MB, free: 40.82 MB / 318.1 MB Notification: Performance of Categorize: time 8.716e-06/0.009345, allocations: 9.047 kB / 401.5 MB, free: 40.81 MB / 318.1 MB Notification: Performance of Solve: time 0.0001119/0.009461, allocations: 64.78 kB / 401.5 MB, free: 40.79 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0001748/0.009642, allocations: 417.8 kB / 402 MB, free: 40.37 MB / 318.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 3.294e-05/0.009682, allocations: 20.38 kB / 402 MB, free: 40.36 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable sample2.clock.