Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 111.7 kB / 17.14 MB, free: 5.93 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.001354/0.001354, allocations: 195 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.503/1.503, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.07744/0.07744, allocations: 12.6 MB / 283.9 MB, free: 15.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.283e-05, allocations: 3.406 kB / 394.8 MB, free: 45.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1): time 0.003076/0.003117, allocations: 1.737 MB / 396.5 MB, free: 44.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.004211, allocations: 0.5857 MB / 397.1 MB, free: 43.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.004331, allocations: 6.531 kB / 397.1 MB, free: 43.94 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.21e-05/0.004399, allocations: 9.75 kB / 397.1 MB, free: 43.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.004577, allocations: 12.38 kB / 397.1 MB, free: 43.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.004989, allocations: 98.75 kB / 397.2 MB, free: 43.87 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.005214, allocations: 106 kB / 397.3 MB, free: 43.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.005364, allocations: 31.28 kB / 397.4 MB, free: 43.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.005498, allocations: 48.98 kB / 397.4 MB, free: 43.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.005588, allocations: 42.61 kB / 397.4 MB, free: 43.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.005621, allocations: 11.02 kB / 397.5 MB, free: 43.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.233e-05/0.005648, allocations: 6.969 kB / 397.5 MB, free: 43.75 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001531/0.005806, allocations: 161.9 kB / 397.6 MB, free: 43.64 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.353e-05/0.005875, allocations: 113.3 kB / 397.7 MB, free: 43.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.005914, allocations: 13.28 kB / 397.7 MB, free: 43.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.521e-05/0.005945, allocations: 3.781 kB / 397.7 MB, free: 43.55 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: 21 (21) * Number of variables: 21 (21) Notification: Performance of Bindings: time 0.0005639/0.006514, allocations: 0.5364 MB / 398.3 MB, free: 43.07 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.508e-05/0.006594, allocations: 19.17 kB / 398.3 MB, free: 43.06 MB / 318.1 MB Notification: Performance of Early Inline: time 0.000288/0.006889, allocations: 256.1 kB / 398.5 MB, free: 42.88 MB / 318.1 MB Notification: Performance of simplify1: time 3.42e-05/0.006929, allocations: 12.48 kB / 398.6 MB, free: 42.88 MB / 318.1 MB Notification: Performance of Alias: time 0.0004741/0.007409, allocations: 356.2 kB / 398.9 MB, free: 42.59 MB / 318.1 MB Notification: Performance of simplify2: time 1.819e-05/0.007437, allocations: 10.66 kB / 398.9 MB, free: 42.59 MB / 318.1 MB Notification: Performance of Events: time 7.426e-05/0.007517, allocations: 29.38 kB / 398.9 MB, free: 42.57 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002377/0.007761, allocations: 160.6 kB / 399.1 MB, free: 42.46 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000154/0.007922, allocations: 99.3 kB / 399.2 MB, free: 42.4 MB / 318.1 MB Notification: Performance of Causalize: time 0.000707/0.008636, allocations: 0.491 MB / 399.7 MB, free: 42.18 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002537/0.008899, allocations: 227.2 kB / 399.9 MB, free: 42.02 MB / 318.1 MB Notification: Performance of Inline: time 0.000421/0.009326, allocations: 345.6 kB / 400.3 MB, free: 41.79 MB / 318.1 MB Notification: Performance of Partitioning: time 3.552e-05/0.00937, allocations: 30.84 kB / 400.3 MB, free: 41.76 MB / 318.1 MB Notification: Performance of Cleanup: time 4.577e-05/0.009421, allocations: 21.75 kB / 400.3 MB, free: 41.75 MB / 318.1 MB Notification: Performance of Causalize: time 0.001131/0.01056, allocations: 0.9929 MB / 401.3 MB, free: 41.27 MB / 318.1 MB Notification: Performance of Tearing: time 7.804e-06/0.01058, allocations: 9.422 kB / 401.3 MB, free: 41.26 MB / 318.1 MB Notification: Performance of Initialization: time 3.5e-07/0.01058, allocations: 0 / 401.3 MB, free: 41.26 MB / 318.1 MB Notification: Performance of Tearing: time 2.174e-06/0.01059, allocations: 0 / 401.3 MB, free: 41.26 MB / 318.1 MB Notification: Performance of Categorize: time 1.323e-05/0.01061, allocations: 1.672 kB / 401.3 MB, free: 41.26 MB / 318.1 MB Notification: Performance of Solve: time 0.0001275/0.01074, allocations: 58.89 kB / 401.4 MB, free: 41.25 MB / 318.1 MB Notification: Performance of Jacobian: time 3.898e-06/0.01075, allocations: 3.938 kB / 401.4 MB, free: 41.24 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: .................... 10 (10) {upSample2.b_super, upSample2.y, upSample2.u_super, upSample2.dummy, upSample2.b, upSample1.u_super, upSample1.b_super, upSample1.y, upSample1.b, upSample1.dummy} * 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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 10 (algorithm:0, when:10, 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: ........... 27 (scalar:27, 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 9.717e-05/0.01085, allocations: 25.97 kB / 401.4 MB, free: 41.22 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.