Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked.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.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 109.4 kB / 17.14 MB, free: 5.934 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.001196/0.001196, allocations: 193.4 kB / 18.07 MB, free: 5.016 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.529/1.529, allocations: 205.1 MB / 224 MB, free: 12.18 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.07415/0.07415, allocations: 12.6 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.343e-05, allocations: 5.562 kB / 394.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked): time 0.002715/0.002747, allocations: 1.546 MB / 396.3 MB, free: 44.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009662/0.003725, allocations: 0.5055 MB / 396.8 MB, free: 43.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.003826, allocations: 1.562 kB / 396.8 MB, free: 43.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.113e-05/0.003885, allocations: 4.828 kB / 396.8 MB, free: 43.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.004036, allocations: 7.812 kB / 396.8 MB, free: 43.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.004305, allocations: 41.77 kB / 396.9 MB, free: 43.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.004471, allocations: 43.44 kB / 396.9 MB, free: 43.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.004601, allocations: 19.25 kB / 396.9 MB, free: 43.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.483e-05/0.004683, allocations: 18.7 kB / 397 MB, free: 43.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.004741, allocations: 18.86 kB / 397 MB, free: 43.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.004763, allocations: 3.125 kB / 397 MB, free: 43.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.004778, allocations: 3.531 kB / 397 MB, free: 43.9 MB / 318.1 MB Notification: Performance of combineBinaries: time 7.889e-05/0.004861, allocations: 66.78 kB / 397.1 MB, free: 43.85 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.12e-05/0.004887, allocations: 53.41 kB / 397.1 MB, free: 43.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.004907, allocations: 5.75 kB / 397.1 MB, free: 43.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.627e-05/0.004929, allocations: 5.812 kB / 397.1 MB, free: 43.8 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: 6 (6) * Number of variables: 6 (6) Notification: Performance of Bindings: time 0.0003579/0.005291, allocations: 311.7 kB / 397.4 MB, free: 43.47 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.478e-05/0.005372, allocations: 21.89 kB / 397.4 MB, free: 43.46 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001341/0.005513, allocations: 107.8 kB / 397.5 MB, free: 43.36 MB / 318.1 MB Notification: Performance of simplify1: time 2.26e-05/0.005542, allocations: 4.109 kB / 397.5 MB, free: 43.36 MB / 318.1 MB Notification: Performance of Alias: time 0.0003109/0.005858, allocations: 169.7 kB / 397.7 MB, free: 43.2 MB / 318.1 MB Notification: Performance of simplify2: time 1.321e-05/0.00588, allocations: 12.88 kB / 397.7 MB, free: 43.19 MB / 318.1 MB Notification: Performance of Events: time 6.334e-05/0.005948, allocations: 18.06 kB / 397.7 MB, free: 43.18 MB / 318.1 MB Notification: Performance of Detect States: time 6.842e-05/0.006023, allocations: 50.31 kB / 397.8 MB, free: 43.12 MB / 318.1 MB Notification: Performance of Partitioning: time 6.554e-05/0.006095, allocations: 46.38 kB / 397.8 MB, free: 43.08 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001992/0.0063, allocations: 161 kB / 398 MB, free: 43 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 9.116e-05/0.006399, allocations: 108.1 kB / 398.1 MB, free: 42.9 MB / 318.1 MB Notification: Performance of Inline: time 0.0001219/0.006528, allocations: 139.5 kB / 398.2 MB, free: 42.78 MB / 318.1 MB Notification: Performance of Partitioning: time 1.377e-05/0.006548, allocations: 17.06 kB / 398.3 MB, free: 42.76 MB / 318.1 MB Notification: Performance of Cleanup: time 1.148e-05/0.006564, allocations: 6.406 kB / 398.3 MB, free: 42.75 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001974/0.006766, allocations: 175.9 kB / 398.4 MB, free: 42.66 MB / 318.1 MB Notification: Performance of Tearing: time 7.714e-06/0.006783, allocations: 5.188 kB / 398.4 MB, free: 42.66 MB / 318.1 MB Notification: Performance of Initialization: time 3.1e-07/0.006788, allocations: 0 / 398.4 MB, free: 42.66 MB / 318.1 MB Notification: Performance of Tearing: time 3.316e-06/0.006796, allocations: 1.25 kB / 398.4 MB, free: 42.66 MB / 318.1 MB Notification: Performance of Categorize: time 8.847e-06/0.006809, allocations: 3.938 kB / 398.4 MB, free: 42.65 MB / 318.1 MB Notification: Performance of Solve: time 5.15e-05/0.006865, allocations: 17.42 kB / 398.5 MB, free: 42.65 MB / 318.1 MB Notification: Performance of Jacobian: time 4.077e-06/0.006875, allocations: 4 kB / 398.5 MB, free: 42.64 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: ............... 0 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 6 (scalar:6, 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: ........... 6 (scalar:6, 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.627e-05/0.006915, allocations: 21.55 kB / 398.5 MB, free: 42.63 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.