Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 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.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001163/0.001163, allocations: 115.3 kB / 17.75 MB, free: 5.195 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.001227/0.001227, allocations: 189.9 kB / 18.68 MB, free: 4.27 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.23/1.23, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.092e-05, allocations: 2.281 kB / 351.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002446/0.002475, allocations: 1.735 MB / 353.7 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008391/0.003326, allocations: 0.5415 MB / 354.2 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.906e-05/0.003426, allocations: 7.938 kB / 354.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.797e-05/0.003481, allocations: 7.875 kB / 354.2 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.003619, allocations: 19.84 kB / 354.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.003978, allocations: 102.3 kB / 354.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.004136, allocations: 95.75 kB / 354.4 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.004258, allocations: 29.11 kB / 354.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-05/0.004348, allocations: 43.84 kB / 354.5 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.004416, allocations: 43.77 kB / 354.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.004443, allocations: 8 kB / 354.6 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.004462, allocations: 7.938 kB / 354.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001197/0.004586, allocations: 165.9 kB / 354.7 MB, free: 488 kB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 5.145e-05/0.004644, allocations: 114.2 kB / 354.8 MB, free: 372 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.004676, allocations: 11.94 kB / 354.9 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.635e-05/0.004707, allocations: 11.94 kB / 354.9 MB, free: 348 kB / 286.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.0005083/0.005221, allocations: 0.5426 MB / 355.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.967e-05/0.005288, allocations: 23.92 kB / 355.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001987/0.005494, allocations: 240.2 kB / 355.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simplify1: time 2.453e-05/0.005525, allocations: 11.98 kB / 355.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of Alias: time 0.0004806/0.006011, allocations: 391.5 kB / 356.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simplify2: time 1.288e-05/0.006034, allocations: 11.98 kB / 356.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Events: time 5.824e-05/0.006097, allocations: 23.97 kB / 356.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001852/0.00629, allocations: 161.7 kB / 356.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001027/0.006403, allocations: 100.2 kB / 356.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004037/0.006812, allocations: 379.9 kB / 356.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001805/0.007001, allocations: 220.1 kB / 356.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of Inline: time 0.0003068/0.007316, allocations: 347.1 kB / 357.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of Partitioning: time 2.737e-05/0.00735, allocations: 32.05 kB / 357.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of Cleanup: time 2.779e-05/0.007384, allocations: 35.88 kB / 357.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009308/0.00832, allocations: 0.8993 MB / 358.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of Tearing: time 7.424e-06/0.008337, allocations: 4 kB / 358.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Initialization: time 3.21e-07/0.008343, allocations: 0 / 358.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Tearing: time 1.252e-06/0.008348, allocations: 0 / 358.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Categorize: time 1.015e-05/0.008362, allocations: 3.938 kB / 358.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Solve: time 0.0001011/0.008468, allocations: 65.62 kB / 358.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of Jacobian: time 3.557e-06/0.008478, allocations: 0 / 358.3 MB, free: 12.56 MB / 302.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 7.402e-05/0.008556, allocations: 35.23 kB / 358.3 MB, free: 12.54 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.