Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001083, allocations: 112.1 kB / 17.14 MB, free: 6.039 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.000961/0.0009614, allocations: 199 kB / 18.08 MB, free: 5.113 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.489/1.489, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.08013/0.08013, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.663e-05, allocations: 2.281 kB / 394.8 MB, free: 45.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002488/0.002523, allocations: 1.038 MB / 395.8 MB, free: 44.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005016/0.003038, allocations: 130.3 kB / 395.9 MB, free: 44.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.003177, allocations: 6.594 kB / 395.9 MB, free: 44.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.003308, allocations: 14.08 kB / 396 MB, free: 44.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.003432, allocations: 12.38 kB / 396 MB, free: 44.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.003698, allocations: 40.64 kB / 396 MB, free: 44.65 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.003878, allocations: 84 kB / 396.1 MB, free: 44.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.004033, allocations: 47.28 kB / 396.1 MB, free: 44.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.796e-05/0.004078, allocations: 32.27 kB / 396.2 MB, free: 44.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.004137, allocations: 32.36 kB / 396.2 MB, free: 44.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.004163, allocations: 3.594 kB / 396.2 MB, free: 44.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.004181, allocations: 7.094 kB / 396.2 MB, free: 44.55 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001045/0.004289, allocations: 136.7 kB / 396.3 MB, free: 44.45 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 4.918e-05/0.004344, allocations: 91.72 kB / 396.4 MB, free: 44.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.004382, allocations: 7.781 kB / 396.4 MB, free: 44.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.05e-05/0.004408, allocations: 10.41 kB / 396.5 MB, free: 44.37 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 (17) Notification: Performance of Bindings: time 0.0005263/0.004939, allocations: 485.6 kB / 396.9 MB, free: 43.93 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.665e-05/0.005023, allocations: 25.77 kB / 397 MB, free: 43.91 MB / 318.1 MB Notification: Performance of Early Inline: time 0.000191/0.00522, allocations: 199.1 kB / 397.1 MB, free: 43.76 MB / 318.1 MB Notification: Performance of simplify1: time 2.837e-05/0.005254, allocations: 11.52 kB / 397.2 MB, free: 43.75 MB / 318.1 MB Notification: Performance of Alias: time 0.0004758/0.005735, allocations: 342.4 kB / 397.5 MB, free: 43.48 MB / 318.1 MB Notification: Performance of simplify2: time 1.547e-05/0.00576, allocations: 12.86 kB / 397.5 MB, free: 43.47 MB / 318.1 MB Notification: Performance of Events: time 2.394e-05/0.005789, allocations: 16.2 kB / 397.5 MB, free: 43.46 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001215/0.005915, allocations: 60.11 kB / 397.6 MB, free: 43.4 MB / 318.1 MB Notification: Performance of Partitioning: time 8.583e-05/0.006008, allocations: 53.97 kB / 397.6 MB, free: 43.37 MB / 318.1 MB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (9/11) ****************************** (1) [ALGB] (1) Real unitDelay1.y (2) [ALGB] (1) Real add.y (3) [ALGB] (1) Real add1.y (4) [ALGB] (1) protected Clock periodicClock.c (5) [DISS] (2) Real[2] assignClock1.y (6) [ALGB] (1) Real unitDelay2.u (start = unitDelay2.y_start) (7) [ALGB] (1) Real unitDelay1.u (start = unitDelay1.y_start) (8) [ALGB] (2) Real[2] assignClock1.u (9) [ALGB] (1) Real unitDelay2.y system eqns Equations (10/11) ******************************* (1) [SCAL] (1) add1.y = assignClock1.u[2] ($RES_SIM_11) (2) [SCAL] (1) unitDelay2.y = previous(unitDelay2.u) ($RES_$AUX_18) (3) [SCAL] (1) add.y = assignClock1.u[1] ($RES_SIM_12) (4) [WHEN] (2)when periodicClock.c then (4) [----] assignClock1.y := assignClock1.u (4) [----] end when; (5) [SCAL] (1) unitDelay1.y = previous(unitDelay1.u) ($RES_$AUX_19) (6) [SCAL] (1) add1.y = add1.k1 * const1.k + add1.k2 * unitDelay2.y ($RES_SIM_2) (7) [SCAL] (1) assignClock1.y[1] = unitDelay1.u ($RES_SIM_9) (8) [SCAL] (1) periodicClock.c = Clock(periodicClock.factor, 1000) ($RES_SIM_8) (9) [SCAL] (1) assignClock1.y[2] = unitDelay2.u ($RES_SIM_10) (10) [SCAL] (1) add.y = add.k1 * unitDelay1.y + add.k2 * const.k ($RES_SIM_5) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 11 var 2 --> eqn 3 var 3 --> eqn 7 var 4 --> eqn 9 var 5 --> eqn 8 var 6 --> eqn 5 var 7 --> eqn 10 var 8 --> eqn 6 var 9 --> eqn 4 var 10 --> eqn 1 var 11 --> eqn 2 equation to variable ********************** eqn 1 --> var 10 eqn 2 --> var 11 eqn 3 --> var 2 eqn 4 --> var 9 eqn 5 --> var 6 eqn 6 --> var 8 eqn 7 --> var 3 eqn 8 --> var 5 eqn 9 --> var 4 eqn 10 --> var 7 eqn 11 --> var 1