Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample.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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|and1.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|and1.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 109.9 kB / 17.14 MB, free: 5.914 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.001109/0.001109, allocations: 200.1 kB / 18.07 MB, free: 4.992 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.494/1.494, allocations: 205.1 MB / 223.9 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.07114/0.07114, allocations: 12.59 MB / 283.9 MB, free: 15.4 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.332e-05, allocations: 2.281 kB / 394.8 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.UpSample): time 0.003481/0.003512, allocations: 1.979 MB / 396.7 MB, free: 44.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.005359, allocations: 1.03 MB / 397.8 MB, free: 43.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.005604, allocations: 8.312 kB / 397.8 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.006265, allocations: 154.4 kB / 397.9 MB, free: 43.29 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.006655, allocations: 121.8 kB / 398.1 MB, free: 43.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.007362, allocations: 215.3 kB / 398.3 MB, free: 43.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.007704, allocations: 244.5 kB / 398.5 MB, free: 43.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.007864, allocations: 50.5 kB / 398.5 MB, free: 42.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.008009, allocations: 95.28 kB / 398.6 MB, free: 42.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.008154, allocations: 96.48 kB / 398.7 MB, free: 42.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.008195, allocations: 12.88 kB / 398.7 MB, free: 42.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.008344, allocations: 61.58 kB / 398.8 MB, free: 42.88 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002042/0.008555, allocations: 297.8 kB / 399.1 MB, free: 42.68 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.857e-05/0.00865, allocations: 187.1 kB / 399.3 MB, free: 42.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.008701, allocations: 28.94 kB / 399.3 MB, free: 42.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.891e-05/0.008755, allocations: 9.578 kB / 399.3 MB, free: 42.52 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: 27 (27) * Number of variables: 27 (27) Notification: Performance of Bindings: time 0.0007563/0.009516, allocations: 0.7925 MB / 400.1 MB, free: 41.88 MB / 318.1 MB Notification: Performance of FunctionAlias: time 2.839e-05/0.009552, allocations: 16.94 kB / 400.1 MB, free: 41.87 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002848/0.009841, allocations: 315.4 kB / 400.4 MB, free: 41.66 MB / 318.1 MB Notification: Performance of simplify1: time 2.951e-05/0.009878, allocations: 20.81 kB / 400.5 MB, free: 41.65 MB / 318.1 MB Notification: Performance of Alias: time 0.0005114/0.0104, allocations: 475.3 kB / 400.9 MB, free: 41.29 MB / 318.1 MB Notification: Performance of simplify2: time 1.694e-05/0.01042, allocations: 15.62 kB / 400.9 MB, free: 41.28 MB / 318.1 MB Notification: Performance of Events: time 0.0001097/0.01054, allocations: 60.06 kB / 401 MB, free: 41.24 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002419/0.01079, allocations: 220.8 kB / 401.2 MB, free: 41.09 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001582/0.01095, allocations: 144.1 kB / 401.4 MB, free: 40.99 MB / 318.1 MB Notification: Performance of Causalize: time 0.0007205/0.01168, allocations: 0.7049 MB / 402.1 MB, free: 40.63 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002217/0.01191, allocations: 302 kB / 402.4 MB, free: 40.39 MB / 318.1 MB Notification: Performance of Inline: time 0.0005542/0.01247, allocations: 0.6076 MB / 403 MB, free: 39.93 MB / 318.1 MB Notification: Performance of Partitioning: time 4.624e-05/0.01253, allocations: 64.44 kB / 403 MB, free: 39.88 MB / 318.1 MB Notification: Performance of Cleanup: time 2.782e-05/0.01256, allocations: 26.31 kB / 403 MB, free: 39.86 MB / 318.1 MB Notification: Performance of Causalize: time 0.00181/0.01438, allocations: 1.932 MB / 405 MB, free: 38.84 MB / 318.1 MB Notification: Performance of Tearing: time 6.933e-06/0.01439, allocations: 0 / 405 MB, free: 38.84 MB / 318.1 MB Notification: Performance of Initialization: time 3.51e-07/0.0144, allocations: 5.344 kB / 405 MB, free: 38.83 MB / 318.1 MB Notification: Performance of Tearing: time 2.094e-06/0.01441, allocations: 0 / 405 MB, free: 38.83 MB / 318.1 MB Notification: Performance of Categorize: time 1.141e-05/0.01442, allocations: 1.562 kB / 405 MB, free: 38.83 MB / 318.1 MB Notification: Performance of Solve: time 0.0001615/0.01459, allocations: 109.9 kB / 405.1 MB, free: 38.77 MB / 318.1 MB Notification: Performance of Jacobian: time 3.176e-06/0.0146, allocations: 0 / 405.1 MB, free: 38.77 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: .................... 12 (12) {table1.combiTimeTable.nextTimeEvent, table1.combiTimeTable.nextTimeEventScaled, 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: ................. 9 (9) {sample.u, upSample1.u, and1.y, $SEV_4, $SEV_3, $SEV_2, $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: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 12 (algorithm:0, when:12, 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: ........... 42 (scalar:40, array:1, record:1) * Number of multi strong components: ............ 2 (algorithm:2, 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 8.189e-05/0.01468, allocations: 37.81 kB / 405.1 MB, free: 38.75 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.