Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) 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(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 106.5 kB / 16.37 MB, free: 6.355 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.00108/0.001081, allocations: 190.8 kB / 17.3 MB, free: 5.91 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.493/1.493, allocations: 222.9 MB / 241 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8327/0.8327, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.511e-05, allocations: 2.281 kB / 0.5031 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003159/0.003202, allocations: 1.774 MB / 0.5049 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.004932, allocations: 1.092 MB / 0.5059 GB, free: 8.148 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.005026, allocations: 4 kB / 0.5059 GB, free: 8.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.005327, allocations: 55.67 kB / 0.506 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.005569, allocations: 87.66 kB / 0.5061 GB, free: 8.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.006171, allocations: 223.3 kB / 0.5063 GB, free: 7.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.006395, allocations: 163.6 kB / 0.5064 GB, free: 7.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.006518, allocations: 25.05 kB / 0.5065 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.006637, allocations: 71.75 kB / 0.5065 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/0.006737, allocations: 51.77 kB / 0.5066 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.006765, allocations: 8 kB / 0.5066 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.006902, allocations: 75.88 kB / 0.5067 GB, free: 7.395 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0001403/0.007051, allocations: 166 kB / 0.5068 GB, free: 7.23 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 5.85e-05/0.007117, allocations: 106.4 kB / 0.5069 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.00716, allocations: 19.94 kB / 0.5069 GB, free: 7.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.347e-05/0.007188, allocations: 7.938 kB / 0.5069 GB, free: 7.098 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (9) * Number of variables: 10 (9) Notification: Performance of Bindings: time 0.0006406/0.007833, allocations: 0.5466 MB / 0.5075 GB, free: 6.449 MB / 430.1 MB Notification: Performance of FunctionAlias: time 8.609e-05/0.007926, allocations: 27.91 kB / 0.5075 GB, free: 6.422 MB / 430.1 MB Notification: Performance of Early Inline: time 0.0002323/0.008165, allocations: 216.2 kB / 0.5077 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simplify1: time 2.988e-05/0.008203, allocations: 11.98 kB / 0.5077 GB, free: 6.172 MB / 430.1 MB Notification: Performance of Alias: time 0.0004116/0.00862, allocations: 242.2 kB / 0.5079 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simplify2: time 1.476e-05/0.008645, allocations: 8 kB / 0.508 GB, free: 5.875 MB / 430.1 MB Notification: Performance of Events: time 0.0001006/0.008751, allocations: 47.89 kB / 0.508 GB, free: 5.828 MB / 430.1 MB Notification: Performance of Detect States: time 0.0001929/0.008951, allocations: 106.3 kB / 0.5081 GB, free: 5.715 MB / 430.1 MB Notification: Performance of Partitioning: time 0.0001251/0.009085, allocations: 96.23 kB / 0.5082 GB, free: 5.598 MB / 430.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency intRep.u could not be devided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) intRep.y = fill(intRep.u, 2) ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (12/13) ************************** (1) [ALGB] (1) Real[1] intTab.combiTimeTable.y (2) [DISC] (2) Integer[2] intRep.y (3) [ALGB] (1) Real $FUN_3 (4) [DISC] (1) Boolean $SEV_3 (5) [ALGB] (1) Real $FUN_2 (6) [DISC] (1) Boolean $SEV_2 (7) [ALGB] (1) Real $FUN_1 (8) [DISS] (1) protected discrete Real intTab.combiTimeTable.nextTimeEvent (fixed = true, start = 0.0) (9) [DISC] (1) Integer intRep.u (10) [DISS] (1) protected discrete Real intTab.combiTimeTable.nextTimeEventScaled (fixed = true, start = 0.0) (11) [ALGB] (1) Real intTab.realToInteger.u (12) [DISC] (1) Boolean $TEV_0 System Equations (12/13) ************************** (1) [SCAL] (1) intTab.combiTimeTable.y[1] = intTab.realToInteger.u ($RES_SIM_11) (2) [SCAL] (1) intRep.u = if $SEV_2 then integer($FUN_2) else integer($FUN_3) ($RES_SIM_4) (3) [SCAL] (1) $TEV_0 = $PRE.intTab.combiTimeTable.nextTimeEventScaled ($RES_EVT_15) (4) [ARRY] (2) intRep.y = fill(intRep.u, 2) ($RES_SIM_1) (5) [SCAL] (1) $SEV_2 = intTab.realToInteger.u > 0.0 ($RES_EVT_18) (6) [SCAL] (1) $SEV_3 = time >= $PRE.intTab.combiTimeTable.nextTimeEvent ($RES_EVT_19) (7) [SCAL] (1) $FUN_3 = ceil((-0.5) + intTab.realToInteger.u) ($RES_$AUX_12) (8) [SCAL] (1) $FUN_2 = floor(0.5 + intTab.realToInteger.u) ($RES_$AUX_13) (9) [SCAL] (1) $FUN_1 = Modelica.Blocks.Tables.Internal.getTimeTableValueNoDer(intTab.combiTimeTable.tableID, 1, time, intTab.combiTimeTable.nextTimeEventScaled, $TEV_0) ($RES_$AUX_14) (10) [WHEN] (1)when {$SEV_3, initial()} then (10) [----] intTab.combiTimeTable.nextTimeEventScaled := Modelica.Blocks.Tables.Internal.getNextTimeEvent(intTab.combiTimeTable.tableID, time) (10) [----] end when; (11) [WHEN] (1)when {$SEV_3, initial()} then (11) [----] intTab.combiTimeTable.nextTimeEvent := if intTab.combiTimeTable.nextTimeEventScaled < 1e60 then intTab.combiTimeTable.nextTimeEventScaled else 1e60 (11) [----] end when; (12) [SCAL] (1) intTab.combiTimeTable.y[1] = intTab.combiTimeTable.p_offset[1] + $FUN_1 ($RES_SIM_5)