Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.001328/0.001328, allocations: 114.1 kB / 17.14 MB, free: 5.902 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.001441/0.001441, allocations: 200.2 kB / 18.08 MB, free: 4.977 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.434/1.434, 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.07448/0.07448, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.671e-05, allocations: 2.281 kB / 394.8 MB, free: 45.45 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002391/0.002426, allocations: 0.9012 MB / 395.7 MB, free: 44.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004272/0.002866, allocations: 137.9 kB / 395.8 MB, free: 44.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.002996, allocations: 3.625 kB / 395.8 MB, free: 44.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.003149, allocations: 14.92 kB / 395.8 MB, free: 44.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.003312, allocations: 21.23 kB / 395.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.003575, allocations: 45.92 kB / 395.9 MB, free: 44.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.003793, allocations: 83.69 kB / 396 MB, free: 44.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.003993, allocations: 54.8 kB / 396 MB, free: 44.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.004061, allocations: 33.39 kB / 396 MB, free: 44.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.004124, allocations: 35.11 kB / 396.1 MB, free: 44.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.004158, allocations: 5.781 kB / 396.1 MB, free: 44.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.004182, allocations: 5.844 kB / 396.1 MB, free: 44.64 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001245/0.004311, allocations: 119.4 kB / 396.2 MB, free: 44.55 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.511e-05/0.004381, allocations: 86.77 kB / 396.3 MB, free: 44.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.00442, allocations: 12.38 kB / 396.3 MB, free: 44.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.498e-05/0.00445, allocations: 7.938 kB / 396.3 MB, free: 44.48 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: 19 (18) * Number of variables: 19 (15) Notification: Performance of Bindings: time 0.0006001/0.005054, allocations: 442.5 kB / 396.7 MB, free: 44.07 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.664e-05/0.005147, allocations: 32.89 kB / 396.8 MB, free: 44.05 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001954/0.005349, allocations: 177.2 kB / 397 MB, free: 43.91 MB / 318.1 MB Notification: Performance of simplify1: time 1.817e-05/0.005372, allocations: 8.312 kB / 397 MB, free: 43.91 MB / 318.1 MB Notification: Performance of Alias: time 0.0004028/0.005781, allocations: 300.2 kB / 397.3 MB, free: 43.64 MB / 318.1 MB Notification: Performance of simplify2: time 1.158e-05/0.005802, allocations: 8.812 kB / 397.3 MB, free: 43.64 MB / 318.1 MB Notification: Performance of Events: time 1.909e-05/0.005826, allocations: 7.328 kB / 397.3 MB, free: 43.64 MB / 318.1 MB Notification: Performance of Detect States: time 0.000117/0.005947, allocations: 74.41 kB / 397.3 MB, free: 43.57 MB / 318.1 MB Notification: Performance of Partitioning: time 9.319e-05/0.006048, allocations: 70.75 kB / 397.4 MB, free: 43.52 MB / 318.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