Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 109.5 kB / 17.7 MB, free: 5.379 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.001289/0.001289, allocations: 192.7 kB / 18.64 MB, free: 4.449 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.261/1.261, allocations: 222.9 MB / 242.3 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.543e-05/3.565e-05, allocations: 6.219 kB / 302 MB, free: 5.18 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002174/0.00223, allocations: 0.885 MB / 302.9 MB, free: 4.309 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.002618, allocations: 148.3 kB / 303.1 MB, free: 4.164 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.002711, allocations: 4 kB / 303.1 MB, free: 4.16 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.00282, allocations: 15.02 kB / 303.1 MB, free: 4.148 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.002951, allocations: 15.88 kB / 303.1 MB, free: 4.133 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.003169, allocations: 50.38 kB / 303.1 MB, free: 4.086 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.003321, allocations: 81.38 kB / 303.2 MB, free: 4.008 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.003479, allocations: 47.98 kB / 303.3 MB, free: 3.961 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.003527, allocations: 19.92 kB / 303.3 MB, free: 3.941 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.003577, allocations: 35.78 kB / 303.3 MB, free: 3.906 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.003603, allocations: 8 kB / 303.3 MB, free: 3.898 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.003624, allocations: 8 kB / 303.3 MB, free: 3.891 MB / 238.1 MB Notification: Performance of combineBinaries: time 9.529e-05/0.003723, allocations: 126.3 kB / 303.5 MB, free: 3.766 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 5.098e-05/0.00378, allocations: 86.69 kB / 303.5 MB, free: 3.68 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.003813, allocations: 7.938 kB / 303.5 MB, free: 3.672 MB / 238.1 MB Notification: Performance of FrontEnd: time 2.801e-05/0.003845, allocations: 11.94 kB / 303.6 MB, free: 3.66 MB / 238.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 (18) * Number of variables: 19 (15) Notification: Performance of Bindings: time 0.000477/0.004327, allocations: 433 kB / 304 MB, free: 3.137 MB / 238.1 MB Notification: Performance of FunctionAlias: time 6.364e-05/0.004401, allocations: 39.81 kB / 304 MB, free: 3.098 MB / 238.1 MB Notification: Performance of Early Inline: time 0.0001589/0.004567, allocations: 176.4 kB / 304.2 MB, free: 2.898 MB / 238.1 MB Notification: Performance of simplify1: time 1.405e-05/0.004587, allocations: 7.984 kB / 304.2 MB, free: 2.891 MB / 238.1 MB Notification: Performance of Alias: time 0.000388/0.004981, allocations: 313.9 kB / 304.5 MB, free: 2.508 MB / 238.1 MB Notification: Performance of simplify2: time 8.466e-06/0.004998, allocations: 7.984 kB / 304.5 MB, free: 2.5 MB / 238.1 MB Notification: Performance of Events: time 1.595e-05/0.005019, allocations: 8 kB / 304.5 MB, free: 2.492 MB / 238.1 MB Notification: Performance of Detect States: time 0.0001284/0.005152, allocations: 69.62 kB / 304.6 MB, free: 2.41 MB / 238.1 MB Notification: Performance of Partitioning: time 7.792e-05/0.005237, allocations: 64.11 kB / 304.7 MB, free: 2.34 MB / 238.1 MB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (11/15) ******************************* (1) [DISC] (1) Integer sum2.y (2) [DISC] (1) Integer unitDelay1.y (3) [DISC] (2) Integer[2] sum1.u (4) [ALGB] (1) protected Clock periodicClock.c (5) [DISC] (2) Integer[2] sum2.u (6) [DISS] (2) Integer[2] assignClock1.y (7) [DISC] (1) Integer unitDelay2.u (start = unitDelay2.y_start) (8) [DISC] (1) Integer unitDelay1.u (start = unitDelay1.y_start) (9) [DISC] (1) Integer sum1.y (10) [DISC] (2) Integer[2] assignClock1.u (11) [DISC] (1) Integer unitDelay2.y system eqns Equations (14/15) ******************************* (1) [SCAL] (1) unitDelay2.y = sum2.u[2] ($RES_SIM_11) (2) [WHEN] (2)when periodicClock.c then (2) [----] assignClock1.y := assignClock1.u (2) [----] end when; (3) [SCAL] (1) unitDelay2.y = previous(unitDelay2.u) ($RES_$AUX_18) (4) [SCAL] (1) const1.k = sum2.u[1] ($RES_SIM_12) (5) [SCAL] (1) unitDelay1.y = previous(unitDelay1.u) ($RES_$AUX_19) (6) [SCAL] (1) const.k = sum1.u[2] ($RES_SIM_13) (7) [SCAL] (1) unitDelay1.y = sum1.u[1] ($RES_SIM_14) (8) [SCAL] (1) sum1.y = sum1.k * sum1.u ($RES_SIM_1) (9) [SCAL] (1) assignClock1.y[2] = unitDelay2.u ($RES_SIM_15) (10) [SCAL] (1) sum2.y = sum2.k * sum2.u ($RES_SIM_0) (11) [SCAL] (1) assignClock1.y[1] = unitDelay1.u ($RES_SIM_16) (12) [SCAL] (1) sum2.y = assignClock1.u[2] ($RES_SIM_9) (13) [SCAL] (1) periodicClock.c = Clock(periodicClock.factor, 1000) ($RES_SIM_8) (14) [SCAL] (1) sum1.y = assignClock1.u[1] ($RES_SIM_10) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 13 var 2 --> eqn 8 var 3 --> eqn 9 var 4 --> eqn 7 var 5 --> eqn 14 var 6 --> eqn 5 var 7 --> eqn 11 var 8 --> eqn 12 var 9 --> eqn 10 var 10 --> eqn 4 var 11 --> eqn 6 var 12 --> eqn 15 var 13 --> eqn 3 var 14 --> eqn 2 var 15 --> eqn 1 equation to variable ********************** eqn 1 --> var 15 eqn 2 --> var 14 eqn 3 --> var 13 eqn 4 --> var 10 eqn 5 --> var 6 eqn 6 --> var 11 eqn 7 --> var 4 eqn 8 --> var 2 eqn 9 --> var 3 eqn 10 --> var 9 eqn 11 --> var 7 eqn 12 --> var 8 eqn 13 --> var 1 eqn 14 --> var 5 eqn 15 --> var 12