Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample2.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.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample2") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 107.1 kB / 17.13 MB, free: 6.055 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.001601/0.001601, allocations: 195.1 kB / 18.07 MB, free: 5.129 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.442/1.442, allocations: 205.1 MB / 224 MB, free: 12.22 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.07798/0.07798, allocations: 12.59 MB / 283.9 MB, free: 15.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.684e-05, allocations: 2.281 kB / 394.8 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample2): time 0.003/0.003036, allocations: 1.604 MB / 396.4 MB, free: 44.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004929/0.003543, allocations: 184 kB / 396.5 MB, free: 44.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.003658, allocations: 7.625 kB / 396.6 MB, free: 44.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.003778, allocations: 10.69 kB / 396.6 MB, free: 44.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.00394, allocations: 17.69 kB / 396.6 MB, free: 44.17 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.004183, allocations: 49.05 kB / 396.6 MB, free: 44.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.004371, allocations: 73.92 kB / 396.7 MB, free: 44.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.004549, allocations: 51.16 kB / 396.7 MB, free: 44.08 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.114e-05/0.004606, allocations: 24.02 kB / 396.8 MB, free: 44.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.004693, allocations: 31.69 kB / 396.8 MB, free: 44.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.004731, allocations: 9.625 kB / 396.8 MB, free: 44.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.004754, allocations: 4.812 kB / 396.8 MB, free: 44.05 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.000114/0.004874, allocations: 124.5 kB / 396.9 MB, free: 43.96 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.731e-05/0.004937, allocations: 84.72 kB / 397 MB, free: 43.89 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.004971, allocations: 13.22 kB / 397 MB, free: 43.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.593e-05/0.005002, allocations: 7.016 kB / 397 MB, free: 43.88 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: 17 (17) * Number of variables: 17 (15) Notification: Performance of Bindings: time 0.000506/0.005513, allocations: 432.3 kB / 397.5 MB, free: 43.48 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.842e-05/0.005588, allocations: 23.55 kB / 397.5 MB, free: 43.46 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001776/0.00577, allocations: 174.1 kB / 397.7 MB, free: 43.33 MB / 318.1 MB Notification: Performance of simplify1: time 2.462e-05/0.005802, allocations: 16.11 kB / 397.7 MB, free: 43.32 MB / 318.1 MB Notification: Performance of Alias: time 0.0004159/0.006223, allocations: 302.6 kB / 398 MB, free: 43.05 MB / 318.1 MB Notification: Performance of simplify2: time 1.424e-05/0.006247, allocations: 7.734 kB / 398 MB, free: 43.05 MB / 318.1 MB Notification: Performance of Events: time 8.708e-05/0.006339, allocations: 34.11 kB / 398 MB, free: 43.03 MB / 318.1 MB Notification: Performance of Detect States: time 9.451e-05/0.00644, allocations: 63.28 kB / 398.1 MB, free: 42.97 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001139/0.006559, allocations: 87.78 kB / 398.2 MB, free: 42.89 MB / 318.1 MB Notification: Performance of Causalize: time 0.000477/0.007043, allocations: 367 kB / 398.5 MB, free: 42.72 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.000175/0.007229, allocations: 151.5 kB / 398.7 MB, free: 42.6 MB / 318.1 MB Notification: Performance of Inline: time 0.0002727/0.007508, allocations: 242.9 kB / 398.9 MB, free: 42.41 MB / 318.1 MB Notification: Performance of Partitioning: time 2.095e-05/0.007536, allocations: 19.95 kB / 398.9 MB, free: 42.39 MB / 318.1 MB Notification: Performance of Cleanup: time 1.571e-05/0.007556, allocations: 10.78 kB / 398.9 MB, free: 42.38 MB / 318.1 MB Notification: Performance of Causalize: time 0.00043/0.007991, allocations: 364 kB / 399.3 MB, free: 42.21 MB / 318.1 MB Notification: Performance of Tearing: time 0.0002941/0.008295, allocations: 316 kB / 399.6 MB, free: 41.94 MB / 318.1 MB Notification: Performance of Initialization: time 4.01e-07/0.008305, allocations: 1.156 kB / 399.6 MB, free: 41.94 MB / 318.1 MB Notification: Performance of Tearing: time 1.934e-06/0.008313, allocations: 256 / 399.6 MB, free: 41.94 MB / 318.1 MB Notification: Performance of Categorize: time 1.236e-05/0.008331, allocations: 2.25 kB / 399.6 MB, free: 41.94 MB / 318.1 MB Notification: Performance of Solve: time 9.773e-05/0.008433, allocations: 38.97 kB / 399.6 MB, free: 41.92 MB / 318.1 MB Notification: Performance of Jacobian: time 4.749e-06/0.008445, allocations: 1.125 kB / 399.6 MB, free: 41.92 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: ......... 3 * 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: ................. 13 (11) {sample1.u, sample1.y, hold.u, hold.y, sample2.y, sum1.u, sum1.y, sum2.u, $SEV_1, $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: ........... 14 (scalar:14, 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: ........... 8 (scalar:8, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 4.366e-05/0.008493, allocations: 17.77 kB / 399.7 MB, free: 41.91 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.